BeRTOS
|
Generic editor for (volume/gain/contrast/...) setting. More...
Go to the source code of this file.
Data Structures | |
struct | LevelEdit |
State of a level meter. More... | |
Defines | |
#define | LEVELEDIT_NOBAR 0 |
Edit number only, without bar nor units. | |
#define | LEVELEDIT_SINGLE 1 |
Single channel editing. | |
#define | LEVELEDIT_DOUBLE 2 |
Double channel editing. | |
Typedefs | |
typedef void | level_set_callback (void) |
Type for callback used to set meter levels. | |
typedef void | display_callback (struct LevelEdit *) |
Type for callback used to customize display of units. | |
Functions | |
void | level_init (struct LevelEdit *lev, int type, struct Bitmap *bmp, const char *title, const char *unit, int min, int max, int step, int *ch1_val, int *ch2_val, level_set_callback *change_hook, display_callback *display_hook) |
LevelEdit structure initialization. | |
void | level_edit (struct LevelEdit *lev) |
Allow user to change level. |
Generic editor for (volume/gain/contrast/...) setting.
Definition in file leveledit.h.
void level_init | ( | struct LevelEdit * | lev, |
int | type, | ||
struct Bitmap * | bmp, | ||
const char * | title, | ||
const char * | unit, | ||
int | min, | ||
int | max, | ||
int | step, | ||
int * | ch1_val, | ||
int * | ch2_val, | ||
level_set_callback * | set_hook, | ||
display_callback * | display_hook | ||
) |
LevelEdit structure initialization.
Init data structure and init LevelEdit widgets.
Definition at line 302 of file leveledit.c.