mc/tests/lib/widget/Makefile.am
Andrew Borodin 2cd33ad0d5 Convert widget coordinates from global to local and vice versa.
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>
2021-06-20 15:14:56 +03:00

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