![]() |
Rise
The Vieneo Province
|
#include <Controls.h>
Public Types | |
| enum | STYLE { MULTISELECTION = 1 } |
Public Member Functions | |
| RiseListBox (RiseDialog *pDialog=NULL) | |
| virtual | ~RiseListBox () |
| virtual HRESULT | OnInit () |
| virtual bool | CanHaveFocus () |
| virtual bool | HandleKeyboard (UINT uMsg, WPARAM wParam, LPARAM lParam) |
| virtual bool | HandleMouse (UINT uMsg, POINT pt, WPARAM wParam, LPARAM lParam) |
| virtual bool | MsgProc (UINT uMsg, WPARAM wParam, LPARAM lParam) |
| virtual void | Render (float fElapsedTime) |
| virtual void | UpdateRects () |
| DWORD | GetStyle () const |
| int | GetSize () const |
| void | SetStyle (DWORD dwStyle) |
| int | GetScrollBarWidth () const |
| void | SetScrollBarWidth (int nWidth) |
| void | SetBorder (int nBorder, int nMargin) |
| HRESULT | AddItem (const WCHAR *wszText, void *pData) |
| HRESULT | InsertItem (int nIndex, const WCHAR *wszText, void *pData) |
| void | RemoveItem (int nIndex) |
| void | RemoveItemByData (void *pData) |
| void | RemoveAllItems () |
| UIListBoxItem * | GetItem (int nIndex) |
| int | GetSelectedIndex (int nPreviousSelected=-1) |
| UIListBoxItem * | GetSelectedItem (int nPreviousSelected=-1) |
| void | SelectItem (int nNewIndex) |
| Public Member Functions inherited from RiseControl | |
| RiseControl (RiseDialog *pDialog=NULL) | |
| virtual | ~RiseControl () |
| virtual void | Refresh () |
| 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) |
Protected Attributes | |
| RECT | m_rcText |
| RECT | m_rcSelection |
| RiseScrollBar | m_ScrollBar |
| int | m_nSBWidth |
| int | m_nBorder |
| int | m_nMargin |
| int | m_nTextHeight |
| DWORD | m_dwStyle |
| int | m_nSelected |
| int | m_nSelStart |
| bool | m_bDrag |
| ControlArray< UIListBoxItem * > | m_Items |
| 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 903 of file Controls.h.
| enum RiseListBox::STYLE |
| Enumerator | |
|---|---|
| MULTISELECTION | |
Definition at line 962 of file Controls.h.
| RiseListBox::RiseListBox | ( | RiseDialog * | pDialog = NULL | ) |
|
virtual |
|
inlinevirtual |
Reimplemented from RiseControl.
Definition at line 913 of file Controls.h.
| UIListBoxItem * RiseListBox::GetItem | ( | int | nIndex | ) |
Definition at line 4524 of file Controls.cpp.
|
inline |
Definition at line 936 of file Controls.h.
Definition at line 4540 of file Controls.cpp.
|
inline |
|
inline |
|
inline |
Definition at line 924 of file Controls.h.
|
virtual |
Reimplemented from RiseControl.
Definition at line 4603 of file Controls.cpp.
|
virtual |
Reimplemented from RiseControl.
Definition at line 4711 of file Controls.cpp.
|
virtual |
Reimplemented from RiseControl.
Definition at line 4933 of file Controls.cpp.
|
inlinevirtual |
Reimplemented from RiseControl.
Definition at line 909 of file Controls.h.
| void RiseListBox::RemoveAllItems | ( | ) |
Definition at line 4510 of file Controls.cpp.
Definition at line 4504 of file Controls.cpp.
|
virtual |
Reimplemented from RiseControl.
Definition at line 4948 of file Controls.cpp.
Definition at line 944 of file Controls.h.
|
virtual |
Reimplemented from RiseControl.
Definition at line 4408 of file Controls.cpp.
|
protected |
Definition at line 978 of file Controls.h.
|
protected |
Definition at line 975 of file Controls.h.
|
protected |
Definition at line 980 of file Controls.h.
|
protected |
Definition at line 972 of file Controls.h.
|
protected |
Definition at line 973 of file Controls.h.
|
protected |
Definition at line 971 of file Controls.h.
|
protected |
Definition at line 976 of file Controls.h.
|
protected |
Definition at line 977 of file Controls.h.
|
protected |
Definition at line 974 of file Controls.h.
|
protected |
Definition at line 969 of file Controls.h.
|
protected |
Definition at line 968 of file Controls.h.
|
protected |
Definition at line 970 of file Controls.h.