MyGUI 3.4.2
|
widget description should be here. More...
#include <MyGUI_ListBox.h>
Public Types | |
typedef RTTIBase | Base |
typedef ListBox | RTTIBase |
![]() | |
typedef RTTIBase | Base |
typedef Widget | RTTIBase |
![]() | |
typedef IObject | RTTIBase |
Static Public Member Functions | |
static const std::string & | getClassTypeName () |
![]() | |
static const std::string & | getClassTypeName () |
![]() | |
static const std::string & | getClassTypeName () |
widget description should be here.
Definition at line 27 of file MyGUI_ListBox.h.
Definition at line 32 of file MyGUI_ListBox.h.
Definition at line 32 of file MyGUI_ListBox.h.
MyGUI::ListBox::ListBox | ( | ) |
Definition at line 19 of file MyGUI_ListBox.cpp.
|
protected |
Definition at line 947 of file MyGUI_ListBox.cpp.
|
overridevirtual |
Reimplemented from MyGUI::IItemContainer.
Definition at line 991 of file MyGUI_ListBox.cpp.
void MyGUI::ListBox::_checkAlign | ( | ) |
Definition at line 822 of file MyGUI_ListBox.cpp.
|
overridevirtual |
Reimplemented from MyGUI::IItemContainer.
Definition at line 986 of file MyGUI_ListBox.cpp.
Reimplemented from MyGUI::Widget.
Definition at line 908 of file MyGUI_ListBox.cpp.
Reimplemented from MyGUI::IItemContainer.
Definition at line 1006 of file MyGUI_ListBox.cpp.
Definition at line 465 of file MyGUI_ListBox.cpp.
Definition at line 415 of file MyGUI_ListBox.cpp.
Reimplemented from MyGUI::IItemContainer.
Definition at line 996 of file MyGUI_ListBox.cpp.
Reimplemented from MyGUI::Widget.
Definition at line 918 of file MyGUI_ListBox.cpp.
Definition at line 617 of file MyGUI_ListBox.cpp.
Definition at line 801 of file MyGUI_ListBox.cpp.
Definition at line 750 of file MyGUI_ListBox.cpp.
Reimplemented from MyGUI::IItemContainer.
Definition at line 1001 of file MyGUI_ListBox.cpp.
Definition at line 776 of file MyGUI_ListBox.cpp.
Add an item to the end of a array.
Definition at line 865 of file MyGUI_ListBox.cpp.
Move all elements so specified becomes visible.
Definition at line 635 of file MyGUI_ListBox.cpp.
void MyGUI::ListBox::beginToItemFirst | ( | ) |
Move all elements so first becomes visible.
Definition at line 885 of file MyGUI_ListBox.cpp.
void MyGUI::ListBox::beginToItemLast | ( | ) |
Move all elements so last becomes visible.
Definition at line 891 of file MyGUI_ListBox.cpp.
void MyGUI::ListBox::beginToItemSelected | ( | ) |
Move all elements so selected becomes visible.
Definition at line 897 of file MyGUI_ListBox.cpp.
void MyGUI::ListBox::clearIndexSelected | ( | ) |
Clear item selection
Definition at line 875 of file MyGUI_ListBox.cpp.
Clear an item data at a specified position.
Definition at line 880 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 845 of file MyGUI_ListBox.cpp.
Definition at line 32 of file MyGUI_ListBox.h.
size_t MyGUI::ListBox::getIndexSelected | ( | ) | const |
Get index of selected item (ITEM_NONE if none selected)
Definition at line 870 of file MyGUI_ListBox.cpp.
size_t MyGUI::ListBox::getItemCount | ( | ) | const |
Get number of items.
Definition at line 860 of file MyGUI_ListBox.cpp.
Get item data from specified position.
Definition at line 99 of file MyGUI_ListBox.h.
Get item name from specified position.
Definition at line 724 of file MyGUI_ListBox.cpp.
int MyGUI::ListBox::getOptimalHeight | ( | ) | const |
Return optimal height to fit all items in ListBox.
Definition at line 855 of file MyGUI_ListBox.cpp.
Get type name as string
Reimplemented from MyGUI::Widget.
Definition at line 32 of file MyGUI_ListBox.h.
Get item Widget pointer by item index if it is visible
Definition at line 1045 of file MyGUI_ListBox.cpp.
|
overrideprotectedvirtual |
Reimplemented from MyGUI::Widget.
Definition at line 33 of file MyGUI_ListBox.cpp.
Insert an item into a array at a specified position.
Definition at line 480 of file MyGUI_ListBox.cpp.
Same as ListBox::isItemVisibleAt for selected item.
Definition at line 903 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 654 of file MyGUI_ListBox.cpp.
Compare with selected type
Definition at line 32 of file MyGUI_ListBox.h.
Compare with selected type
Reimplemented from MyGUI::Widget.
Definition at line 32 of file MyGUI_ListBox.h.
|
protected |
Definition at line 1018 of file MyGUI_ListBox.cpp.
Definition at line 1023 of file MyGUI_ListBox.cpp.
|
protected |
Definition at line 1028 of file MyGUI_ListBox.cpp.
|
protected |
Definition at line 240 of file MyGUI_ListBox.cpp.
Definition at line 246 of file MyGUI_ListBox.cpp.
Definition at line 741 of file MyGUI_ListBox.cpp.
|
protected |
Definition at line 232 of file MyGUI_ListBox.cpp.
Definition at line 730 of file MyGUI_ListBox.cpp.
Definition at line 197 of file MyGUI_ListBox.cpp.
Definition at line 226 of file MyGUI_ListBox.cpp.
Reimplemented from MyGUI::WidgetInput.
Definition at line 84 of file MyGUI_ListBox.cpp.
Reimplemented from MyGUI::WidgetInput.
Definition at line 1033 of file MyGUI_ListBox.cpp.
Reimplemented from MyGUI::WidgetInput.
Definition at line 77 of file MyGUI_ListBox.cpp.
void MyGUI::ListBox::removeAllItems | ( | ) |
Remove all items.
Definition at line 689 of file MyGUI_ListBox.cpp.
Remove item at a specified position.
Definition at line 538 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 1040 of file MyGUI_ListBox.cpp.
Set widget position and size
Reimplemented from MyGUI::ICroppedRectangle.
Definition at line 265 of file MyGUI_ListBox.cpp.
Set widget position and size
Reimplemented from MyGUI::ICroppedRectangle.
Definition at line 116 of file MyGUI_Widget.cpp.
See Widget::setCoord(const IntCoord& _coord)
Definition at line 123 of file MyGUI_Widget.cpp.
Select specified _index
Definition at line 606 of file MyGUI_ListBox.cpp.
Replace an item data at a specified position.
Definition at line 717 of file MyGUI_ListBox.cpp.
Replace an item name at a specified position.
Definition at line 710 of file MyGUI_ListBox.cpp.
Set widget position (position of left top corner)
Reimplemented from MyGUI::ICroppedRectangle.
Definition at line 252 of file MyGUI_ListBox.cpp.
Set widget position (position of left top corner)
Reimplemented from MyGUI::ICroppedRectangle.
Definition at line 112 of file MyGUI_Widget.cpp.
See Widget::setPosition(const IntPoint& _pos)
Definition at line 119 of file MyGUI_Widget.cpp.
|
overrideprotectedvirtual |
Reimplemented from MyGUI::Widget.
Definition at line 931 of file MyGUI_ListBox.cpp.
Set scroll position.
Definition at line 764 of file MyGUI_ListBox.cpp.
Set scroll visible when it needed.
Definition at line 756 of file MyGUI_ListBox.cpp.
Set widget size
Reimplemented from MyGUI::ICroppedRectangle.
Definition at line 257 of file MyGUI_ListBox.cpp.
Set widget size
Reimplemented from MyGUI::ICroppedRectangle.
Definition at line 114 of file MyGUI_Widget.cpp.
See Widget::setSize(const IntSize& _size)
Definition at line 121 of file MyGUI_Widget.cpp.
|
overrideprotectedvirtual |
Reimplemented from MyGUI::Widget.
Definition at line 70 of file MyGUI_ListBox.cpp.
Swap items at a specified positions.
Definition at line 808 of file MyGUI_ListBox.cpp.
Definition at line 303 of file MyGUI_ListBox.cpp.
|
protected |
Definition at line 273 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 203 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 224 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 210 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 217 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 196 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 231 of file MyGUI_ListBox.h.