mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 12:56:51 +03:00
2cd33ad0d5
Add two widget callbacks: * (make_global): convert widget coordinates from local (relative to owner) to global (screen). * (make_local): convert widget coordinates from global (screen) to local (relative to owner). Such conversions are required when nested widgets and groups are added to or removed from another groups. Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
41 lines
659 B
Makefile
41 lines
659 B
Makefile
PACKAGE_STRING = "/lib/widget"
|
|
|
|
AM_CPPFLAGS = \
|
|
$(GLIB_CFLAGS) \
|
|
-I$(top_srcdir) \
|
|
-I$(top_srcdir)/lib/vfs \
|
|
@CHECK_CFLAGS@
|
|
|
|
AM_LDFLAGS = @TESTS_LDFLAGS@
|
|
|
|
LIBS = @CHECK_LIBS@ \
|
|
$(top_builddir)/lib/libmc.la
|
|
|
|
if ENABLE_MCLIB
|
|
LIBS += $(GLIB_LIBS)
|
|
endif
|
|
|
|
TESTS = \
|
|
complete_engine \
|
|
hotkey_equal \
|
|
group_init_destroy \
|
|
widget_find_by_id \
|
|
widget_make_global_local
|
|
|
|
check_PROGRAMS = $(TESTS)
|
|
|
|
complete_engine_SOURCES = \
|
|
complete_engine.c
|
|
|
|
hotkey_equal_SOURCES = \
|
|
hotkey_equal.c
|
|
|
|
group_init_destroy_SOURCES = \
|
|
group_init_destroy.c
|
|
|
|
widget_find_by_id_SOURCES = \
|
|
widget_find_by_id.c
|
|
|
|
widget_make_global_local_SOURCES = \
|
|
widget_make_global_local.c
|