![]() |
Rise
The Vieneo Province
|
#include <Controls.h>
Public Member Functions | |
| RiseComboBox (RiseDialog *pDialog=NULL) | |
| virtual | ~RiseComboBox () |
| virtual void | SetTextColor (Rendering::PackedColor Color, Rendering::PackedColor DisabledColor=Rendering::ColorARGB(200, 128, 128, 128)) |
| virtual HRESULT | OnInit () |
| 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 | CanHaveFocus () |
| virtual void | OnFocusOut () |
| virtual void | Render (float fElapsedTime) |
| virtual void | UpdateRects () |
| HRESULT | AddItem (const WCHAR *strText, void *pData) |
| void | RemoveAllItems () |
| void | RemoveItem (UINT index) |
| bool | ContainsItem (const WCHAR *strText, UINT iStart=0) |
| int | FindItem (const WCHAR *strText, UINT iStart=0) |
| void * | GetItemData (const WCHAR *strText) |
| void * | GetItemData (int nIndex) |
| void | SetDropHeight (UINT nHeight, UINT fHeight) |
| int | GetScrollBarWidth () const |
| void | SetScrollBarWidth (int nWidth) |
| int | GetSelectedIndex () const |
| void * | GetSelectedData () |
| UIComboBoxItem * | GetSelectedItem () |
| UINT | GetNumItems () |
| UIComboBoxItem * | GetItem (UINT index) |
| HRESULT | SetSelectedByIndex (UINT index) |
| HRESULT | SetSelectedByText (const WCHAR *strText) |
| HRESULT | SetSelectedByData (void *pData) |
| Public Member Functions inherited from RiseButton | |
| RiseButton (RiseDialog *pDialog=NULL) | |
| virtual BOOL | ContainsPoint (POINT pt) |
| 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 void | Refresh () |
| virtual bool | MsgProc (UINT uMsg, WPARAM wParam, LPARAM lParam) |
| virtual void | OnFocusIn () |
| 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 Attributes | |
| int | m_iSelected |
| int | m_iFocused |
| int | m_nDropHeight |
| int | m_nFontHeight = 14 |
| RiseScrollBar | m_ScrollBar |
| int | m_nSBWidth |
| bool | m_bOpened |
| RECT | m_rcText |
| RECT | m_rcButton |
| RECT | m_rcDropdown |
| RECT | m_rcDropdownText |
| ControlArray< UIComboBoxItem * > | m_Items |
| 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 |
Definition at line 997 of file Controls.h.
| RiseComboBox::RiseComboBox | ( | RiseDialog * | pDialog = NULL | ) |
|
virtual |
Definition at line 3560 of file Controls.cpp.
|
inlinevirtual |
Reimplemented from RiseButton.
Definition at line 1013 of file Controls.h.
| bool RiseComboBox::ContainsItem | ( | const WCHAR * | strText, |
| UINT | iStart = 0 ) |
| int RiseComboBox::FindItem | ( | const WCHAR * | strText, |
| UINT | iStart = 0 ) |
Definition at line 3632 of file Controls.cpp.
|
inline |
| void * RiseComboBox::GetItemData | ( | const WCHAR * | strText | ) |
|
inline |
Definition at line 1049 of file Controls.h.
|
inline |
Definition at line 1033 of file Controls.h.
| void * RiseComboBox::GetSelectedData | ( | ) |
|
inline |
| UIComboBoxItem * RiseComboBox::GetSelectedItem | ( | ) |
Definition at line 3663 of file Controls.cpp.
|
virtual |
Reimplemented from RiseButton.
Definition at line 3150 of file Controls.cpp.
|
virtual |
Reimplemented from RiseButton.
Definition at line 3236 of file Controls.cpp.
|
virtual |
Reimplemented from RiseControl.
Definition at line 3141 of file Controls.cpp.
|
virtual |
Reimplemented from RiseButton.
Definition at line 3391 of file Controls.cpp.
|
inlinevirtual |
Reimplemented from RiseControl.
Definition at line 1004 of file Controls.h.
| void RiseComboBox::RemoveAllItems | ( | ) |
Definition at line 3609 of file Controls.cpp.
| void RiseComboBox::RemoveItem | ( | UINT | index | ) |
|
virtual |
Reimplemented from RiseButton.
Definition at line 3413 of file Controls.cpp.
|
inline |
Definition at line 1029 of file Controls.h.
Definition at line 1037 of file Controls.h.
Definition at line 3735 of file Controls.cpp.
| HRESULT RiseComboBox::SetSelectedByIndex | ( | UINT | index | ) |
Definition at line 3703 of file Controls.cpp.
| HRESULT RiseComboBox::SetSelectedByText | ( | const WCHAR * | strText | ) |
|
virtual |
Definition at line 3078 of file Controls.cpp.
|
virtual |
Reimplemented from RiseControl.
Definition at line 3099 of file Controls.cpp.
|
protected |
Definition at line 1070 of file Controls.h.
|
protected |
Definition at line 1064 of file Controls.h.
|
protected |
Definition at line 1063 of file Controls.h.
|
protected |
Definition at line 1078 of file Controls.h.
|
protected |
Definition at line 1065 of file Controls.h.
|
protected |
Definition at line 1066 of file Controls.h.
|
protected |
Definition at line 1068 of file Controls.h.
|
protected |
Definition at line 1073 of file Controls.h.
|
protected |
Definition at line 1074 of file Controls.h.
|
protected |
Definition at line 1075 of file Controls.h.
|
protected |
Definition at line 1072 of file Controls.h.
|
protected |
Definition at line 1067 of file Controls.h.