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

#include <Controls.h>

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

Public Member Functions

 RiseRadioButton (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 ()
void SetChecked (bool bChecked, bool bClearGroup=true)
void SetButtonGroup (UINT nButtonGroup)
UINT GetButtonGroup ()
Public Member Functions inherited from RiseCheckBox
 RiseCheckBox (RiseDialog *pDialog=NULL)
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 bClearGroup, bool bFromInput)
Protected Member Functions inherited from RiseCheckBox
virtual void SetCheckedInternal (bool bChecked, bool bFromInput)

Protected Attributes

UINT m_nButtonGroup
Protected Attributes inherited from RiseCheckBox
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 787 of file Controls.h.

Constructor & Destructor Documentation

◆ RiseRadioButton()

RiseRadioButton::RiseRadioButton ( RiseDialog * pDialog = NULL)

Definition at line 2935 of file Controls.cpp.

Here is the caller graph for this function:

Member Function Documentation

◆ GetButtonGroup()

UINT RiseRadioButton::GetButtonGroup ( )
inline

Definition at line 808 of file Controls.h.

Here is the caller graph for this function:

◆ HandleKeyboard()

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

Reimplemented from RiseCheckBox.

Definition at line 2944 of file Controls.cpp.

◆ HandleMouse()

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

Reimplemented from RiseCheckBox.

Definition at line 2987 of file Controls.cpp.

Here is the call graph for this function:

◆ OnHotkey()

virtual void RiseRadioButton::OnHotkey ( )
inlinevirtual

Reimplemented from RiseCheckBox.

Definition at line 794 of file Controls.h.

Here is the call graph for this function:

◆ SetButtonGroup()

void RiseRadioButton::SetButtonGroup ( UINT nButtonGroup)
inline

Definition at line 804 of file Controls.h.

Here is the caller graph for this function:

◆ SetChecked()

void RiseRadioButton::SetChecked ( bool bChecked,
bool bClearGroup = true )
inline

Definition at line 800 of file Controls.h.

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

◆ SetCheckedInternal()

void RiseRadioButton::SetCheckedInternal ( bool bChecked,
bool bClearGroup,
bool bFromInput )
protectedvirtual

Definition at line 3039 of file Controls.cpp.

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

Member Data Documentation

◆ m_nButtonGroup

UINT RiseRadioButton::m_nButtonGroup
protected

Definition at line 815 of file Controls.h.


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