Rise
The Vieneo Province
Loading...
Searching...
No Matches
RiseDialogResourceManager Class Reference

#include <Controls.h>

Collaboration diagram for RiseDialogResourceManager:
[legend]

Public Member Functions

 RiseDialogResourceManager ()
 ~RiseDialogResourceManager ()
bool MsgProc (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
HRESULT OnCreateDevice (Rendering::RenderDevice *pd3dDevice)
HRESULT OnResetDevice ()
void OnLostDevice ()
void OnDestroyDevice ()
Rendering::RenderDevice * GetRenderer ()
UIFontNode * GetFontNode (int iIndex)
UITextureNode * GetTextureNode (int iIndex)
int AddFont (LPCWSTR strFaceName, LONG height, LONG weight)
int AddTexture (LPCWSTR strFilename)
int AddTexture (LPCWSTR strResourceName, HMODULE hResourceModule)
bool RegisterDialog (RiseDialog *pDialog)
void UnregisterDialog (RiseDialog *pDialog)
void EnableKeyboardInputForAllDialogs ()

Public Attributes

Rendering::RenderStateSnapshot * m_pStateBlock
Rendering::RenderSprite * m_pSprite
UINT m_nBackBufferWidth
UINT m_nBackBufferHeight
ControlArray< RiseDialog * > m_Dialogs

Protected Member Functions

HRESULT CreateFont (UINT index)
HRESULT CreateTexture (UINT index)

Protected Attributes

Rendering::RenderDevice * m_renderer
ControlArray< UITextureNode * > m_TextureCache
ControlArray< UIFontNode * > m_FontCache

Detailed Description

Definition at line 444 of file Controls.h.

Constructor & Destructor Documentation

◆ RiseDialogResourceManager()

RiseDialogResourceManager::RiseDialogResourceManager ( )

Definition at line 273 of file Controls.cpp.

◆ ~RiseDialogResourceManager()

RiseDialogResourceManager::~RiseDialogResourceManager ( )

Definition at line 284 of file Controls.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ AddFont()

int RiseDialogResourceManager::AddFont ( LPCWSTR strFaceName,
LONG height,
LONG weight )

Definition at line 671 of file Controls.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ AddTexture() [1/2]

int RiseDialogResourceManager::AddTexture ( LPCWSTR strFilename)

Definition at line 741 of file Controls.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ AddTexture() [2/2]

int RiseDialogResourceManager::AddTexture ( LPCWSTR strResourceName,
HMODULE hResourceModule )

Definition at line 778 of file Controls.cpp.

Here is the call graph for this function:

◆ CreateFont()

HRESULT RiseDialogResourceManager::CreateFont ( UINT index)
protected

Definition at line 2078 of file Controls.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CreateTexture()

HRESULT RiseDialogResourceManager::CreateTexture ( UINT index)
protected

Definition at line 2099 of file Controls.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ EnableKeyboardInputForAllDialogs()

void RiseDialogResourceManager::EnableKeyboardInputForAllDialogs ( )

Definition at line 473 of file Controls.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetFontNode()

UIFontNode * RiseDialogResourceManager::GetFontNode ( int iIndex)
inline

Definition at line 469 of file Controls.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetRenderer()

Rendering::RenderDevice * RiseDialogResourceManager::GetRenderer ( )
inline

Definition at line 457 of file Controls.h.

Here is the caller graph for this function:

◆ GetTextureNode()

UITextureNode * RiseDialogResourceManager::GetTextureNode ( int iIndex)
inline

Definition at line 473 of file Controls.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ MsgProc()

bool RiseDialogResourceManager::MsgProc ( HWND hWnd,
UINT uMsg,
WPARAM wParam,
LPARAM lParam )

Definition at line 357 of file Controls.cpp.

◆ OnCreateDevice()

HRESULT RiseDialogResourceManager::OnCreateDevice ( Rendering::RenderDevice * pd3dDevice)

Definition at line 306 of file Controls.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ OnDestroyDevice()

void RiseDialogResourceManager::OnDestroyDevice ( )

Definition at line 382 of file Controls.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ OnLostDevice()

void RiseDialogResourceManager::OnLostDevice ( )

Definition at line 364 of file Controls.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ OnResetDevice()

HRESULT RiseDialogResourceManager::OnResetDevice ( )

Definition at line 336 of file Controls.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ RegisterDialog()

bool RiseDialogResourceManager::RegisterDialog ( RiseDialog * pDialog)

Definition at line 423 of file Controls.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ UnregisterDialog()

void RiseDialogResourceManager::UnregisterDialog ( RiseDialog * pDialog)

Definition at line 444 of file Controls.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ m_Dialogs

ControlArray<RiseDialog*> RiseDialogResourceManager::m_Dialogs

Definition at line 496 of file Controls.h.

◆ m_FontCache

ControlArray<UIFontNode*> RiseDialogResourceManager::m_FontCache
protected

Definition at line 509 of file Controls.h.

◆ m_nBackBufferHeight

UINT RiseDialogResourceManager::m_nBackBufferHeight

Definition at line 494 of file Controls.h.

◆ m_nBackBufferWidth

UINT RiseDialogResourceManager::m_nBackBufferWidth

Definition at line 493 of file Controls.h.

◆ m_pSprite

Rendering::RenderSprite* RiseDialogResourceManager::m_pSprite

Definition at line 490 of file Controls.h.

◆ m_pStateBlock

Rendering::RenderStateSnapshot* RiseDialogResourceManager::m_pStateBlock

Definition at line 489 of file Controls.h.

◆ m_renderer

Rendering::RenderDevice* RiseDialogResourceManager::m_renderer
protected

Definition at line 500 of file Controls.h.

◆ m_TextureCache

ControlArray<UITextureNode*> RiseDialogResourceManager::m_TextureCache
protected

Definition at line 508 of file Controls.h.


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