BeRTOS
|
Copyright 2004, 2006 Develer S.r.l. More...
#include <gfx/gfx.h>
Go to the source code of this file.
Defines | |
#define | LBAR_HORIZONTAL 1 |
Type of levelbar. | |
Functions | |
void | lbar_init (struct LevelBar *lb, struct Bitmap *bmp, int type, int min, int max, int pos, coord_t x1, coord_t y1, coord_t x2, coord_t y2) |
Initialize the LevelBar widget with the bitmap associated, the value range and the coordinates in the bitmap. | |
void | lbar_setLevel (struct LevelBar *lb, int level) |
Set the level. | |
int | lbar_getLevel (struct LevelBar *lb) |
Get current level. | |
void | lbar_changeLevel (struct LevelBar *lb, int delta) |
Change level with respect to previous value (delta can be negative). | |
void | lbar_setMax (struct LevelBar *lb, int max) |
Change the top limit. | |
void | lbar_draw (struct LevelBar *lb) |
Render the LevelBar on the bitmap. |
void lbar_init | ( | struct LevelBar * | lb, |
struct Bitmap * | bmp, | ||
int | type, | ||
int | min, | ||
int | max, | ||
int | pos, | ||
coord_t | x1, | ||
coord_t | y1, | ||
coord_t | x2, | ||
coord_t | y2 | ||
) |
Initialize the LevelBar widget with the bitmap associated, the value range and the coordinates in the bitmap.
Definition at line 20 of file levelbar.c.