leveledit.c File Reference
Generic editor for (volume/gain/contrast/. More...
#include "leveledit.h"
#include "cfg/cfg_gfx.h"
#include <cfg/macros.h>
#include <drv/kbd.h>
#include <drv/timer.h>
#include <gui/levelbar.h>
#include <cpu/pgm.h>
#include <gfx/text.h>
#include <gfx/font.h>
#include <drv/lcd_gfx.h>
Go to the source code of this file.
Functions | |
| void | level_edit (struct LevelEdit *lev) |
| Allow user to change level. | |
| 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. | |
Detailed Description
Generic editor for (volume/gain/contrast/...) setting.
- Version:
- Id
- leveledit.c 2506 2009-04-15 08:29:07Z duplo
Definition in file leveledit.c.
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.
