summaryrefslogtreecommitdiff
path: root/fluid/Fl_Type.h
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2023-10-20 00:23:09 +0200
committerMatthias Melcher <github@matthiasm.com>2023-10-20 00:23:09 +0200
commit3be3a0da1edcc62f0708e68508d625d31148e881 (patch)
treecc4224a9127c5eada38851d77758c9ac7ad03958 /fluid/Fl_Type.h
parentea88888f768b1bbec2300eea93029bec67ad2f43 (diff)
FLUID: docs, testing
Diffstat (limited to 'fluid/Fl_Type.h')
-rw-r--r--fluid/Fl_Type.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/fluid/Fl_Type.h b/fluid/Fl_Type.h
index ec30e5735..0d9a97848 100644
--- a/fluid/Fl_Type.h
+++ b/fluid/Fl_Type.h
@@ -34,7 +34,7 @@ typedef enum {
kAddAfterCurrent
} Strategy;
-void fixvisible(Fl_Type *p);
+void update_visibility_flag(Fl_Type *p);
void delete_all(int selected_only=0);
int storestring(const char *n, const char * & p, int nostrip=0);
@@ -93,7 +93,11 @@ public: // things that should not be public:
/** Quick link to the parent Type instead of walking up the linked list. */
Fl_Type *parent;
+ /** This type is rendered "selected" in the tree browser. */
char new_selected; // browser highlight
+ /** Backup storage for selection if an error accured during some operation
+ (see `haderror`). It seems that this is often confused with new_selected
+ which seems to hold the true and visible selection state. */
char selected; // copied here by selection_changed()
char open_; // state of triangle in browser
char visible; // true if all parents are open