From b41cf28662fe5734530f280cc0dbb34bbf6aa25a Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Sat, 16 Apr 2005 00:01:49 +0000 Subject: Update "clean" targets to properly handle core files, remove backup files, etc. Add "install" target to test directory which installs the example programs. Install the config.h file in the examples directory. Make sure the example programs compile outside the FLTK source dir. Add example programs to fltk.list.in. Fix missing redraw() in x_cb() in FLUID... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4287 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- fluid/Fl_Widget_Type.cxx | 2 +- fluid/Makefile | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'fluid') diff --git a/fluid/Fl_Widget_Type.cxx b/fluid/Fl_Widget_Type.cxx index 624408049..becdddf45 100644 --- a/fluid/Fl_Widget_Type.cxx +++ b/fluid/Fl_Widget_Type.cxx @@ -424,7 +424,7 @@ void x_cb(Fl_Value_Input *i, void *v) { if (o->selected && o->is_widget()) { Fl_Widget *w = ((Fl_Widget_Type *)o)->o; w->resize((int)i->value(), w->y(), w->w(), w->h()); - if (w->window()) w->window(); + if (w->window()) w->window()->redraw(); if (o->is_window()) { ((Fl_Window *)w)->size_range(gridx, gridy, Fl::w(), Fl::h(), gridx, gridy, 0); diff --git a/fluid/Makefile b/fluid/Makefile index ab9074d79..cab01fd8a 100644 --- a/fluid/Makefile +++ b/fluid/Makefile @@ -48,8 +48,6 @@ CPPFILES = \ OBJECTS = $(CPPFILES:.cxx=.o) -CLEAN = core* - include ../makeinclude all: $(FLUID) fluid$(EXEEXT) @@ -66,8 +64,9 @@ fluid-shared$(EXEEXT): $(OBJECTS) ../src/$(DSONAME) ../src/$(FLDSONAME) \ $(CXX) $(CXXFLAGS) -o $@ $(OBJECTS) $(LINKSHARED) $(LDLIBS) $(POSTBUILD) $@ ../FL/mac.r -clean : - -@ $(RM) *.o fluid$(EXEEXT) fluid-shared$(EXEEXT) $(CLEAN) +clean: + -$(RM) *.o core.* *~ *.bck *.bck + -$(RM) core fluid$(EXEEXT) fluid-shared$(EXEEXT) depend: $(CPPFILES) makedepend -Y -I.. -f makedepend $(CPPFILES) @@ -95,6 +94,8 @@ rebuild: ./fluid -c about_panel.fl ./fluid -c alignment_panel.fl ./fluid -c function_panel.fl + ./fluid -c print_panel.fl + ./fluid -c template_panel.fl ./fluid -c widget_panel.fl # -- cgit v1.2.3