#include <ui_listbox.h>
|
| CListBox () |
|
void | DoBegin (const CUIRect *pRect) |
|
void | DoHeader (const CUIRect *pRect, const char *pTitle, float HeaderHeight=20.0f, float Spacing=2.0f) |
|
void | DoAutoSpacing (float Spacing=20.0f) |
|
void | DoSpacing (float Spacing=20.0f) |
|
void | DoFooter (const char *pBottomText, float FooterHeight=20.0f) |
|
void | DoStart (float RowHeight, int NumItems, int ItemsPerRow, int RowsPerScroll, int SelectedIndex, const CUIRect *pRect=nullptr, bool Background=true, int BackgroundCorners=IGraphics::CORNER_ALL, bool ForceShowScrollbar=false) |
|
void | ScrollToSelected () |
|
CListboxItem | DoNextItem (const void *pId, bool Selected=false, float CornerRadius=5.0f) |
|
CListboxItem | DoSubheader () |
|
int | DoEnd () |
|
bool | Active () const |
|
void | SetActive (bool Active) |
|
bool | WasItemSelected () const |
|
bool | WasItemActivated () const |
|
bool | ScrollbarShown () const |
|
float | ScrollbarWidth () const |
|
float | ScrollbarWidthMax () const |
|
void | SetScrollbarWidth (float Width) |
|
float | ScrollbarMargin () const |
|
void | SetScrollbarMargin (float Margin) |
|
◆ CListBox()
◆ Active()
bool CListBox::Active |
( |
| ) |
const |
|
inline |
◆ DoAutoSpacing()
void CListBox::DoAutoSpacing |
( |
float |
Spacing = 20.0f | ) |
|
|
inline |
◆ DoBegin()
void CListBox::DoBegin |
( |
const CUIRect * |
pRect | ) |
|
◆ DoEnd()
◆ DoFooter()
void CListBox::DoFooter |
( |
const char * |
pBottomText, |
|
|
float |
FooterHeight = 20.0f |
|
) |
| |
◆ DoHeader()
void CListBox::DoHeader |
( |
const CUIRect * |
pRect, |
|
|
const char * |
pTitle, |
|
|
float |
HeaderHeight = 20.0f , |
|
|
float |
Spacing = 2.0f |
|
) |
| |
◆ DoNextItem()
CListboxItem CListBox::DoNextItem |
( |
const void * |
pId, |
|
|
bool |
Selected = false , |
|
|
float |
CornerRadius = 5.0f |
|
) |
| |
◆ DoNextRow()
◆ DoSpacing()
void CListBox::DoSpacing |
( |
float |
Spacing = 20.0f | ) |
|
◆ DoStart()
void CListBox::DoStart |
( |
float |
RowHeight, |
|
|
int |
NumItems, |
|
|
int |
ItemsPerRow, |
|
|
int |
RowsPerScroll, |
|
|
int |
SelectedIndex, |
|
|
const CUIRect * |
pRect = nullptr , |
|
|
bool |
Background = true , |
|
|
int |
BackgroundCorners = IGraphics::CORNER_ALL , |
|
|
bool |
ForceShowScrollbar = false |
|
) |
| |
◆ DoSubheader()
◆ ScrollbarMargin()
float CListBox::ScrollbarMargin |
( |
| ) |
const |
|
inline |
◆ ScrollbarShown()
bool CListBox::ScrollbarShown |
( |
| ) |
const |
|
inline |
◆ ScrollbarWidth()
float CListBox::ScrollbarWidth |
( |
| ) |
const |
|
inline |
◆ ScrollbarWidthMax()
float CListBox::ScrollbarWidthMax |
( |
| ) |
const |
|
inline |
◆ ScrollToSelected()
void CListBox::ScrollToSelected |
( |
| ) |
|
|
inline |
◆ SetActive()
void CListBox::SetActive |
( |
bool |
Active | ) |
|
|
inline |
◆ SetScrollbarMargin()
void CListBox::SetScrollbarMargin |
( |
float |
Margin | ) |
|
|
inline |
◆ SetScrollbarWidth()
void CListBox::SetScrollbarWidth |
( |
float |
Width | ) |
|
|
inline |
◆ WasItemActivated()
bool CListBox::WasItemActivated |
( |
| ) |
const |
|
inline |
◆ WasItemSelected()
bool CListBox::WasItemSelected |
( |
| ) |
const |
|
inline |
◆ m_Active
◆ m_AutoSpacing
float CListBox::m_AutoSpacing |
|
private |
◆ m_BackgroundCorners
int CListBox::m_BackgroundCorners |
|
private |
◆ m_FooterHeight
float CListBox::m_FooterHeight |
|
private |
◆ m_HasHeader
bool CListBox::m_HasHeader |
|
private |
◆ m_ListBoxItemActivated
bool CListBox::m_ListBoxItemActivated |
|
private |
◆ m_ListBoxItemIndex
int CListBox::m_ListBoxItemIndex |
|
private |
◆ m_ListBoxItemSelected
bool CListBox::m_ListBoxItemSelected |
|
private |
◆ m_ListBoxItemsPerRow
int CListBox::m_ListBoxItemsPerRow |
|
private |
◆ m_ListBoxNewSelected
int CListBox::m_ListBoxNewSelected |
|
private |
◆ m_ListBoxNewSelOffset
int CListBox::m_ListBoxNewSelOffset |
|
private |
◆ m_ListBoxNumItems
int CListBox::m_ListBoxNumItems |
|
private |
◆ m_ListBoxRowHeight
float CListBox::m_ListBoxRowHeight |
|
private |
◆ m_ListBoxSelectedIndex
int CListBox::m_ListBoxSelectedIndex |
|
private |
◆ m_ListBoxUpdateScroll
bool CListBox::m_ListBoxUpdateScroll |
|
private |
◆ m_ListBoxView
◆ m_pBottomText
const char* CListBox::m_pBottomText |
|
private |
◆ m_RowView
◆ m_ScrollbarMargin
float CListBox::m_ScrollbarMargin |
|
private |
◆ m_ScrollbarShown
bool CListBox::m_ScrollbarShown |
|
private |
◆ m_ScrollbarWidth
float CListBox::m_ScrollbarWidth |
|
private |
◆ m_ScrollOffset
vec2 CListBox::m_ScrollOffset |
|
private |
◆ m_ScrollRegion
The documentation for this class was generated from the following files: