mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-08 22:45:43 +01:00
ba1c5357a1
Mouse support has been added for mixer_widget.c, card_select.c and proc_files.c. In the mixer widget the mouse is handled as follows: - After an element has been printed in mixer_display.c, a call to clickable_set() will store the coordinates of the drawn area plus the command enum that should be executed on click. An optional argument holds an index which points to the selected mixer control. - on_mouse_click() searches for a matching rectangle, focuses the mixer control and returns the command enum. In the menu widgets, the menu_driver() function handles mouse input. Signed-off-by: Benjamin Abendroth <braph93@gmx.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
28 lines
757 B
Makefile
28 lines
757 B
Makefile
AM_CFLAGS = -D_GNU_SOURCE @CURSES_CFLAGS@ -DCURSESINC="@CURSESINC@"
|
|
LDADD = @CURSESLIB@
|
|
|
|
bin_PROGRAMS = alsamixer
|
|
alsamixer_SOURCES = card_select.c card_select.h \
|
|
bindings.c bindings.h \
|
|
cli.c \
|
|
colors.c colors.h \
|
|
device_name.c device_name.h \
|
|
die.c die.h \
|
|
mainloop.c mainloop.h \
|
|
mem.c mem.h \
|
|
menu_widget.c menu_widget.h \
|
|
mixer_clickable.c mixer_clickable.h \
|
|
mixer_controls.c mixer_controls.h \
|
|
mixer_display.c mixer_display.h \
|
|
mixer_widget.c mixer_widget.h \
|
|
proc_files.c proc_files.h \
|
|
textbox.c textbox.h \
|
|
utils.c utils.h \
|
|
volume_mapping.c volume_mapping.h \
|
|
widget.c widget.h
|
|
man_MANS = alsamixer.1
|
|
EXTRA_DIST = alsamixer.1
|
|
alsamixer_CPPFLAGS = -I$(top_srcdir)/include
|
|
|
|
#LDFLAGS = -static
|
|
#CFLAGS += -g -Wall
|