µGFX  2.9
version 2.9
gwin_progressbar.h File Reference

Detailed Description

GWIN Graphic window subsystem header file.

Definition in file gwin_progressbar.h.

Go to the source code of this file.

Functions

GHandle gwinGProgressbarCreate (GDisplay *g, GProgressbarObject *gb, const GWidgetInit *pInit)
 Create a progressbar window. More...
 
void gwinProgressbarSetRange (GHandle gh, int min, int max)
 Set the progressbar range. More...
 
void gwinProgressbarSetPosition (GHandle gh, int pos)
 Set the progressbar position. More...
 
void gwinProgressbarSetResolution (GHandle gh, int res)
 Set the resolution for the incrementation and decrementation of the progressbar. More...
 
void gwinProgressbarIncrement (GHandle gh)
 Increment the progressbar value. More...
 
void gwinProgressbarDecrement (GHandle gh)
 Decrement the progressbar value. More...
 
void gwinProgressbarStart (GHandle gh, gDelay delay)
 Automatically increments the progress bar. More...
 
void gwinProgressbarStop (GHandle gh)
 Stop the timer which is started by gwinProgressbarStart() More...
 
void gwinProgressbarDraw_Std (GWidgetObject *gw, void *param)
 The default rendering function for the progressbar widget. More...
 
void gwinProgressbarDraw_Image (GWidgetObject *gw, void *param)
 Renders a progressbar using an image. More...
 

Macros

#define gwinProgressbarGetPosition(gh)   (((GProgressbarObject *)(gh))->pos)
 Get the current progressbar position. More...
 
#define gwinProgressbarReset(gh)   gwinProgressbarSetPosition(gh, ((GProgressbarObject *)(gh))->min)
 Reset the progressbar to the minimum position. More...