OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Private Types | Private Member Functions | Private Attributes | List of all members
MWGui::ItemChargeView Class Reference

#include <itemchargeview.hpp>

Inheritance diagram for MWGui::ItemChargeView:
Collaboration diagram for MWGui::ItemChargeView:

Classes

struct  Line
 

Public Types

enum  DisplayMode { DisplayMode_Health, DisplayMode_EnchantmentCharge }
 

Public Member Functions

 ItemChargeView ()
 
virtual void initialiseOverride ()
 
void setModel (ItemModel *model)
 Takes ownership of model. More...
 
void setDisplayMode (DisplayMode type)
 
void update ()
 
void layoutWidgets ()
 
void resetScrollbars ()
 
virtual void setSize (const MyGUI::IntSize &value)
 
virtual void setCoord (const MyGUI::IntCoord &value)
 

Static Public Member Functions

static void registerComponents ()
 Register needed components with MyGUI's factory manager. More...
 

Public Attributes

MyGUI::delegates::CMultiDelegate2
< MyGUI::Widget *, const
MWWorld::Ptr & > 
eventItemClicked
 

Private Types

typedef std::vector< LineLines
 

Private Member Functions

void updateLine (const Line &line)
 
void onIconClicked (MyGUI::Widget *sender)
 
void onMouseWheelMoved (MyGUI::Widget *sender, int rel)
 

Private Attributes

Lines mLines
 
std::auto_ptr< ItemModelmModel
 
MyGUI::ScrollView * mScrollView
 
DisplayMode mDisplayMode
 

Member Typedef Documentation

typedef std::vector<Line> MWGui::ItemChargeView::Lines
private

Member Enumeration Documentation

Enumerator
DisplayMode_Health 
DisplayMode_EnchantmentCharge 

Constructor & Destructor Documentation

MWGui::ItemChargeView::ItemChargeView ( )

Member Function Documentation

void MWGui::ItemChargeView::initialiseOverride ( )
virtual
void MWGui::ItemChargeView::layoutWidgets ( )

Here is the caller graph for this function:

void MWGui::ItemChargeView::onIconClicked ( MyGUI::Widget *  sender)
private

Here is the caller graph for this function:

void MWGui::ItemChargeView::onMouseWheelMoved ( MyGUI::Widget *  sender,
int  rel 
)
private

Here is the caller graph for this function:

void MWGui::ItemChargeView::registerComponents ( )
static

Register needed components with MyGUI's factory manager.

Here is the caller graph for this function:

void MWGui::ItemChargeView::resetScrollbars ( )

Here is the caller graph for this function:

void MWGui::ItemChargeView::setCoord ( const MyGUI::IntCoord &  value)
virtual

Here is the call graph for this function:

void MWGui::ItemChargeView::setDisplayMode ( ItemChargeView::DisplayMode  type)

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::ItemChargeView::setModel ( ItemModel model)

Takes ownership of model.

Here is the caller graph for this function:

void MWGui::ItemChargeView::setSize ( const MyGUI::IntSize &  value)
virtual

Here is the call graph for this function:

void MWGui::ItemChargeView::update ( )

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::ItemChargeView::updateLine ( const Line line)
private

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

MyGUI::delegates::CMultiDelegate2<MyGUI::Widget*, const MWWorld::Ptr&> MWGui::ItemChargeView::eventItemClicked
DisplayMode MWGui::ItemChargeView::mDisplayMode
private
Lines MWGui::ItemChargeView::mLines
private
std::auto_ptr<ItemModel> MWGui::ItemChargeView::mModel
private
MyGUI::ScrollView* MWGui::ItemChargeView::mScrollView
private

The documentation for this class was generated from the following files: