MyGUI::Progress Class Reference

#include <MyGUI_Progress.h>

Inheritance diagram for MyGUI::Progress:
Inheritance graph
[legend]

Public Member Functions

 Progress ()
void setProgressRange (size_t _value)
size_t getProgressRange ()
void setProgressPosition (size_t _value)
size_t getProgressPosition ()
void setProgressAutoTrack (bool _value)
bool getProgressAutoTrack ()
void setProgressStartPoint (Align _value)
Align getProgressStartPoint ()
virtual void setPosition (const IntPoint &_value)
virtual void setSize (const IntSize &_value)
virtual void setCoord (const IntCoord &_value)
void setPosition (int _left, int _top)
void setSize (int _width, int _height)
void setCoord (int _left, int _top, int _width, int _height)
virtual void setProperty (const std::string &_key, const std::string &_value)
void setPosition (const IntCoord &_coord)
void setPosition (int _left, int _top, int _width, int _height)
virtual void _initialise (WidgetStyle _style, const IntCoord &_coord, Align _align, ResourceSkin *_info, Widget *_parent, ICroppedRectangle *_croppedParent, IWidgetCreator *_creator, const std::string &_name)

Protected Member Functions

virtual ~Progress ()
void baseChangeWidgetSkin (ResourceSkin *_info)

Detailed Description

Definition at line 33 of file MyGUI_Progress.h.


Constructor & Destructor Documentation

MyGUI::Progress::Progress (  ) 

Definition at line 37 of file MyGUI_Progress.cpp.

MyGUI::Progress::~Progress (  )  [protected, virtual]

Definition at line 59 of file MyGUI_Progress.cpp.


Member Function Documentation

void MyGUI::Progress::_initialise ( WidgetStyle  _style,
const IntCoord _coord,
Align  _align,
ResourceSkin _info,
Widget _parent,
ICroppedRectangle _croppedParent,
IWidgetCreator _creator,
const std::string &  _name 
) [virtual]

Reimplemented from MyGUI::Widget.

Definition at line 52 of file MyGUI_Progress.cpp.

void MyGUI::Progress::baseChangeWidgetSkin ( ResourceSkin _info  )  [protected, virtual]

Reimplemented from MyGUI::Widget.

Definition at line 64 of file MyGUI_Progress.cpp.

bool MyGUI::Progress::getProgressAutoTrack (  )  [inline]

Get progress auto tracking flag

Definition at line 54 of file MyGUI_Progress.h.

size_t MyGUI::Progress::getProgressPosition (  )  [inline]

Get progress position

Definition at line 49 of file MyGUI_Progress.h.

size_t MyGUI::Progress::getProgressRange (  )  [inline]

Get progress range

Definition at line 44 of file MyGUI_Progress.h.

Align MyGUI::Progress::getProgressStartPoint (  )  [inline]

Get progress start point

Definition at line 61 of file MyGUI_Progress.h.

void MyGUI::Progress::setCoord ( int  _left,
int  _top,
int  _width,
int  _height 
) [inline]

See Widget::setCoord(const IntCoord& _coord)

Reimplemented from MyGUI::Widget.

Definition at line 75 of file MyGUI_Progress.h.

void MyGUI::Progress::setCoord ( const IntCoord _value  )  [virtual]

Set widget position and size

Reimplemented from MyGUI::Widget.

Definition at line 172 of file MyGUI_Progress.cpp.

void MyGUI::Progress::setPosition ( int  _left,
int  _top,
int  _width,
int  _height 
) [inline]

Reimplemented from MyGUI::Widget.

Definition at line 86 of file MyGUI_Progress.h.

void MyGUI::Progress::setPosition ( const IntCoord _coord  )  [inline]

Reimplemented from MyGUI::Widget.

Definition at line 84 of file MyGUI_Progress.h.

void MyGUI::Progress::setPosition ( int  _left,
int  _top 
) [inline]

See Widget::setPosition(const IntPoint& _pos)

Reimplemented from MyGUI::Widget.

Definition at line 71 of file MyGUI_Progress.h.

void MyGUI::Progress::setPosition ( const IntPoint _value  )  [virtual]

Set widget position (position of left top corner)

Reimplemented from MyGUI::Widget.

Definition at line 160 of file MyGUI_Progress.cpp.

void MyGUI::Progress::setProgressAutoTrack ( bool  _value  ) 

Enable or disable progress auto tracking

Definition at line 123 of file MyGUI_Progress.cpp.

void MyGUI::Progress::setProgressPosition ( size_t  _value  ) 

Set progress position

Definition at line 115 of file MyGUI_Progress.cpp.

void MyGUI::Progress::setProgressRange ( size_t  _value  ) 

Set progress range

Definition at line 106 of file MyGUI_Progress.cpp.

void MyGUI::Progress::setProgressStartPoint ( Align  _value  ) 

Set progress start point For example with Align::Top if will be filled from top to bottom.

Definition at line 317 of file MyGUI_Progress.cpp.

void MyGUI::Progress::setProperty ( const std::string &  _key,
const std::string &  _value 
) [virtual]

Set any widget property

Parameters:
_key Property name (for example Widget_Alpha or Edit_MultiLine)
_value Value converted to string

Reimplemented from MyGUI::Widget.

Definition at line 331 of file MyGUI_Progress.cpp.

void MyGUI::Progress::setSize ( int  _width,
int  _height 
) [inline]

See Widget::setSize(const IntSize& _size)

Reimplemented from MyGUI::Widget.

Definition at line 73 of file MyGUI_Progress.h.

void MyGUI::Progress::setSize ( const IntSize _value  )  [virtual]

Set widget size

Reimplemented from MyGUI::Widget.

Definition at line 165 of file MyGUI_Progress.cpp.


The documentation for this class was generated from the following files:
Generated on Thu Nov 17 15:31:18 2011 for MyGUI by  doxygen 1.6.3