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

#include <Controls.h>

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

Public Member Functions

 RiseStatic (RiseDialog *pDialog=NULL)
virtual void Render (float fElapsedTime)
virtual BOOL ContainsPoint (POINT pt)
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 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 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 Attributes

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
Protected Member Functions inherited from RiseControl
virtual void UpdateRects ()

Detailed Description

Definition at line 688 of file Controls.h.

Constructor & Destructor Documentation

◆ RiseStatic()

RiseStatic::RiseStatic ( RiseDialog * pDialog = NULL)

Definition at line 2531 of file Controls.cpp.

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

Member Function Documentation

◆ ContainsPoint()

virtual BOOL RiseStatic::ContainsPoint ( POINT pt)
inlinevirtual

Reimplemented from RiseControl.

Reimplemented in RiseButton, and RiseCheckBox.

Definition at line 694 of file Controls.h.

◆ GetText()

LPCWSTR RiseStatic::GetText ( )
inline

Definition at line 701 of file Controls.h.

◆ GetTextCopy()

HRESULT RiseStatic::GetTextCopy ( __out_ecount(bufferCount) LPWSTR strDest,
UINT bufferCount )

Definition at line 2568 of file Controls.cpp.

Here is the call graph for this function:

◆ Render()

void RiseStatic::Render ( float fElapsedTime)
virtual

Reimplemented from RiseControl.

Reimplemented in RiseButton, RiseCheckBox, and RiseComboBox.

Definition at line 2549 of file Controls.cpp.

Here is the call graph for this function:

◆ SetText()

HRESULT RiseStatic::SetText ( LPCWSTR strText)

Definition at line 2585 of file Controls.cpp.

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

Member Data Documentation

◆ m_strText

WCHAR RiseStatic::m_strText[MAX_TEXT]
protected

Definition at line 709 of file Controls.h.


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