Logo Search packages:      
Sourcecode: scummvm version File versions  Download package

virtual int OSystem::getScreenChangeID (  )  const [inline, virtual]

Return an int value which is changed whenever any screen parameters (like the resolution) change. That is, whenever a EVENT_SCREEN_CHANGED would be sent. You can track this value in your code to detect screen changes in case you do not have full control over the event loop(s) being used (like the GUI code).

an integer which can be used to track screen changes
Backends which generate EVENT_SCREEN_CHANGED events MUST overload this method appropriately.

Definition at line 369 of file system.h.

{ return 0; }

Generated by  Doxygen 1.6.0   Back to index