BeRTOS
|
Generic editor for (volume/gain/contrast/...) setting. More...
#include "leveledit.h"
#include "cfg/cfg_menu.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>
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. |
Generic editor for (volume/gain/contrast/...) setting.
Definition in file leveledit.c.
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.