Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6441 in orxonox.OLD for trunk/src/util/state.h


Ignore:
Timestamp:
Jan 8, 2006, 4:02:30 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: the Hud now scales the Widgets itself

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/util/state.h

    r6222 r6441  
    3939  static inline ObjectManager* getObjectManager() { return State::objectManager; };
    4040
     41  static inline void setResolution(unsigned int resX, unsigned int resY) { State::_resX = resX; State::_resY = resY; };
     42  static inline unsigned int resX() { return State::_resX; };
     43  static inline unsigned int resY() { return State::_resY; };
     44
    4145  /////////////////////////
    4246  /// WORLD_ENTITY_LIST ///
     
    5155  static ObjectManager*         objectManager;      //!< A referenct to the current ObjectManager
    5256
     57  static unsigned int           _resX;              //!< The X Resolution of the screen.
     58  static unsigned int           _resY;              //!< The Y Resolution of the screen.
    5359};
    5460
Note: See TracChangeset for help on using the changeset viewer.