summaryrefslogtreecommitdiff
path: root/fluid/Fl_Type.h
diff options
context:
space:
mode:
authorMatthias Melcher <git@matthiasm.com>2021-12-05 00:40:08 +0100
committerMatthias Melcher <git@matthiasm.com>2021-12-05 00:40:08 +0100
commit30371740acf46d77dd1933e206109aa73ae781bd (patch)
tree88ed41f7fdacabb8d8c49601ae0e431ca096c32d /fluid/Fl_Type.h
parent204ac3dfdfd519607e2f392fa83c12fad9e73fde (diff)
STR #2842: new widgets will be created where the user clicked the RMB
If a user adds a new widget using the right mouse button in any of the design's windows, the new widget will be located with its top left corner at the selected position.
Diffstat (limited to 'fluid/Fl_Type.h')
-rw-r--r--fluid/Fl_Type.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fluid/Fl_Type.h b/fluid/Fl_Type.h
index 2ba7e3047..4dedece5e 100644
--- a/fluid/Fl_Type.h
+++ b/fluid/Fl_Type.h
@@ -643,6 +643,8 @@ public:
void copy_properties();
int sr_min_w, sr_min_h, sr_max_w, sr_max_h;
+
+ static int popupx, popupy;
};
class Fl_Widget_Class_Type : private Fl_Window_Type {