![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
![]() |
#include <FXProgressBar.h>
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] |
Create server-side resources.
Reimplemented from FX::FXWindow.
virtual void FX::FXProgressBar::detach | ( | ) | [virtual] |
Detach server-side resources.
Reimplemented from FX::FXWindow.
virtual FXint FX::FXProgressBar::getDefaultWidth | ( | ) | [virtual] |
Return default width.
Reimplemented from FX::FXFrame.
virtual FXint FX::FXProgressBar::getDefaultHeight | ( | ) | [virtual] |
Return default height.
Reimplemented from FX::FXFrame.
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] |
Save progress bar to a stream.
Reimplemented from FX::FXFrame.
virtual void FX::FXProgressBar::load | ( | FXStream & | store | ) | [virtual] |
Load progress bar from a stream.
Reimplemented from FX::FXFrame.
![]() |