|
MyGUI 3.4.3
|
widget description should be here. More...
#include <MyGUI_ListBox.h>

Public Types | |
| typedef RTTIBase | Base |
| typedef ListBox | RTTIBase |
Public Types inherited from MyGUI::Widget | |
| typedef RTTIBase | Base |
| typedef Widget | RTTIBase |
Public Types inherited from MyGUI::IObject | |
| typedef IObject | RTTIBase |
Static Public Member Functions | |
| static std::string_view | getClassTypeName () |
Static Public Member Functions inherited from MyGUI::Widget | |
| static std::string_view | getClassTypeName () |
Static Public Member Functions inherited from MyGUI::IObject | |
| static std::string_view | getClassTypeName () |
widget description should be here.
Definition at line 27 of file MyGUI_ListBox.h.
Definition at line 29 of file MyGUI_ListBox.h.
Definition at line 29 of file MyGUI_ListBox.h.
|
protected |
Definition at line 955 of file MyGUI_ListBox.cpp.
|
overridevirtual |
Reimplemented from MyGUI::IItemContainer.
Definition at line 1004 of file MyGUI_ListBox.cpp.
| void MyGUI::ListBox::_checkAlign | ( | ) |
Definition at line 830 of file MyGUI_ListBox.cpp.
|
overridevirtual |
Reimplemented from MyGUI::IItemContainer.
Definition at line 999 of file MyGUI_ListBox.cpp.
Reimplemented from MyGUI::Widget.
Definition at line 916 of file MyGUI_ListBox.cpp.
Reimplemented from MyGUI::IItemContainer.
Definition at line 1019 of file MyGUI_ListBox.cpp.
Definition at line 466 of file MyGUI_ListBox.cpp.
Definition at line 416 of file MyGUI_ListBox.cpp.
Reimplemented from MyGUI::IItemContainer.
Definition at line 1009 of file MyGUI_ListBox.cpp.
Reimplemented from MyGUI::Widget.
Definition at line 926 of file MyGUI_ListBox.cpp.
Definition at line 627 of file MyGUI_ListBox.cpp.
Definition at line 809 of file MyGUI_ListBox.cpp.
Definition at line 758 of file MyGUI_ListBox.cpp.
Reimplemented from MyGUI::IItemContainer.
Definition at line 1014 of file MyGUI_ListBox.cpp.
Definition at line 784 of file MyGUI_ListBox.cpp.
Add an item to the end of a array.
Definition at line 873 of file MyGUI_ListBox.cpp.
Move all elements so specified becomes visible.
Definition at line 645 of file MyGUI_ListBox.cpp.
| void MyGUI::ListBox::beginToItemFirst | ( | ) |
Move all elements so first becomes visible.
Definition at line 893 of file MyGUI_ListBox.cpp.
| void MyGUI::ListBox::beginToItemLast | ( | ) |
Move all elements so last becomes visible.
Definition at line 899 of file MyGUI_ListBox.cpp.
| void MyGUI::ListBox::beginToItemSelected | ( | ) |
Move all elements so selected becomes visible.
Definition at line 905 of file MyGUI_ListBox.cpp.
| void MyGUI::ListBox::clearIndexSelected | ( | ) |
Clear item selection
Definition at line 883 of file MyGUI_ListBox.cpp.
Clear an item data at a specified position.
Definition at line 888 of file MyGUI_ListBox.cpp.
Search item, returns the position of the first occurrence in array or ITEM_NONE if item not found.
Definition at line 853 of file MyGUI_ListBox.cpp.
|
inlinestatic |
Definition at line 29 of file MyGUI_ListBox.h.
| size_t MyGUI::ListBox::getIndexSelected | ( | ) | const |
Get index of selected item (ITEM_NONE if none selected)
Definition at line 878 of file MyGUI_ListBox.cpp.
| size_t MyGUI::ListBox::getItemCount | ( | ) | const |
Get number of items.
Definition at line 868 of file MyGUI_ListBox.cpp.
Get item data from specified position.
Definition at line 94 of file MyGUI_ListBox.h.
Get item name from specified position.
Definition at line 733 of file MyGUI_ListBox.cpp.
| int MyGUI::ListBox::getOptimalHeight | ( | ) | const |
Return optimal height to fit all items in ListBox.
Definition at line 863 of file MyGUI_ListBox.cpp.
|
inlineoverridevirtual |
Get type name as string
Reimplemented from MyGUI::Widget.
Definition at line 29 of file MyGUI_ListBox.h.
Get item Widget pointer by item index if it is visible
Definition at line 1060 of file MyGUI_ListBox.cpp.
|
overrideprotectedvirtual |
Reimplemented from MyGUI::Widget.
Definition at line 19 of file MyGUI_ListBox.cpp.
Insert an item into a array at a specified position.
Definition at line 481 of file MyGUI_ListBox.cpp.
Same as ListBox::isItemVisibleAt for selected item.
Definition at line 911 of file MyGUI_ListBox.cpp.
Return true if item visible
| _index | of item |
| _fill | false: function return true when whole item is visible true: function return true when at least part of item is visible |
Definition at line 665 of file MyGUI_ListBox.cpp.
Compare with selected type
Definition at line 29 of file MyGUI_ListBox.h.
Compare with selected type
Reimplemented from MyGUI::Widget.
Definition at line 29 of file MyGUI_ListBox.h.
|
protected |
Definition at line 1031 of file MyGUI_ListBox.cpp.
Definition at line 1036 of file MyGUI_ListBox.cpp.
|
protected |
Definition at line 1041 of file MyGUI_ListBox.cpp.
|
protected |
Definition at line 228 of file MyGUI_ListBox.cpp.
Definition at line 234 of file MyGUI_ListBox.cpp.
Definition at line 749 of file MyGUI_ListBox.cpp.
|
protected |
Definition at line 218 of file MyGUI_ListBox.cpp.
Definition at line 739 of file MyGUI_ListBox.cpp.
Definition at line 183 of file MyGUI_ListBox.cpp.
Definition at line 212 of file MyGUI_ListBox.cpp.
Reimplemented from MyGUI::WidgetInput.
Definition at line 70 of file MyGUI_ListBox.cpp.
Reimplemented from MyGUI::WidgetInput.
Definition at line 1048 of file MyGUI_ListBox.cpp.
Reimplemented from MyGUI::WidgetInput.
Definition at line 63 of file MyGUI_ListBox.cpp.
| void MyGUI::ListBox::removeAllItems | ( | ) |
Remove all items.
Definition at line 698 of file MyGUI_ListBox.cpp.
Remove item at a specified position.
Definition at line 543 of file MyGUI_ListBox.cpp.
Enable "Activate on click" mode that requires a full mouse click (press and release) to activate an item. By default, items are activated on mouse press.
Definition at line 1055 of file MyGUI_ListBox.cpp.
Set widget position and size
Reimplemented from MyGUI::ICroppedRectangle.
Definition at line 253 of file MyGUI_ListBox.cpp.
Set widget position and size
Reimplemented from MyGUI::ICroppedRectangle.
Definition at line 172 of file MyGUI_Widget.cpp.
See Widget::setCoord(const IntCoord& _coord)
Definition at line 179 of file MyGUI_Widget.cpp.
Select specified _index
Definition at line 616 of file MyGUI_ListBox.cpp.
Replace an item data at a specified position.
Definition at line 726 of file MyGUI_ListBox.cpp.
Replace an item name at a specified position.
Definition at line 719 of file MyGUI_ListBox.cpp.
Set widget position (position of left top corner)
Reimplemented from MyGUI::ICroppedRectangle.
Definition at line 240 of file MyGUI_ListBox.cpp.
Set widget position (position of left top corner)
Reimplemented from MyGUI::ICroppedRectangle.
Definition at line 168 of file MyGUI_Widget.cpp.
See Widget::setPosition(const IntPoint& _pos)
Definition at line 175 of file MyGUI_Widget.cpp.
|
overrideprotectedvirtual |
Reimplemented from MyGUI::Widget.
Definition at line 939 of file MyGUI_ListBox.cpp.
Set scroll position.
Definition at line 772 of file MyGUI_ListBox.cpp.
Set scroll visible when it needed.
Definition at line 764 of file MyGUI_ListBox.cpp.
Set widget size
Reimplemented from MyGUI::ICroppedRectangle.
Definition at line 245 of file MyGUI_ListBox.cpp.
Set widget size
Reimplemented from MyGUI::ICroppedRectangle.
Definition at line 170 of file MyGUI_Widget.cpp.
See Widget::setSize(const IntSize& _size)
Definition at line 177 of file MyGUI_Widget.cpp.
|
overrideprotectedvirtual |
Reimplemented from MyGUI::Widget.
Definition at line 56 of file MyGUI_ListBox.cpp.
Swap items at a specified positions.
Definition at line 816 of file MyGUI_ListBox.cpp.
Definition at line 296 of file MyGUI_ListBox.cpp.
|
protected |
Definition at line 261 of file MyGUI_ListBox.cpp.
| EventPair<EventHandle_WidgetSizeT, EventHandle_ListPtrSizeT> MyGUI::ListBox::eventListChangePosition |
Event : Selected item position changed.
signature : void method(MyGUI::ListBox* _sender, size_t _index)
| _sender | widget that called this event |
| _index | of new item |
Definition at line 198 of file MyGUI_ListBox.h.
| EventPair<EventHandle_WidgetSizeT, EventHandle_ListPtrSizeT> MyGUI::ListBox::eventListChangeScroll |
Event : Position of scroll changed.
signature : void method(MyGUI::ListBox* _sender, size_t _position)
| _sender | widget that called this event |
| _position | of scroll |
Definition at line 219 of file MyGUI_ListBox.h.
| EventPair<EventHandle_WidgetSizeT, EventHandle_ListPtrSizeT> MyGUI::ListBox::eventListMouseItemActivate |
Event : Item was selected by mouse.
signature : void method(MyGUI::ListBox* _sender, size_t _index)
| _sender | widget that called this event |
| _index | index of selected item |
Definition at line 205 of file MyGUI_ListBox.h.
| EventPair<EventHandle_WidgetSizeT, EventHandle_ListPtrSizeT> MyGUI::ListBox::eventListMouseItemFocus |
Event : Mouse is over item.
signature : void method(MyGUI::ListBox* _sender, size_t _index)
| _sender | widget that called this event |
| _index | of focused item |
Definition at line 212 of file MyGUI_ListBox.h.
| EventPair<EventHandle_WidgetSizeT, EventHandle_ListPtrSizeT> MyGUI::ListBox::eventListSelectAccept |
Event : Enter pressed or double click.
signature : void method(MyGUI::ListBox* _sender, size_t _index)
| _sender | widget that called this event |
| _index | of selected item |
Definition at line 191 of file MyGUI_ListBox.h.
| EventHandle_ListBoxPtrCIBNotifyCellDataRef MyGUI::ListBox::eventNotifyItem |
Event : Notify about event in item widget.
signature : void method(MyGUI::ListBox* _sender, const MyGUI::IBNotifyItemData& _info)
| _sender | widget that called this event |
| _info | info about item notify |
Definition at line 226 of file MyGUI_ListBox.h.