3 * \brief Header: WGauge widget
6 #ifndef MC__WIDGET_GAUGE_H
7 #define MC__WIDGET_GAUGE_H
9 /*** typedefs(not structures) and defined constants **********************************************/
11 #define GAUGE(x) ((WGauge *)(x))
13 /*** enums ***************************************************************************************/
15 /*** structures declarations (and typedefs of structures)*****************************************/
23 gboolean from_left_to_right
;
26 /*** global variables defined in .c file *********************************************************/
28 /*** declarations of public functions ************************************************************/
30 WGauge
*gauge_new (int y
, int x
, int cols
, gboolean shown
, int max
, int current
);
31 void gauge_set_value (WGauge
* g
, int max
, int current
);
32 void gauge_show (WGauge
* g
, gboolean shown
);
34 /*** inline functions ****************************************************************************/
36 #endif /* MC__WIDGET_GAUGE_H */