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

Data Structures | |
| struct | ItemDataInfo |
Public Types | |
| typedef RTTIBase | Base |
| typedef ItemBox | RTTIBase |
Public Types inherited from MyGUI::DDContainer | |
| typedef RTTIBase | Base |
| typedef DDContainer | 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::DDContainer | |
| 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 () |
Protected Types | |
| using | VectorItemInfo = std::vector<ItemDataInfo> |
Additional Inherited Members | |
Protected Attributes inherited from MyGUI::DDContainer | |
| bool | mDropResult {false} |
| bool | mNeedDrop {false} |
| bool | mStartDrop {false} |
| Widget * | mOldDrop {nullptr} |
| DDItemInfo | mDropInfo |
| size_t | mDropSenderIndex {ITEM_NONE} |
| Widget * | mDropItem {nullptr} |
| IntCoord | mDropDimension |
| IntPoint | mClickInWidget |
| bool | mNeedDragDrop {false} |
| DDContainer * | mReseiverContainer {nullptr} |
Protected Attributes inherited from MyGUI::ICroppedRectangle | |
| IntRect | mMargin |
| IntCoord | mCoord |
| IntPoint | mAbsolutePosition |
| bool | mIsMargin {false} |
| ICroppedRectangle * | mCroppedParent {nullptr} |
Protected Attributes inherited from MyGUI::ScrollViewBase | |
| ScrollBar * | mVScroll {nullptr} |
| ScrollBar * | mHScroll {nullptr} |
| Widget * | mScrollViewClient {nullptr} |
| bool | mVisibleHScroll {true} |
| bool | mVisibleVScroll {true} |
| size_t | mVRange {0} |
| size_t | mHRange {0} |
| bool | mChangeContentByResize {false} |
widget description should be here.
Definition at line 30 of file MyGUI_ItemBox.h.
Definition at line 32 of file MyGUI_ItemBox.h.
Definition at line 32 of file MyGUI_ItemBox.h.
|
protected |
Definition at line 209 of file MyGUI_ItemBox.h.
| MyGUI::ItemBox::ItemBox | ( | ) |
Definition at line 19 of file MyGUI_ItemBox.cpp.
Reimplemented from MyGUI::Widget.
Definition at line 489 of file MyGUI_ItemBox.cpp.
Reimplemented from MyGUI::Widget.
Definition at line 282 of file MyGUI_ItemBox.cpp.
Reimplemented from MyGUI::Widget.
Definition at line 504 of file MyGUI_ItemBox.cpp.
|
overrideprotectedvirtual |
Reimplemented from MyGUI::DDContainer.
Definition at line 292 of file MyGUI_ItemBox.cpp.
Definition at line 117 of file MyGUI_ItemBox.cpp.
Add an item to the end of a array.
Definition at line 878 of file MyGUI_ItemBox.cpp.
| void MyGUI::ItemBox::clearIndexSelected | ( | ) |
Clear item selection.
Definition at line 888 of file MyGUI_ItemBox.cpp.
Clear an item data at a specified position.
Definition at line 893 of file MyGUI_ItemBox.cpp.
|
protected |
Definition at line 247 of file MyGUI_ItemBox.cpp.
|
inlinestatic |
Definition at line 32 of file MyGUI_ItemBox.h.
Get item index by item Widget pointer
Definition at line 476 of file MyGUI_ItemBox.cpp.
| size_t MyGUI::ItemBox::getIndexSelected | ( | ) | const |
Get index of selected item (ITEM_NONE if none selected)
Definition at line 883 of file MyGUI_ItemBox.cpp.
| size_t MyGUI::ItemBox::getItemCount | ( | ) | const |
Get number of items.
Definition at line 873 of file MyGUI_ItemBox.cpp.
Get item data from specified position.
Definition at line 86 of file MyGUI_ItemBox.h.
Definition at line 171 of file MyGUI_ItemBox.cpp.
|
inlineoverridevirtual |
Get type name as string
Reimplemented from MyGUI::DDContainer.
Definition at line 32 of file MyGUI_ItemBox.h.
| bool MyGUI::ItemBox::getVerticalAlignment | ( | ) | const |
Get vertical alignment grid mode flag
Definition at line 898 of file MyGUI_ItemBox.cpp.
| IntPoint MyGUI::ItemBox::getViewOffset | ( | ) | const |
Get view area offset.
Definition at line 1014 of file MyGUI_ItemBox.cpp.
|
overridevirtual |
Reimplemented from MyGUI::ScrollViewBase.
Definition at line 848 of file MyGUI_ItemBox.cpp.
Get item Widget pointer by item index if it is visible
Definition at line 519 of file MyGUI_ItemBox.cpp.
| Widget * MyGUI::ItemBox::getWidgetDrag | ( | ) | const |
Get widget created for drop
Definition at line 903 of file MyGUI_ItemBox.cpp.
|
overrideprotectedvirtual |
Reimplemented from MyGUI::Widget.
Definition at line 24 of file MyGUI_ItemBox.cpp.
Insert an item into a array at a specified position.
Definition at line 324 of file MyGUI_ItemBox.cpp.
Compare with selected type
Definition at line 32 of file MyGUI_ItemBox.h.
Compare with selected type
Reimplemented from MyGUI::DDContainer.
Definition at line 32 of file MyGUI_ItemBox.h.
| bool MyGUI::ItemBox::isVisibleHScroll | ( | ) | const |
Get Show HScroll flag
Definition at line 925 of file MyGUI_ItemBox.cpp.
| bool MyGUI::ItemBox::isVisibleVScroll | ( | ) | const |
Get Show VScroll flag
Definition at line 920 of file MyGUI_ItemBox.cpp.
|
protected |
Definition at line 466 of file MyGUI_ItemBox.cpp.
Definition at line 471 of file MyGUI_ItemBox.cpp.
Definition at line 449 of file MyGUI_ItemBox.cpp.
|
protected |
Definition at line 604 of file MyGUI_ItemBox.cpp.
|
protected |
Definition at line 642 of file MyGUI_ItemBox.cpp.
|
protected |
Definition at line 599 of file MyGUI_ItemBox.cpp.
Definition at line 733 of file MyGUI_ItemBox.cpp.
Definition at line 653 of file MyGUI_ItemBox.cpp.
Definition at line 719 of file MyGUI_ItemBox.cpp.
Reimplemented from MyGUI::WidgetInput.
Definition at line 1019 of file MyGUI_ItemBox.cpp.
Reimplemented from MyGUI::WidgetInput.
Definition at line 1026 of file MyGUI_ItemBox.cpp.
Reimplemented from MyGUI::WidgetInput.
Definition at line 221 of file MyGUI_ItemBox.cpp.
Reimplemented from MyGUI::WidgetInput.
Definition at line 214 of file MyGUI_ItemBox.cpp.
|
overrideprotectedvirtual |
Reimplemented from MyGUI::DDContainer.
Definition at line 534 of file MyGUI_ItemBox.cpp.
|
overrideprotectedvirtual |
Reimplemented from MyGUI::DDContainer.
Definition at line 539 of file MyGUI_ItemBox.cpp.
|
overrideprotectedvirtual |
Reimplemented from MyGUI::DDContainer.
Definition at line 544 of file MyGUI_ItemBox.cpp.
Reimplemented from MyGUI::WidgetInput.
Definition at line 207 of file MyGUI_ItemBox.cpp.
| void MyGUI::ItemBox::redrawAllItems | ( | ) |
Redraw all items.
Definition at line 823 of file MyGUI_ItemBox.cpp.
Redraw at a specified position.
Definition at line 405 of file MyGUI_ItemBox.cpp.
| void MyGUI::ItemBox::removeAllItems | ( | ) |
Remove all items.
Definition at line 388 of file MyGUI_ItemBox.cpp.
|
overrideprotectedvirtual |
Reimplemented from MyGUI::DDContainer.
Definition at line 549 of file MyGUI_ItemBox.cpp.
Remove item at a specified position.
Definition at line 355 of file MyGUI_ItemBox.cpp.
|
protected |
Definition at line 228 of file MyGUI_ItemBox.cpp.
| void MyGUI::ItemBox::resetDrag | ( | ) |
Interrupt drag as if widget was dropped into empty space
Definition at line 828 of file MyGUI_ItemBox.cpp.
Set widget position and size
Reimplemented from MyGUI::ICroppedRectangle.
Definition at line 87 of file MyGUI_ItemBox.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 417 of file MyGUI_ItemBox.cpp.
Replace an item data at a specified position.
Definition at line 309 of file MyGUI_ItemBox.cpp.
Set widget position (position of left top corner)
Reimplemented from MyGUI::ICroppedRectangle.
Definition at line 76 of file MyGUI_ItemBox.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::DDContainer.
Definition at line 930 of file MyGUI_ItemBox.cpp.
Set widget size
Reimplemented from MyGUI::ICroppedRectangle.
Definition at line 81 of file MyGUI_ItemBox.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.
Set vertical alignment grid mode
Definition at line 456 of file MyGUI_ItemBox.cpp.
Set view area offset.
Definition at line 953 of file MyGUI_ItemBox.cpp.
Show HScroll when content size larger than view
Definition at line 914 of file MyGUI_ItemBox.cpp.
Show VScroll when content size larger than view
Definition at line 908 of file MyGUI_ItemBox.cpp.
|
overrideprotectedvirtual |
Reimplemented from MyGUI::Widget.
Definition at line 68 of file MyGUI_ItemBox.cpp.
|
overrideprotectedvirtual |
Reimplemented from MyGUI::DDContainer.
Definition at line 555 of file MyGUI_ItemBox.cpp.
|
overrideprotectedvirtual |
Reimplemented from MyGUI::DDContainer.
Definition at line 583 of file MyGUI_ItemBox.cpp.
|
protected |
Definition at line 106 of file MyGUI_ItemBox.cpp.
|
protected |
Definition at line 686 of file MyGUI_ItemBox.cpp.
| EventHandle_ItemBoxPtrSizeT MyGUI::ItemBox::eventChangeItemPosition |
Event : Position of selected item was changed.
signature : void method(MyGUI::ItemBox* _sender, size_t _index)
| _sender | widget that called this event |
| _index | item index |
Definition at line 178 of file MyGUI_ItemBox.h.
| EventHandle_ItemBoxPtrSizeT MyGUI::ItemBox::eventMouseItemActivate |
Event : Click on item.
signature : void method(MyGUI::ItemBox* _sender, size_t _index)
| _sender | widget that called this event |
| _index | item index |
Definition at line 185 of file MyGUI_ItemBox.h.
| EventHandle_ItemBoxPtrCIBNotifyCellDataRef MyGUI::ItemBox::eventNotifyItem |
Event : Notify about event in item widget.
signature : void method(MyGUI::ItemBox* _sender, const MyGUI::IBNotifyItemData& _info)
| _sender | widget that called this event |
| _info | info about item notify |
Definition at line 192 of file MyGUI_ItemBox.h.
| EventHandle_ItemBoxPtrSizeT MyGUI::ItemBox::eventSelectItemAccept |
Event : Doubleclick or enter pressed on item.
signature : void method(MyGUI::ItemBox* _sender, size_t _index)
| _sender | widget that called this event |
| _index | item index |
Definition at line 171 of file MyGUI_ItemBox.h.
| EventHandle_ItemBoxPtrIntCoordRefBool MyGUI::ItemBox::requestCoordItem |
Event : Request for item coordinate.
signature : void method(MyGUI::ItemBox* _sender, MyGUI::IntCoord& _coord, bool _drag)
| _sender | widget that called this event |
| _coord | write heer item coordinate |
| _drag | is this item dragging |
Definition at line 156 of file MyGUI_ItemBox.h.
| EventHandle_ItemBoxPtrWidgetPtr MyGUI::ItemBox::requestCreateWidgetItem |
Event : Request for creating new item.
signature : void method(MyGUI::ItemBox* _sender, MyGUI::Widget* _item)
| _sender | widget that called this event |
| _item | widget item pointer |
Definition at line 148 of file MyGUI_ItemBox.h.
| EventHandle_ItemBoxPtrWidgetPtrCIBCellDrawInfoRef MyGUI::ItemBox::requestDrawItem |
Event : Request for item redraw.
signature : void method(MyGUI::ItemBox* _sender, MyGUI::Widget* _item, const MyGUI::IBDrawItemInfo& _info)
| _sender | widget that called this event |
| _item | widget item pointer |
| _info | item info |
Definition at line 164 of file MyGUI_ItemBox.h.