MyGUI 3.4.2
|
widget description should be here. More...
#include <MyGUI_ItemBox.h>
Data Structures | |
struct | ItemDataInfo |
Public Types | |
typedef RTTIBase | Base |
typedef ItemBox | RTTIBase |
![]() | |
typedef RTTIBase | Base |
typedef DDContainer | 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 () |
![]() | |
static const std::string & | getClassTypeName () |
Protected Types | |
typedef std::vector< ItemDataInfo > | VectorItemInfo |
Additional Inherited Members | |
![]() | |
bool | mDropResult |
bool | mNeedDrop |
bool | mStartDrop |
Widget * | mOldDrop |
Widget * | mCurrentSender |
DDItemInfo | mDropInfo |
size_t | mDropSenderIndex |
Widget * | mDropItem |
IntCoord | mDropDimension |
IntPoint | mClickInWidget |
bool | mNeedDragDrop |
DDContainer * | mReseiverContainer |
![]() | |
IntRect | mMargin |
IntCoord | mCoord |
IntPoint | mAbsolutePosition |
bool | mIsMargin |
ICroppedRectangle * | mCroppedParent |
![]() | |
ScrollBar * | mVScroll |
ScrollBar * | mHScroll |
Widget * | mScrollViewClient |
bool | mVisibleHScroll |
bool | mVisibleVScroll |
size_t | mVRange |
size_t | mHRange |
bool | mChangeContentByResize |
widget description should be here.
Definition at line 29 of file MyGUI_ItemBox.h.
Definition at line 34 of file MyGUI_ItemBox.h.
Definition at line 34 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 491 of file MyGUI_ItemBox.cpp.
Reimplemented from MyGUI::Widget.
Definition at line 287 of file MyGUI_ItemBox.cpp.
Reimplemented from MyGUI::Widget.
Definition at line 506 of file MyGUI_ItemBox.cpp.
|
overrideprotectedvirtual |
Reimplemented from MyGUI::DDContainer.
Definition at line 297 of file MyGUI_ItemBox.cpp.
Definition at line 126 of file MyGUI_ItemBox.cpp.
Add an item to the end of a array.
Definition at line 864 of file MyGUI_ItemBox.cpp.
void MyGUI::ItemBox::clearIndexSelected | ( | ) |
Clear item selection.
Definition at line 874 of file MyGUI_ItemBox.cpp.
Clear an item data at a specified position.
Definition at line 879 of file MyGUI_ItemBox.cpp.
|
protected |
Definition at line 251 of file MyGUI_ItemBox.cpp.
Definition at line 34 of file MyGUI_ItemBox.h.
Get item index by item Widget pointer
Definition at line 479 of file MyGUI_ItemBox.cpp.
size_t MyGUI::ItemBox::getIndexSelected | ( | ) | const |
Get index of selected item (ITEM_NONE if none selected)
Definition at line 869 of file MyGUI_ItemBox.cpp.
size_t MyGUI::ItemBox::getItemCount | ( | ) | const |
Get number of items.
Definition at line 859 of file MyGUI_ItemBox.cpp.
Get item data from specified position.
Definition at line 88 of file MyGUI_ItemBox.h.
Definition at line 178 of file MyGUI_ItemBox.cpp.
Get type name as string
Reimplemented from MyGUI::DDContainer.
Definition at line 34 of file MyGUI_ItemBox.h.
bool MyGUI::ItemBox::getVerticalAlignment | ( | ) | const |
Get vertical alignment grid mode flag
Definition at line 884 of file MyGUI_ItemBox.cpp.
IntPoint MyGUI::ItemBox::getViewOffset | ( | ) | const |
Get view area offset.
Definition at line 1000 of file MyGUI_ItemBox.cpp.
|
overridevirtual |
Reimplemented from MyGUI::ScrollViewBase.
Definition at line 834 of file MyGUI_ItemBox.cpp.
Get item Widget pointer by item index if it is visible
Definition at line 521 of file MyGUI_ItemBox.cpp.
Widget * MyGUI::ItemBox::getWidgetDrag | ( | ) | const |
Get widget created for drop
Definition at line 889 of file MyGUI_ItemBox.cpp.
|
overrideprotectedvirtual |
Reimplemented from MyGUI::Widget.
Definition at line 35 of file MyGUI_ItemBox.cpp.
Insert an item into a array at a specified position.
Definition at line 328 of file MyGUI_ItemBox.cpp.
Compare with selected type
Definition at line 34 of file MyGUI_ItemBox.h.
Compare with selected type
Reimplemented from MyGUI::DDContainer.
Definition at line 34 of file MyGUI_ItemBox.h.
bool MyGUI::ItemBox::isVisibleHScroll | ( | ) | const |
Get Show HScroll flag
Definition at line 911 of file MyGUI_ItemBox.cpp.
bool MyGUI::ItemBox::isVisibleVScroll | ( | ) | const |
Get Show VScroll flag
Definition at line 906 of file MyGUI_ItemBox.cpp.
|
protected |
Definition at line 469 of file MyGUI_ItemBox.cpp.
Definition at line 474 of file MyGUI_ItemBox.cpp.
Definition at line 452 of file MyGUI_ItemBox.cpp.
|
protected |
Definition at line 598 of file MyGUI_ItemBox.cpp.
|
protected |
Definition at line 632 of file MyGUI_ItemBox.cpp.
|
protected |
Definition at line 593 of file MyGUI_ItemBox.cpp.
Definition at line 719 of file MyGUI_ItemBox.cpp.
Definition at line 641 of file MyGUI_ItemBox.cpp.
Definition at line 705 of file MyGUI_ItemBox.cpp.
Reimplemented from MyGUI::WidgetInput.
Definition at line 1005 of file MyGUI_ItemBox.cpp.
Reimplemented from MyGUI::WidgetInput.
Definition at line 1012 of file MyGUI_ItemBox.cpp.
Reimplemented from MyGUI::WidgetInput.
Definition at line 225 of file MyGUI_ItemBox.cpp.
Reimplemented from MyGUI::WidgetInput.
Definition at line 218 of file MyGUI_ItemBox.cpp.
|
overrideprotectedvirtual |
Reimplemented from MyGUI::DDContainer.
Definition at line 535 of file MyGUI_ItemBox.cpp.
|
overrideprotectedvirtual |
Reimplemented from MyGUI::DDContainer.
Definition at line 540 of file MyGUI_ItemBox.cpp.
|
overrideprotectedvirtual |
Reimplemented from MyGUI::DDContainer.
Definition at line 545 of file MyGUI_ItemBox.cpp.
Reimplemented from MyGUI::WidgetInput.
Definition at line 211 of file MyGUI_ItemBox.cpp.
void MyGUI::ItemBox::redrawAllItems | ( | ) |
Redraw all items.
Definition at line 809 of file MyGUI_ItemBox.cpp.
Redraw at a specified position.
Definition at line 408 of file MyGUI_ItemBox.cpp.
void MyGUI::ItemBox::removeAllItems | ( | ) |
Remove all items.
Definition at line 391 of file MyGUI_ItemBox.cpp.
|
overrideprotectedvirtual |
Reimplemented from MyGUI::DDContainer.
Definition at line 550 of file MyGUI_ItemBox.cpp.
Remove item at a specified position.
Definition at line 358 of file MyGUI_ItemBox.cpp.
|
protected |
Definition at line 232 of file MyGUI_ItemBox.cpp.
void MyGUI::ItemBox::resetDrag | ( | ) |
Interrupt drag as if widget was dropped into empty space
Definition at line 814 of file MyGUI_ItemBox.cpp.
Set widget position and size
Reimplemented from MyGUI::ICroppedRectangle.
Definition at line 98 of file MyGUI_ItemBox.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 420 of file MyGUI_ItemBox.cpp.
Replace an item data at a specified position.
Definition at line 313 of file MyGUI_ItemBox.cpp.
Set widget position (position of left top corner)
Reimplemented from MyGUI::ICroppedRectangle.
Definition at line 87 of file MyGUI_ItemBox.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::DDContainer.
Definition at line 916 of file MyGUI_ItemBox.cpp.
Set widget size
Reimplemented from MyGUI::ICroppedRectangle.
Definition at line 92 of file MyGUI_ItemBox.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.
Set vertical alignment grid mode
Definition at line 459 of file MyGUI_ItemBox.cpp.
Set view area offset.
Definition at line 939 of file MyGUI_ItemBox.cpp.
Show HScroll when content size larger than view
Definition at line 900 of file MyGUI_ItemBox.cpp.
Show VScroll when content size larger than view
Definition at line 894 of file MyGUI_ItemBox.cpp.
|
overrideprotectedvirtual |
Reimplemented from MyGUI::Widget.
Definition at line 79 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 577 of file MyGUI_ItemBox.cpp.
|
protected |
Definition at line 115 of file MyGUI_ItemBox.cpp.
|
protected |
Definition at line 674 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 180 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 187 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 194 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 173 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 158 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 150 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 166 of file MyGUI_ItemBox.h.