summaryrefslogtreecommitdiff
path: root/fluid/Fl_Window_Type.h
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2023-07-17 20:20:54 +0200
committerMatthias Melcher <github@matthiasm.com>2023-07-17 20:21:04 +0200
commit9bdc7139daef8d9dc7b7e06503cd810d44b6d69c (patch)
treebd4fb30d1a2c539a3eb530eb14d1780a9e04db78 /fluid/Fl_Window_Type.h
parent9794d200b33b438feaf76c960e464b90dd911d58 (diff)
FLUID: better initial sizes for buttons and windows
Diffstat (limited to 'fluid/Fl_Window_Type.h')
-rw-r--r--fluid/Fl_Window_Type.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fluid/Fl_Window_Type.h b/fluid/Fl_Window_Type.h
index cc993f37b..3e662f076 100644
--- a/fluid/Fl_Window_Type.h
+++ b/fluid/Fl_Window_Type.h
@@ -96,6 +96,7 @@ public:
const char *alt_type_name() FL_OVERRIDE {return "fltk::Window";}
void open() FL_OVERRIDE;
+ void ideal_size(int &w, int &h) FL_OVERRIDE;
void fix_overlay(); // Update the bounding box, etc
uchar *read_image(int &ww, int &hh); // Read an image of the window