OmegaEngine API  1.0.3
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]
 
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...
 

Detailed Description

Manages shared resources of DirectX-based dialogs

Constructor & Destructor Documentation

◆ DialogManager()

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

◆ AddFont()

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

Adds a font to the resource manager

◆ AddTexture()

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

Adds a texture to the resource manager

◆ CreateFont()

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

Creates a font

◆ CreateTexture()

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

Creates a texture

◆ Dispose()

void OmegaGUI.Render.DialogManager.Dispose ( )
inline

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

◆ GetFontNode()

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

Gets a font node from the cache

◆ GetTextureNode()

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

Gets a texture node from the cache

◆ OnCreateDevice()

void OmegaGUI.Render.DialogManager.OnCreateDevice ( )
inline

Called when the device is created

◆ OnLostDevice()

void OmegaGUI.Render.DialogManager.OnLostDevice ( )
inline

Called when the device has been lost.

◆ OnResetDevice()

void OmegaGUI.Render.DialogManager.OnResetDevice ( )
inline

Called when the device has been reset.

Member Data Documentation

◆ Device

Device OmegaGUI.Render.DialogManager.Device => Engine.Device

Gets the DirectX device

◆ Target

System.Windows.Forms.Control OmegaGUI.Render.DialogManager.Target => Engine.Target

Gets the render target control

Property Documentation

◆ Disposed

bool OmegaGUI.Render.DialogManager.Disposed
get

Has this manager been disposed?

◆ Engine

Engine OmegaGUI.Render.DialogManager.Engine
get

Gets the render engine

◆ MessageBox

MessageBox OmegaGUI.Render.DialogManager.MessageBox
get

Gets a Specialized MessageBox dialog


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