leveledit.h File Reference
Generic editor for (volume/gain/contrast/. 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. | |
Detailed Description
Generic editor for (volume/gain/contrast/.
..) setting.
- Version:
- Id
- leveledit.h 2506 2009-04-15 08:29:07Z duplo
Definition in file leveledit.h.
Function Documentation
| 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 305 of file leveledit.c.
