![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
![]() |
#include <FXProgressBar.h>
Public Member Functions | |
FXProgressBar (FXComposite *p, FXObject *target=NULL, FXSelector sel=0, FXuint opts=PROGRESSBAR_NORMAL, FXint x=0, FXint y=0, FXint w=0, FXint h=0, FXint pl=DEFAULT_PAD, FXint pr=DEFAULT_PAD, FXint pt=DEFAULT_PAD, FXint pb=DEFAULT_PAD) | |
virtual void | create () |
virtual void | detach () |
virtual FXint | getDefaultWidth () |
virtual FXint | getDefaultHeight () |
void | setProgress (FXuint value) |
FXuint | getProgress () const |
void | setTotal (FXuint value) |
FXuint | getTotal () const |
void | increment (FXuint value) |
void | hideNumber () |
void | showNumber () |
void | setBarSize (FXint size) |
FXint | getBarSize () const |
void | setBarBGColor (FXColor clr) |
FXColor | getBarBGColor () const |
void | setBarColor (FXColor clr) |
FXColor | getBarColor () const |
void | setTextColor (FXColor clr) |
FXColor | getTextColor () const |
void | setTextAltColor (FXColor clr) |
FXColor | getTextAltColor () const |
void | setFont (FXFont *fnt) |
FXFont * | getFont () const |
void | setBarStyle (FXuint style) |
FXuint | getBarStyle () const |
virtual void | save (FXStream &store) const |
virtual void | load (FXStream &store) |
virtual | ~FXProgressBar () |
See also:
FX::FXProgressBar::FXProgressBar | ( | FXComposite * | p, | |
FXObject * | target = NULL , |
|||
FXSelector | sel = 0 , |
|||
FXuint | opts = PROGRESSBAR_NORMAL , |
|||
FXint | x = 0 , |
|||
FXint | y = 0 , |
|||
FXint | w = 0 , |
|||
FXint | h = 0 , |
|||
FXint | pl = DEFAULT_PAD , |
|||
FXint | pr = DEFAULT_PAD , |
|||
FXint | pt = DEFAULT_PAD , |
|||
FXint | pb = DEFAULT_PAD | |||
) |
Construct progress bar.
virtual FX::FXProgressBar::~FXProgressBar | ( | ) | [virtual] |
Destructor.
virtual void FX::FXProgressBar::create | ( | ) | [virtual] |
virtual void FX::FXProgressBar::detach | ( | ) | [virtual] |
virtual FXint FX::FXProgressBar::getDefaultWidth | ( | ) | [virtual] |
virtual FXint FX::FXProgressBar::getDefaultHeight | ( | ) | [virtual] |
void FX::FXProgressBar::setProgress | ( | FXuint | value | ) |
Change the amount of progress.
FXuint FX::FXProgressBar::getProgress | ( | ) | const [inline] |
Get current progress.
void FX::FXProgressBar::setTotal | ( | FXuint | value | ) |
Set total amount of progress.
FXuint FX::FXProgressBar::getTotal | ( | ) | const [inline] |
Return total amount of progrss.
void FX::FXProgressBar::increment | ( | FXuint | value | ) |
Increment progress by given amount.
void FX::FXProgressBar::hideNumber | ( | ) |
Hide progress percentage.
void FX::FXProgressBar::showNumber | ( | ) |
Show progress percentage.
void FX::FXProgressBar::setBarSize | ( | FXint | size | ) |
Change progress bar width.
FXint FX::FXProgressBar::getBarSize | ( | ) | const [inline] |
Return progress bar width.
void FX::FXProgressBar::setBarBGColor | ( | FXColor | clr | ) |
Change backgroundcolor.
FXColor FX::FXProgressBar::getBarBGColor | ( | ) | const [inline] |
Return background color.
void FX::FXProgressBar::setBarColor | ( | FXColor | clr | ) |
Change bar color.
FXColor FX::FXProgressBar::getBarColor | ( | ) | const [inline] |
Return bar color.
void FX::FXProgressBar::setTextColor | ( | FXColor | clr | ) |
Change text color.
FXColor FX::FXProgressBar::getTextColor | ( | ) | const [inline] |
Return text color.
void FX::FXProgressBar::setTextAltColor | ( | FXColor | clr | ) |
Change alternate text color shown when bar under text.
FXColor FX::FXProgressBar::getTextAltColor | ( | ) | const [inline] |
Return alternate text color.
void FX::FXProgressBar::setFont | ( | FXFont * | fnt | ) |
Set the text font.
FXFont* FX::FXProgressBar::getFont | ( | ) | const [inline] |
Get the text font.
void FX::FXProgressBar::setBarStyle | ( | FXuint | style | ) |
Change progress bar style.
FXuint FX::FXProgressBar::getBarStyle | ( | ) | const |
Return current progress bar style.
virtual void FX::FXProgressBar::save | ( | FXStream & | store | ) | const [virtual] |
virtual void FX::FXProgressBar::load | ( | FXStream & | store | ) | [virtual] |
![]() |