OmegaEngine API
1.0.3
|
Manages shared resources of DirectX-based dialogs More...
Public Member Functions | |
FontNode | GetFontNode (int index) |
Gets a font node from the cache More... | |
TextureNode | GetTextureNode (int index) |
Gets a texture node from the cache More... | |
DialogManager (Engine engine) | |
Sets up the GUI system for usage with a rendering engine More... | |
int | AddFont (string faceName, uint height, FontWeight weight) |
Adds a font to the resource manager More... | |
void | CreateFont (int font) |
Creates a font More... | |
int | AddTexture (string filename) |
Adds a texture to the resource manager More... | |
void | CreateTexture (int tex) |
Creates a texture More... | |
void | OnCreateDevice () |
Called when the device is created More... | |
void | OnLostDevice () |
Called when the device has been lost. More... | |
void | OnResetDevice () |
Called when the device has been reset. More... | |
void | Dispose () |
Unhooks the OmegaGUI system from the Engine and disposes its internal DirectX resources More... | |
Public Attributes | |
Device | Device => Engine.Device |
Gets the DirectX device More... | |
System.Windows.Forms.Control | Target => Engine.Target |
Gets the render target control More... | |
Properties | |
StateBlock | StateBlock [get] |
Sprite | Sprite [get] |
Engine | Engine [get] |
Gets the render engine More... | |
MessageBox | MessageBox [get] |
Gets a Specialized MessageBox dialog More... | |
bool | Disposed [get] |
Has this manager been disposed? More... | |
Manages shared resources of DirectX-based dialogs
|
inline |
Sets up the GUI system for usage with a rendering engine
engine | The rendering engine conaining the Direct3D device |
|
inline |
Adds a font to the resource manager
|
inline |
Adds a texture to the resource manager
|
inline |
Creates a font
|
inline |
Creates a texture
|
inline |
|
inline |
Gets a font node from the cache
|
inline |
Gets a texture node from the cache
|
inline |
Called when the device is created
|
inline |
Called when the device has been lost.
|
inline |
Called when the device has been reset.
Device OmegaGUI.Render.DialogManager.Device => Engine.Device |
Gets the DirectX device
System.Windows.Forms.Control OmegaGUI.Render.DialogManager.Target => Engine.Target |
Gets the render target control
|
get |
Has this manager been disposed?
|
get |
Gets the render engine
|
get |
Gets a Specialized MessageBox dialog