Logo Search packages:      
Sourcecode: mana version File versions  Download package

Public Member Functions | Static Public Member Functions | Private Types | Private Attributes | Static Private Attributes

InventoryWindow Class Reference
[User interface related classes (windows, dialogs)]

#include <inventorywindow.h>

Inheritance diagram for InventoryWindow:
Inheritance graph
[legend]
Collaboration diagram for InventoryWindow:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void action (const gcn::ActionEvent &event)
void center ()
void clearLayout ()
void close ()
void draw (gcn::Graphics *graphics)
int getGuiAlpha ()
LayoutgetLayout ()
int getMaxHeight () const
int getMaxWidth () const
int getMinHeight () const
int getMinWidth () const
WindowgetParentWindow () const
ContainerPlacer getPlacer (int x, int y)
ItemgetSelectedItem () const
const std::string & getWindowName () const
 InventoryWindow (Inventory *inventory)
bool isDefaultVisible () const
bool isMainInventory ()
bool isResizable () const
bool isSticky () const
void keyPressed (gcn::KeyEvent &event)
void keyReleased (gcn::KeyEvent &event)
void loadWindowState ()
void mouseClicked (gcn::MouseEvent &event)
void mouseDragged (gcn::MouseEvent &event)
void mouseExited (gcn::MouseEvent &event)
void mouseMoved (gcn::MouseEvent &event)
void mousePressed (gcn::MouseEvent &event)
void mouseReleased (gcn::MouseEvent &event)
LayoutCellplace (int x, int y, gcn::Widget *, int w=1, int h=1)
void redraw ()
void reflowLayout (int w=0, int h=0)
virtual void resetToDefaultSize ()
void saveWindowState ()
void scheduleDelete ()
void setCloseButton (bool flag)
void setContentSize (int width, int height)
void setDefaultSize (int defaultWidth, int defaultHeight, ImageRect::ImagePosition position, int offsetx=0, int offsetY=0)
void setDefaultSize (int defaultX, int defaultY, int defaultWidth, int defaultHeight)
void setDefaultSize ()
void setDefaultVisible (bool save)
void setLocationRelativeTo (gcn::Widget *widget)
void setLocationRelativeTo (ImageRect::ImagePosition position, int offsetX=0, int offsetY=0)
void setMaxHeight (int height)
void setMaxWidth (int width)
void setMinHeight (int height)
void setMinWidth (int width)
void setResizable (bool resize)
void setSaveVisible (bool save)
void setShowTitle (bool flag)
void setSplitAllowed (bool allowed)
void setSticky (bool sticky)
void setStickyButton (bool flag)
virtual void setVisible (bool visible)
void setVisible (bool visible, bool forceSticky)
void setWindowName (const std::string &name)
void slotsChanged (Inventory *inventory)
void updateButtons ()
void updateWeight ()
void valueChanged (const gcn::SelectionEvent &event)
virtual void widgetHidden (const gcn::Event &event)
void widgetResized (const gcn::Event &event)
bool willSaveVisible () const
 ~InventoryWindow ()

Static Public Member Functions

static bool isStorageActive ()
static void setWindowContainer (WindowContainer *windowContainer)

Private Types

typedef std::list
< InventoryWindow * > 
WindowList

Private Attributes

gcn::Button * mDropButton
InventorymInventory
ItemContainermItems
gcn::Button * mOutfitButton
gcn::Button * mRetrieveButton
std::string mSlots
ProgressBarmSlotsBar
gcn::Label * mSlotsLabel
bool mSplit
gcn::Button * mSplitButton
gcn::Button * mStoreButton
gcn::Button * mUseButton
std::string mWeight
ProgressBarmWeightBar
gcn::Label * mWeightLabel

Static Private Attributes

static WindowList instances

Detailed Description

Inventory dialog.

Definition at line 46 of file inventorywindow.h.


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

Generated by  Doxygen 1.6.0   Back to index