UIManager Class |
Namespace: DigitalRune.Game.UI
The UIManager type exposes the following members.
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Update |
Updates the UI.
|
Name | Description | |
---|---|---|
Cursor |
Gets or sets the mouse cursor, overriding the default mouse cursor.
| |
GameForm |
Gets the Form of the XNA Game.
| |
InputService |
Gets the input service.
| |
KeyMap |
Gets or sets the key map that translates Keys to characters.
| |
Screens |
Gets the UIScreens.
|
The most important job of this class is to update the screens. Therefore, Update(TimeSpan) must be called once per frame.
The UIManager monitors the game window orientation and calls InvalidateMeasure when it changes (only relevant on Windows Phone 7).