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

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

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

#include <statuswindow.h>

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

List of all members.

Public Types

enum  {
  HP = -1, MP = -2, EXP = -3, MONEY = -4,
  CHAR_POINTS = -5, LEVEL = -6
}

Public Member Functions

void addAttribute (int id, const std::string &name, bool modifiable, const std::string &description)
void center ()
void clearLayout ()
virtual 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)
const std::string & getWindowName () const
bool isDefaultVisible () const
bool isResizable () const
bool isSticky () const
void loadWindowState ()
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 ()
void setDefaultSize (int defaultX, int defaultY, int defaultWidth, int defaultHeight)
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 setPointsNeeded (int id, int needed)
void setResizable (bool resize)
void setSaveVisible (bool save)
void setShowTitle (bool flag)
void setSticky (bool sticky)
void setStickyButton (bool flag)
void setVisible (bool visible, bool forceSticky)
virtual void setVisible (bool visible)
void setWindowName (const std::string &name)
 StatusWindow ()
std::string update (int id)
void updateAttrs ()
void updateProgressBar (ProgressBar *bar, int id, bool percent=true)
virtual void widgetHidden (const gcn::Event &event)
void widgetResized (const gcn::Event &event)
bool willSaveVisible () const

Static Public Member Functions

static void setWindowContainer (WindowContainer *windowContainer)
static void updateHPBar (ProgressBar *bar, bool showMax=false)
static void updateMPBar (ProgressBar *bar, bool showMax=false)
static void updateProgressBar (ProgressBar *bar, int value, int max, bool percent)
static void updateXPBar (ProgressBar *bar, bool percent=true)

Private Types

typedef std::map< int,
AttrDisplay * > 
Attrs

Private Attributes

VertContainermAttrCont
Attrs mAttrs
ScrollAreamAttrScroll
gcn::Label * mCharacterPointsLabel
gcn::Label * mCorrectionPointsLabel
VertContainermDAttrCont
ScrollAreamDAttrScroll
ProgressBarmHpBar
gcn::Label * mHpLabel
ProgressBarmJobBar
gcn::Label * mJobLabel
gcn::Label * mJobLvlLabel
gcn::Label * mLvlLabel
gcn::Label * mMoneyLabel
ProgressBarmMpBar
gcn::Label * mMpLabel
ProgressBarmXpBar
gcn::Label * mXpLabel

Detailed Description

The player status dialog.

Definition at line 43 of file statuswindow.h.


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

Generated by  Doxygen 1.6.0   Back to index