Added gwinProgressbarReset()

ugfx_release_2.6
Joel Bodenmann 2014-04-23 23:39:12 +02:00
parent 8169a0453b
commit 5c3779cf79
2 changed files with 10 additions and 1 deletions

View File

@ -21,7 +21,7 @@ DEPRECTATE: Old image opening functions deprecated.
FEATURE: Restructure and simplify the include path for GFX
FEATURE: Added LGDP4532 driver by user shilow
FEATURE: Support for ChibiOS/RT 3.x
FEATURE: Added gwinProgressbarStop()
FEATURE: Added gwinProgressbarStop() and gwinProgressbarReset()
*** changes after 1.9 ***

View File

@ -138,6 +138,15 @@ void gwinProgressbarDecrement(GHandle gh);
*/
#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
*