From 38871c5b3192bccd508f3686413d4e56041ab091 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Mon, 16 Oct 2023 22:11:33 +0200 Subject: Add Fl_Grid widget and test and demo programs - FL/Fl_Grid.H: header file - src/Fl_Grid.cxx: implementation - examples/grid-simple.cxx: simple example program - test/cube.cxx: use Fl_Grid for layout - test/grid_alignment.cxx: test cell alignment and other functions - test/grid_buttons.cxx: demo program as discussed in fltk.general - test/grid_login.cxx: like test/flex_login.cxx but with Fl_Grid - test/flex_login.cxx: modified to match test/grid_login.cxx --- test/Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'test/Makefile') diff --git a/test/Makefile b/test/Makefile index e73431b03..e69b8a9fd 100644 --- a/test/Makefile +++ b/test/Makefile @@ -76,6 +76,9 @@ CPPFILES =\ gl_overlay.cxx \ glpuzzle.cxx \ glut_test.cxx \ + grid_alignment \ + grid_buttons \ + grid_login \ hello.cxx \ help_dialog.cxx \ icon.cxx \ @@ -161,6 +164,9 @@ ALL = \ fltk-versions$(EXEEXT) \ fonts$(EXEEXT) \ forms$(EXEEXT) \ + grid_alignment$(EXEEXT) \ + grid_buttons$(EXEEXT) \ + grid_login$(EXEEXT) \ hello$(EXEEXT) \ help_dialog$(EXEEXT) \ icon$(EXEEXT) \ @@ -437,6 +443,12 @@ forms$(EXEEXT): forms.o $(CXX) $(ARCHFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ forms.o $(LINKFLTKFORMS) $(LDLIBS) $(OSX_ONLY) ../fltk-config --post $@ +grid_alignment$(EXEEXT): grid_alignment.o + +grid_buttons$(EXEEXT): grid_buttons.o + +grid_login$(EXEEXT): grid_login.o + hello$(EXEEXT): hello.o help_dialog$(EXEEXT): help_dialog.o $(IMGLIBNAME) -- cgit v1.2.3