diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2005-04-16 00:01:49 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2005-04-16 00:01:49 +0000 |
| commit | b41cf28662fe5734530f280cc0dbb34bbf6aa25a (patch) | |
| tree | e6afdba0c544657c7a60198d5ed984feb5edf90c /fluid | |
| parent | 91c3b8231de57e381d33b154852092c04ab96f14 (diff) | |
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
Diffstat (limited to 'fluid')
| -rw-r--r-- | fluid/Fl_Widget_Type.cxx | 2 | ||||
| -rw-r--r-- | fluid/Makefile | 9 |
2 files changed, 6 insertions, 5 deletions
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 # |
