diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2005-03-20 17:41:56 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2005-03-20 17:41:56 +0000 |
| commit | 0bc98fd29efa40f4828813fd490c2afe6e2e7c4f (patch) | |
| tree | 73a27040211c17adb95b79f5ba3510714de570f9 /fluid/Fl_Type.h | |
| parent | 4e965380bc872a5da745d64a5d9deb901fa2979c (diff) | |
Preliminary template save support in FLUID, plus some bug fixes.
fluid/Fl_Type.h:
- Added read_image() declaration to Fl_Window_Type class.
fluid/Fl_Window_Type.cxx:
- Added Overlay_Window::read_image() and
Fl_Window_Type::read_image() functions.
- Fl_Window_Type::fix_overlay(): update menu indices.
- toggle_overlays(): update menu indices.
fluid/fluid.cxx:
- save_template_cb(): Added to save to
~/.fltk/fltk.org/fluid/templates, along with PNG screenshot
of first window.
- "Save To" instead of "Save to".
- Use fl_alert() for errors, not fl_message().
- Add "File/Save Template..." and "File/Print..." (not yet
implemented) menu items.
- toggle_widgetbin_cb(): update menu indices.
fluid/undo.cxx:
- Update menu item indices.
- Don't need extra slash in undo checkpoint filename.
src/Fl_PNG_Image.cxx:
- Fix typo in #endif comment.
src/Fl_Window.cxx:
- Fl_Window::draw(): save/restore flags() when changing label.
- Fl_Window::iconlabel(): save/restore flags() when changing label.
src/fl_rect.cxx:
- fl_not_clipped(): don't use current window for gross clipping.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4147 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid/Fl_Type.h')
| -rw-r--r-- | fluid/Fl_Type.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fluid/Fl_Type.h b/fluid/Fl_Type.h index 535c4a88f..03f7ed3d5 100644 --- a/fluid/Fl_Type.h +++ b/fluid/Fl_Type.h @@ -470,7 +470,8 @@ public: void open(); - void fix_overlay(); // update the bounding box, etc + void fix_overlay(); // Update the bounding box, etc + uchar *read_image(int &ww, int &hh); // Read an image of the window virtual void write_properties(); virtual void read_property(const char *); |
