mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-12-22 19:46:31 +01:00
0657b2a559
textbox.c, mixer_display.c: - Replaced manual line drawing code `for (...) mvwaddch(...)` by the functions `mvwhline/mvwvline` provided by standard curses card_select.c, proc_files.c: - Moved duplicate code in the create() functions to menu_widget_create() in menu_widget.c card_select.c: - Removed redundant calls to sprintf() device_name.c: - Combined multiple calls to form_opts_off() - Recognize ASCII DEL (127) as backspace widget.c: - Uncommented code for setting a dummy key handler (all existing widgets do provide a key handling function) Signed-off-by: Benjamin Abendroth <braph93@gmx.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
10 lines
238 B
C
10 lines
238 B
C
#ifndef MENU_WIDGET_H_INCLUDED
|
|
#define MENU_WIDGET_H_INCLUDED
|
|
|
|
#include "widget.h"
|
|
#include <menu.h>
|
|
|
|
int menu_widget_handle_key(MENU *menu, int key);
|
|
void menu_widget_create(struct widget *widget, MENU *menu, const char *title);
|
|
|
|
#endif
|