Files

copied
Last update 5 years 11 months by Petre Rodan
Fileslinuxsrc
..
Makefile.am
Makefile.in
ampy_mixer.c
ampy_mixer.h
cli.c
cli.h
colors.c
colors.h
die.c
die.h
lm4780_helper.c
lm4780_helper.h
log.c
log.h
mainloop.c
mainloop.h
mem.c
mem.h
mixer_controls.c
mixer_controls.h
mixer_display.c
mixer_display.h
mixer_widget.c
mixer_widget.h
pga2311_helper.c
pga2311_helper.h
proj.h
string_helpers.c
string_helpers.h
sysdep.h
sysdep1.c
sysdep1.h
textbox.c
textbox.h
utils.c
utils.h
version.h
widget.c
widget.h
widget.h
#ifndef WIDGET_H_INCLUDED #define WIDGET_H_INCLUDED #include <panel.h> #define WIDGET_BORDER 0x1 #define WIDGET_SUBWINDOW 0x2 #define WIDGET_CURSOR_VISIBLE 0x4 #define SCREEN_CENTER -1 struct widget { WINDOW *window; WINDOW *subwindow; /* optional: contents without border */ PANEL *panel; int cursor_visibility; void (*handle_key)(int key); void (*window_size_changed)(void); void (*close)(void); }; extern int screen_lines; extern int screen_cols; void widget_init(struct widget *widget, int lines_, int cols, int y, int x, chtype bkgd, unsigned int flags); void widget_free(struct widget *widget); struct widget *get_active_widget(void); void window_size_changed(void); #endif
Report a bug