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

#include <Controls.h>

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

Public Member Functions

 RiseCheckBox (RiseDialog *pDialog=NULL)
virtual bool HandleKeyboard (UINT uMsg, WPARAM wParam, LPARAM lParam)
virtual bool HandleMouse (UINT uMsg, POINT pt, WPARAM wParam, LPARAM lParam)
virtual void OnHotkey ()
virtual BOOL ContainsPoint (POINT pt)
virtual void UpdateRects ()
virtual void Render (float fElapsedTime)
bool GetChecked ()
void SetChecked (bool bChecked)
Public Member Functions inherited from RiseButton
 RiseButton (RiseDialog *pDialog=NULL)
virtual bool CanHaveFocus ()
Public Member Functions inherited from RiseStatic
 RiseStatic (RiseDialog *pDialog=NULL)
HRESULT GetTextCopy (__out_ecount(bufferCount) LPWSTR strDest, UINT bufferCount)
LPCWSTR GetText ()
HRESULT SetText (LPCWSTR strText)
Public Member Functions inherited from RiseControl
 RiseControl (RiseDialog *pDialog=NULL)
virtual ~RiseControl ()
virtual HRESULT OnInit ()
virtual void Refresh ()
virtual bool MsgProc (UINT uMsg, WPARAM wParam, LPARAM lParam)
virtual void OnFocusIn ()
virtual void OnFocusOut ()
virtual void OnMouseEnter ()
virtual void OnMouseLeave ()
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)

Protected Member Functions

virtual void SetCheckedInternal (bool bChecked, bool bFromInput)

Protected Attributes

bool m_bChecked
RECT m_rcButton
RECT m_rcText
Protected Attributes inherited from RiseButton
bool m_bPressed
Protected Attributes inherited from RiseStatic
WCHAR m_strText [MAX_TEXT]
Protected Attributes inherited from RiseControl
int m_ID
UI_CONTROL_TYPE m_Type
UINT m_nHotkey
void * m_pUserData
bool m_bEnabled
RECT m_rcBoundingBox

Additional Inherited Members

Public Attributes inherited from RiseControl
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

Detailed Description

Definition at line 748 of file Controls.h.

Constructor & Destructor Documentation

◆ RiseCheckBox()

RiseCheckBox::RiseCheckBox ( RiseDialog * pDialog = NULL)

Definition at line 2767 of file Controls.cpp.

Here is the caller graph for this function:

Member Function Documentation

◆ ContainsPoint()

BOOL RiseCheckBox::ContainsPoint ( POINT pt)
virtual

Reimplemented from RiseButton.

Definition at line 2870 of file Controls.cpp.

Here is the caller graph for this function:

◆ GetChecked()

bool RiseCheckBox::GetChecked ( )
inline

Definition at line 766 of file Controls.h.

Here is the caller graph for this function:

◆ HandleKeyboard()

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

Reimplemented from RiseButton.

Reimplemented in RiseRadioButton.

Definition at line 2777 of file Controls.cpp.

Here is the call graph for this function:

◆ HandleMouse()

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

Reimplemented from RiseButton.

Reimplemented in RiseRadioButton.

Definition at line 2813 of file Controls.cpp.

Here is the call graph for this function:

◆ OnHotkey()

virtual void RiseCheckBox::OnHotkey ( )
inlinevirtual

Reimplemented from RiseButton.

Reimplemented in RiseRadioButton.

Definition at line 755 of file Controls.h.

Here is the call graph for this function:

◆ Render()

void RiseCheckBox::Render ( float fElapsedTime)
virtual

Reimplemented from RiseButton.

Definition at line 2893 of file Controls.cpp.

Here is the call graph for this function:

◆ SetChecked()

void RiseCheckBox::SetChecked ( bool bChecked)
inline

Definition at line 770 of file Controls.h.

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

◆ SetCheckedInternal()

void RiseCheckBox::SetCheckedInternal ( bool bChecked,
bool bFromInput )
protectedvirtual

Definition at line 2861 of file Controls.cpp.

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

◆ UpdateRects()

void RiseCheckBox::UpdateRects ( )
virtual

Reimplemented from RiseControl.

Definition at line 2879 of file Controls.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ m_bChecked

bool RiseCheckBox::m_bChecked
protected

Definition at line 778 of file Controls.h.

◆ m_rcButton

RECT RiseCheckBox::m_rcButton
protected

Definition at line 779 of file Controls.h.

◆ m_rcText

RECT RiseCheckBox::m_rcText
protected

Definition at line 780 of file Controls.h.


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