OmegaEngine API  1.0.3
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
Public Member Functions | Public Attributes | Properties | List of all members
OmegaGUI.Render.DialogManager Class Reference

Manages shared resources of DirectX-based dialogs More...

Inheritance diagram for OmegaGUI.Render.DialogManager:

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, set]
 
Sprite Sprite [get, set]
 
Engine Engine [get]
 Gets the render engine More...
 
MessageBox MessageBox [get]
 Gets a Specialized MessageBox dialog More...
 
bool Disposed [get, set]
 Has this manager been disposed? More...
 

Detailed Description

Manages shared resources of DirectX-based dialogs

Constructor & Destructor Documentation

OmegaGUI.Render.DialogManager.DialogManager ( Engine  engine)
inline

Sets up the GUI system for usage with a rendering engine

Parameters
engineThe rendering engine conaining the Direct3D device

Member Function Documentation

int OmegaGUI.Render.DialogManager.AddFont ( string  faceName,
uint  height,
FontWeight  weight 
)
inline

Adds a font to the resource manager

int OmegaGUI.Render.DialogManager.AddTexture ( string  filename)
inline

Adds a texture to the resource manager

void OmegaGUI.Render.DialogManager.CreateFont ( int  font)
inline

Creates a font

void OmegaGUI.Render.DialogManager.CreateTexture ( int  tex)
inline

Creates a texture

void OmegaGUI.Render.DialogManager.Dispose ( )
inline

Unhooks the OmegaGUI system from the Engine and disposes its internal DirectX resources

FontNode OmegaGUI.Render.DialogManager.GetFontNode ( int  index)
inline

Gets a font node from the cache

TextureNode OmegaGUI.Render.DialogManager.GetTextureNode ( int  index)
inline

Gets a texture node from the cache

void OmegaGUI.Render.DialogManager.OnCreateDevice ( )
inline

Called when the device is created

void OmegaGUI.Render.DialogManager.OnLostDevice ( )
inline

Called when the device has been lost.

void OmegaGUI.Render.DialogManager.OnResetDevice ( )
inline

Called when the device has been reset.

Member Data Documentation

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

Property Documentation

bool OmegaGUI.Render.DialogManager.Disposed
getset

Has this manager been disposed?

Engine OmegaGUI.Render.DialogManager.Engine
get

Gets the render engine

MessageBox OmegaGUI.Render.DialogManager.MessageBox
get

Gets a Specialized MessageBox dialog


The documentation for this class was generated from the following file: