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

#include <Controls.h>

Inheritance diagram for RiseControl:
[legend]
Collaboration diagram for RiseControl:
[legend]

Public Member Functions

 RiseControl (RiseDialog *pDialog=NULL)
virtual ~RiseControl ()
virtual HRESULT OnInit ()
virtual void Refresh ()
virtual void Render (float fElapsedTime)
virtual bool MsgProc (UINT uMsg, WPARAM wParam, LPARAM lParam)
virtual bool HandleKeyboard (UINT uMsg, WPARAM wParam, LPARAM lParam)
virtual bool HandleMouse (UINT uMsg, POINT pt, WPARAM wParam, LPARAM lParam)
virtual bool CanHaveFocus ()
virtual void OnFocusIn ()
virtual void OnFocusOut ()
virtual void OnMouseEnter ()
virtual void OnMouseLeave ()
virtual void OnHotkey ()
virtual BOOL ContainsPoint (POINT pt)
virtual void SetEnabled (bool bEnabled)
virtual bool GetEnabled ()
virtual void SetVisible (bool bVisible)
virtual bool GetVisible ()
UINT GetType () const
int GetID () const
void SetID (int ID)
void SetLocation (int x, int y)
void SetSize (int width, int height)
void SetHotkey (UINT nHotkey)
UINT GetHotkey ()
void SetUserData (void *pUserData)
void * GetUserData () const
virtual void SetTextColor (Rendering::PackedColor Color)
RiseElement * GetElement (UINT iElement)
HRESULT SetElement (UINT iElement, RiseElement *pElement)

Public Attributes

bool m_bVisible
bool m_bShadow
bool m_bMouseOver
bool m_bHasFocus
bool m_bIsDefault
bool m_bIsPassword
int m_x
int m_y
int m_width
int m_height
RiseDialog * m_pDialog
UINT m_Index
ControlArray< RiseElement * > m_Elements

Protected Member Functions

virtual void UpdateRects ()

Protected Attributes

int m_ID
UI_CONTROL_TYPE m_Type
UINT m_nHotkey
void * m_pUserData
bool m_bEnabled
RECT m_rcBoundingBox

Detailed Description

Definition at line 516 of file Controls.h.

Constructor & Destructor Documentation

◆ RiseControl()

RiseControl::RiseControl ( RiseDialog * pDialog = NULL)

Definition at line 2426 of file Controls.cpp.

◆ ~RiseControl()

RiseControl::~RiseControl ( )
virtual

Definition at line 2452 of file Controls.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ CanHaveFocus()

virtual bool RiseControl::CanHaveFocus ( )
inlinevirtual

Reimplemented in RiseButton, RiseComboBox, RiseEditBox, RiseListBox, and RiseSlider.

Definition at line 546 of file Controls.h.

Here is the caller graph for this function:

◆ ContainsPoint()

virtual BOOL RiseControl::ContainsPoint ( POINT pt)
inlinevirtual

Reimplemented in RiseButton, RiseCheckBox, RiseSlider, and RiseStatic.

Definition at line 570 of file Controls.h.

Here is the caller graph for this function:

◆ GetElement()

RiseElement * RiseControl::GetElement ( UINT iElement)
inline

Definition at line 636 of file Controls.h.

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

◆ GetEnabled()

virtual bool RiseControl::GetEnabled ( )
inlinevirtual

Definition at line 579 of file Controls.h.

Here is the caller graph for this function:

◆ GetHotkey()

UINT RiseControl::GetHotkey ( )
inline

Definition at line 621 of file Controls.h.

Here is the caller graph for this function:

◆ GetID()

int RiseControl::GetID ( ) const
inline

Definition at line 597 of file Controls.h.

Here is the caller graph for this function:

◆ GetType()

UINT RiseControl::GetType ( ) const
inline

Definition at line 592 of file Controls.h.

Here is the caller graph for this function:

◆ GetUserData()

void * RiseControl::GetUserData ( ) const
inline

Definition at line 630 of file Controls.h.

◆ GetVisible()

virtual bool RiseControl::GetVisible ( )
inlinevirtual

Definition at line 587 of file Controls.h.

Here is the caller graph for this function:

◆ HandleKeyboard()

virtual bool RiseControl::HandleKeyboard ( UINT uMsg,
WPARAM wParam,
LPARAM lParam )
inlinevirtual

Reimplemented in RiseButton, RiseCheckBox, RiseComboBox, RiseEditBox, RiseListBox, RiseRadioButton, RiseScrollBar, and RiseSlider.

Definition at line 537 of file Controls.h.

Here is the caller graph for this function:

◆ HandleMouse()

virtual bool RiseControl::HandleMouse ( UINT uMsg,
POINT pt,
WPARAM wParam,
LPARAM lParam )
inlinevirtual

Reimplemented in RiseButton, RiseCheckBox, RiseComboBox, RiseEditBox, RiseListBox, RiseRadioButton, RiseScrollBar, and RiseSlider.

Definition at line 541 of file Controls.h.

Here is the caller graph for this function:

◆ MsgProc()

virtual bool RiseControl::MsgProc ( UINT uMsg,
WPARAM wParam,
LPARAM lParam )
inlinevirtual

Reimplemented in RiseEditBox, RiseListBox, and RiseScrollBar.

Definition at line 532 of file Controls.h.

Here is the caller graph for this function:

◆ OnFocusIn()

virtual void RiseControl::OnFocusIn ( )
inlinevirtual

Reimplemented in RiseEditBox.

