24 #ifndef FXPROGRESSBAR_H
25 #define FXPROGRESSBAR_H
70 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);
73 virtual void create();
76 virtual void detach();
79 virtual FXint getDefaultWidth();
82 virtual FXint getDefaultHeight();
85 void setProgress(
FXuint value);
88 FXuint getProgress()
const {
return progress; }
91 void setTotal(
FXuint value);
94 FXuint getTotal()
const {
return total; }
97 void increment(
FXuint value);
106 void setBarSize(
FXint size);
109 FXint getBarSize()
const {
return barsize; }
112 void setBarBGColor(
FXColor clr);
115 FXColor getBarBGColor()
const {
return barBGColor; }
121 FXColor getBarColor()
const {
return barColor; }
124 void setTextColor(
FXColor clr);
127 FXColor getTextColor()
const {
return textNumColor; }
130 void setTextAltColor(
FXColor clr);
133 FXColor getTextAltColor()
const {
return textAltColor; }
136 void setFont(
FXFont *fnt);
139 FXFont* getFont()
const {
return font; }
142 void setBarStyle(
FXuint style);
145 FXuint getBarStyle()
const;
148 virtual void save(FXStream& store)
const;
151 virtual void load(FXStream& store);
154 virtual ~FXProgressBar();
The Frame widget provides borders around some contents.
Definition: FXFrame.h:73
unsigned int FXuint
Definition: fxdefs.h:389
FXuint FXSelector
Association key.
Definition: FXObject.h:53
#define FXAPI
Definition: fxdefs.h:122
Definition: FXProgressBar.h:43
Sunken border.
Definition: FXWindow.h:76
Base composite.
Definition: FXComposite.h:35
#define NULL
Definition: fxdefs.h:41
FXuint FXColor
Definition: fxdefs.h:447
Horizontal display.
Definition: FXProgressBar.h:39
Show as a dial instead of bar.
Definition: FXProgressBar.h:42
Definition: FX4Splitter.h:31
int FXint
Definition: fxdefs.h:390
Progress bar widget.
Definition: FXProgressBar.h:53
Object is the base class for all objects in FOX; in order to receive messages from the user interface...
Definition: FXObject.h:166
Window Device Context.
Definition: FXDCWindow.h:52
Thick border.
Definition: FXWindow.h:78
Show percentage done.
Definition: FXProgressBar.h:41
Font class.
Definition: FXFont.h:142
#define FXDECLARE(classname)
Macro to set up class declaration.
Definition: FXObject.h:92
Vertical display.
Definition: FXProgressBar.h:40