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

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

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

#include <charcreatedialog.h>

Inheritance diagram for CharCreateDialog:
Inheritance graph
Collaboration diagram for CharCreateDialog:
Collaboration graph

List of all members.

Public Member Functions

void action (const gcn::ActionEvent &event)
void center ()
 CharCreateDialog (CharSelectDialog *parent, int slot)
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 setAttributes (const std::vector< std::string > &labels, int available, int min, int max)
void setCloseButton (bool flag)
void setContentSize (int width, int height)
void setDefaultSize ()
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 setDefaultVisible (bool save)
void setFixedGender (bool fixed, Gender gender=GENDER_FEMALE)
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 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 unlock ()
virtual void widgetHidden (const gcn::Event &event)
void widgetResized (const gcn::Event &event)
bool willSaveVisible () const
 ~CharCreateDialog ()

Static Public Member Functions

static void setWindowContainer (WindowContainer *windowContainer)

Private Member Functions

void attemptCharCreate ()
int getDistributedPoints () const
std::string getName () const
void updateHair ()
void updateSliders ()

Private Attributes

std::vector< gcn::Label * > mAttributeLabel
gcn::Label * mAttributesLeft
std::vector< gcn::Slider * > mAttributeSlider
std::vector< gcn::Label * > mAttributeValue
gcn::Button * mCancelButton
gcn::Button * mCreateButton
gcn::RadioButton * mFemale
int mHairColor
gcn::Label * mHairColorLabel
int mHairStyle
gcn::Label * mHairStyleLabel
gcn::RadioButton * mMale
int mMaxPoints
gcn::TextField * mNameField
gcn::Label * mNameLabel
gcn::Button * mNextHairColorButton
gcn::Button * mNextHairStyleButton
gcn::Button * mPrevHairColorButton
gcn::Button * mPrevHairStyleButton
int mSlot
int mUsedPoints

Detailed Description

Character creation dialog.

Definition at line 45 of file charcreatedialog.h.

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

Generated by  Doxygen 1.6.0   Back to index