Definition at line 550 of file Controls.h.

Here is the caller graph for this function:

◆ OnFocusOut()

virtual void RiseControl::OnFocusOut ( )
inlinevirtual

Reimplemented in RiseComboBox.

Definition at line 554 of file Controls.h.

Here is the caller graph for this function:

◆ OnHotkey()

virtual void RiseControl::OnHotkey ( )
inlinevirtual

Reimplemented in RiseButton, RiseCheckBox, RiseComboBox, and RiseRadioButton.

Definition at line 566 of file Controls.h.

Here is the caller graph for this function:

◆ OnInit()

virtual HRESULT RiseControl::OnInit ( )
inlinevirtual

Reimplemented in RiseComboBox, and RiseListBox.

Definition at line 522 of file Controls.h.

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

◆ OnMouseEnter()

virtual void RiseControl::OnMouseEnter ( )
inlinevirtual

Definition at line 558 of file Controls.h.

Here is the caller graph for this function:

◆ OnMouseLeave()

virtual void RiseControl::OnMouseLeave ( )
inlinevirtual

Definition at line 562 of file Controls.h.

Here is the caller graph for this function:

◆ Refresh()

void RiseControl::Refresh ( )
virtual

Definition at line 2506 of file Controls.cpp.

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

◆ Render()

virtual void RiseControl::Render ( float fElapsedTime)
inlinevirtual

Reimplemented in RiseButton, RiseCheckBox, RiseComboBox, RiseEditBox, RiseListBox, RiseScrollBar, RiseSlider, and RiseStatic.

Definition at line 527 of file Controls.h.

Here is the caller graph for this function:

◆ SetElement()

HRESULT RiseControl::SetElement ( UINT iElement,
RiseElement * pElement )

Definition at line 2475 of file Controls.cpp.

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

◆ SetEnabled()

virtual void RiseControl::SetEnabled ( bool bEnabled)
inlinevirtual

Definition at line 575 of file Controls.h.

Here is the caller graph for this function:

◆ SetHotkey()

void RiseControl::SetHotkey ( UINT nHotkey)
inline

Definition at line 617 of file Controls.h.

Here is the caller graph for this function:

◆ SetID()

void RiseControl::SetID ( int ID)
inline

Definition at line 601 of file Controls.h.

Here is the caller graph for this function:

◆ SetLocation()

void RiseControl::SetLocation ( int x,
int y )
inline

Definition at line 606 of file Controls.h.

Here is the call graph for this function:

◆ SetSize()

void RiseControl::SetSize ( int width,
int height )
inline

Definition at line 610 of file Controls.h.

Here is the call graph for this function:

◆ SetTextColor()

void RiseControl::SetTextColor ( Rendering::PackedColor Color)
virtual

Reimplemented in RiseEditBox.

Definition at line 2463 of file Controls.cpp.

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

◆ SetUserData()

void RiseControl::SetUserData ( void * pUserData)
inline

Definition at line 626 of file Controls.h.

◆ SetVisible()

virtual void RiseControl::SetVisible ( bool bVisible)
inlinevirtual

Definition at line 583 of file Controls.h.

◆ UpdateRects()

void RiseControl::UpdateRects ( )
protectedvirtual

Reimplemented in RiseCheckBox, RiseComboBox, RiseEditBox, RiseListBox, RiseScrollBar, and RiseSlider.

Definition at line 2520 of file Controls.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ m_bEnabled

bool RiseControl::m_bEnabled
protected

Definition at line 667 of file Controls.h.

◆ m_bHasFocus

bool RiseControl::m_bHasFocus

Definition at line 645 of file Controls.h.

◆ m_bIsDefault

bool RiseControl::m_bIsDefault

Definition at line 646 of file Controls.h.

◆ m_bIsPassword

bool RiseControl::m_bIsPassword

Definition at line 647 of file Controls.h.

◆ m_bMouseOver

bool RiseControl::m_bMouseOver

Definition at line 644 of file Controls.h.

◆ m_bShadow

bool RiseControl::m_bShadow

Definition at line 643 of file Controls.h.

◆ m_bVisible

bool RiseControl::m_bVisible

Definition at line 642 of file Controls.h.

◆ m_Elements

ControlArray<RiseElement*> RiseControl::m_Elements

Definition at line 657 of file Controls.h.

◆ m_height

int RiseControl::m_height

Definition at line 651 of file Controls.h.

◆ m_ID

int RiseControl::m_ID
protected

Definition at line 662 of file Controls.h.

◆ m_Index

UINT RiseControl::m_Index

Definition at line 655 of file Controls.h.

◆ m_nHotkey

UINT RiseControl::m_nHotkey
protected

Definition at line 664 of file Controls.h.

◆ m_pDialog

RiseDialog* RiseControl::m_pDialog

Definition at line 654 of file Controls.h.

◆ m_pUserData

void* RiseControl::m_pUserData
protected

Definition at line 665 of file Controls.h.

◆ m_rcBoundingBox

RECT RiseControl::m_rcBoundingBox
protected

Definition at line 669 of file Controls.h.

◆ m_Type

UI_CONTROL_TYPE RiseControl::m_Type
protected

Definition at line 663 of file Controls.h.

◆ m_width

int RiseControl::m_width

Definition at line 651 of file Controls.h.

◆ m_x

int RiseControl::m_x

Definition at line 650 of file Controls.h.

◆ m_y

int RiseControl::m_y

Definition at line 650 of file Controls.h.


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