The 'window' is the distance scale; the white line indicates the approximate distance to the in-focus subject. I believe the lines marked by the red numbers are the distance scale for infrared photography.