summaryrefslogtreecommitdiff
path: root/fluid/Fl_Window_Type.h
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2023-07-17 18:31:58 +0200
committerMatthias Melcher <github@matthiasm.com>2023-07-17 18:32:13 +0200
commit9794d200b33b438feaf76c960e464b90dd911d58 (patch)
tree5078c3e9261457aff8d94962ab898ca9dd87af11 /fluid/Fl_Window_Type.h
parent80ad543963431f47f3fd8ae2d06d2fa32341299e (diff)
FLUID: emulating RTTI and fixing type dependencies (Buttons)
Diffstat (limited to 'fluid/Fl_Window_Type.h')
-rw-r--r--fluid/Fl_Window_Type.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/fluid/Fl_Window_Type.h b/fluid/Fl_Window_Type.h
index b59d9c047..cc993f37b 100644
--- a/fluid/Fl_Window_Type.h
+++ b/fluid/Fl_Window_Type.h
@@ -43,7 +43,7 @@ enum {
FD_BOX = 32 // user creates a new selection box
};
-class Fl_Window_Type : public Fl_Widget_Type {
+class Fl_Window_Type : public Fl_Widget_Type { // FIXME: Fl_Group
protected:
Fl_Menu_Item* subtypes() FL_OVERRIDE {return window_type_menu;}
@@ -85,9 +85,11 @@ public:
numselected(0),
recalc(0),
modal(0), non_modal(0),
+ xclass(NULL),
sr_min_w(0), sr_min_h(0), sr_max_w(0), sr_max_h(0)
{ }
uchar modal, non_modal;
+ const char *xclass; // junk string, used for shortcut
Fl_Type *make(Strategy strategy) FL_OVERRIDE;
const char *type_name() FL_OVERRIDE {return "Fl_Window";}