1 #ifndef MWGUI_ITEMVIEW_H
2 #define MWGUI_ITEMVIEW_H
4 #include <MyGUI_Widget.h>
40 virtual void setSize(
const MyGUI::IntSize& _value);
41 virtual void setCoord(
const MyGUI::IntCoord& _value);
ItemModel * mModel
Definition: itemview.hpp:47
void layoutWidgets()
Definition: itemview.cpp:53
void onSelectedItem(MyGUI::Widget *sender)
Definition: itemview.cpp:140
void update()
Definition: itemview.cpp:96
The base class that all item models should derive from.
Definition: itemmodel.hpp:43
Definition: itemview.hpp:11
void resetScrollBars()
Definition: itemview.cpp:135
MyGUI::ScrollView * mScrollView
Definition: itemview.hpp:48
MyGUI::delegates::CMultiDelegate1< ItemModel::ModelIndex > EventHandle_ModelIndex
Definition: itemview.hpp:24
void onSelectedBackground(MyGUI::Widget *sender)
Definition: itemview.cpp:146
virtual void initialiseOverride()
Definition: itemview.cpp:42
void onMouseWheelMoved(MyGUI::Widget *_sender, int _rel)
Definition: itemview.cpp:151
virtual void setSize(const MyGUI::IntSize &_value)
Definition: itemview.cpp:159
EventHandle_ModelIndex eventItemClicked
Fired when an item was clicked.
Definition: itemview.hpp:27
virtual ~ItemView()
Definition: itemview.cpp:26
virtual void setCoord(const MyGUI::IntCoord &_value)
Definition: itemview.cpp:167
void setModel(ItemModel *model)
Takes ownership of model.
Definition: itemview.cpp:31
ItemView()
Definition: itemview.cpp:20
static void registerComponents()
Register needed components with MyGUI's factory manager.
Definition: itemview.cpp:175
EventHandle_Void eventBackgroundClicked
Fired when the background was clicked (useful for drag and drop)
Definition: itemview.hpp:29
MyGUI::delegates::CMultiDelegate0 EventHandle_Void
Definition: itemview.hpp:25