1 #ifndef MWGUI_ITEMCHARGEVIEW_H
2 #define MWGUI_ITEMCHARGEVIEW_H
7 #include <MyGUI_Widget.h>
9 #include "../mwworld/ptr.hpp"
50 virtual void setSize(
const MyGUI::IntSize& value);
51 virtual void setCoord(
const MyGUI::IntCoord& value);
53 MyGUI::delegates::CMultiDelegate2<MyGUI::Widget*, const MWWorld::Ptr&>
eventItemClicked;
69 typedef std::vector<Line>
Lines;
MyGUI::delegates::CMultiDelegate2< MyGUI::Widget *, const MWWorld::Ptr & > eventItemClicked
Definition: itemchargeview.hpp:53
The base class that all item models should derive from.
Definition: itemmodel.hpp:43
ItemChargeView()
Definition: itemchargeview.cpp:23
Definition: itemchargeview.hpp:30
void onIconClicked(MyGUI::Widget *sender)
Definition: itemchargeview.cpp:200
void update()
Definition: itemchargeview.cpp:56
DisplayMode mDisplayMode
Definition: itemchargeview.hpp:74
Definition: itemchargeview.hpp:31
void resetScrollbars()
Definition: itemchargeview.cpp:149
std::vector< Line > Lines
Definition: itemchargeview.hpp:69
void layoutWidgets()
Definition: itemchargeview.cpp:129
Lines mLines
Definition: itemchargeview.hpp:70
std::auto_ptr< ItemModel > mModel
Definition: itemchargeview.hpp:72
ItemWidget * mIcon
Definition: itemchargeview.hpp:60
void onMouseWheelMoved(MyGUI::Widget *sender, int rel)
Definition: itemchargeview.cpp:205
void setModel(ItemModel *model)
Takes ownership of model.
Definition: itemchargeview.cpp:45
virtual void initialiseOverride()
Definition: itemchargeview.cpp:34
MyGUI::ScrollView * mScrollView
Definition: itemchargeview.hpp:73
static void registerComponents()
Register needed components with MyGUI's factory manager.
Definition: itemchargeview.cpp:29
Definition: itemchargeview.hpp:56
virtual void setSize(const MyGUI::IntSize &value)
Definition: itemchargeview.cpp:154
Widgets::MWDynamicStatPtr mCharge
Definition: itemchargeview.hpp:61
void updateLine(const Line &line)
Definition: itemchargeview.cpp:170
MWWorld::Ptr mItemPtr
Definition: itemchargeview.hpp:58
Pointer to a LiveCellRef.
Definition: ptr.hpp:19
DisplayMode
Definition: itemchargeview.hpp:28
MyGUI::TextBox * mText
Definition: itemchargeview.hpp:59
Definition: itemchargeview.hpp:24
void setDisplayMode(DisplayMode type)
Definition: itemchargeview.cpp:50
virtual void setCoord(const MyGUI::IntCoord &value)
Definition: itemchargeview.cpp:162