Announcement

Collapse
No announcement yet.

The City Overview screen

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • The City Overview screen

    I guess this screen is not exported yet to python? I can't seem to find it in the Python\Screens folder

  • #2
    As far as I can see there is no city /screen/ as such, its just another set of interface overlays on the main screen(CvMainInterface.py). The updateCityScreen function then seems to handle updating these elements on redraw if that data has changed (by reading from pHeadSelectedCity) and then shows them if CyInterface().isScreenUp() is true.

    Which makes sense, but I can't work out where or how CyInterface().isScreenUp() is set in the first place. Or how one would set pHeadSelectedCity to any arbitrary city - not necessarily the one that is selected.

    Has anyone got any clues? Or is there a reference to the CyInterface class anywhere?

    Comment

    Working...
    X