summaryrefslogtreecommitdiff
path: root/fluid/Fl_Widget_Type.h
diff options
context:
space:
mode:
Diffstat (limited to 'fluid/Fl_Widget_Type.h')
-rw-r--r--fluid/Fl_Widget_Type.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/fluid/Fl_Widget_Type.h b/fluid/Fl_Widget_Type.h
index b41ba0e53..580a8cacf 100644
--- a/fluid/Fl_Widget_Type.h
+++ b/fluid/Fl_Widget_Type.h
@@ -51,6 +51,12 @@ class Fl_Widget_Type : public Fl_Type {
protected:
+ /// This variable is set for visible windows in batch mode.
+ /// We can't open a window in batch mode, even if we want the "visible" flags
+ /// set, so we need a second place to store this information while also
+ /// disabeling the output of the "hide" property by the Widget Type.
+ uchar override_visible_;
+
void write_static(Fd_Code_Writer& f) FL_OVERRIDE;
void write_code1(Fd_Code_Writer& f) FL_OVERRIDE;
void write_widget_code(Fd_Code_Writer& f);