Added gwinProgressbarReset()
This commit is contained in:
parent
8169a0453b
commit
5c3779cf79
2 changed files with 10 additions and 1 deletions
|
@ -21,7 +21,7 @@ DEPRECTATE: Old image opening functions deprecated.
|
||||||
FEATURE: Restructure and simplify the include path for GFX
|
FEATURE: Restructure and simplify the include path for GFX
|
||||||
FEATURE: Added LGDP4532 driver by user shilow
|
FEATURE: Added LGDP4532 driver by user shilow
|
||||||
FEATURE: Support for ChibiOS/RT 3.x
|
FEATURE: Support for ChibiOS/RT 3.x
|
||||||
FEATURE: Added gwinProgressbarStop()
|
FEATURE: Added gwinProgressbarStop() and gwinProgressbarReset()
|
||||||
|
|
||||||
|
|
||||||
*** changes after 1.9 ***
|
*** changes after 1.9 ***
|
||||||
|
|
|
@ -138,6 +138,15 @@ void gwinProgressbarDecrement(GHandle gh);
|
||||||
*/
|
*/
|
||||||
#define gwinProgressbarGetPosition(gh) (((GProgressbarObject *)(gh))->pos)
|
#define gwinProgressbarGetPosition(gh) (((GProgressbarObject *)(gh))->pos)
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Reset the progressbar to the minimum position
|
||||||
|
*
|
||||||
|
* @param[in] gh The window handle (must be a progressbar window)
|
||||||
|
*
|
||||||
|
* @api
|
||||||
|
*/
|
||||||
|
#define gwinProgressbarReset(gh) gwinProgressbarSetPosition(gh, ((GProgressbarObject *)(gh))->min)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Automatically increments the progress bar
|
* @brief Automatically increments the progress bar
|
||||||
*
|
*
|
||||||
|
|
Loading…
Add table
Reference in a new issue