diff options
| author | Matthias Melcher <github@matthiasm.com> | 2023-10-26 00:38:58 +0200 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2023-10-26 00:39:10 +0200 |
| commit | 6d5021c00e71db7d0bc36c8622cb256fd5088cd6 (patch) | |
| tree | 5074e3fe2e28e481ce183219e0de8d61f1bb0e72 /fluid/Fl_Type.h | |
| parent | 06d12892f90233c4ec50109fc2d2f06c5ae14432 (diff) | |
FLUID: Adds initial MergeBack feature.
Diffstat (limited to 'fluid/Fl_Type.h')
| -rw-r--r-- | fluid/Fl_Type.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fluid/Fl_Type.h b/fluid/Fl_Type.h index 246294e26..28611fb90 100644 --- a/fluid/Fl_Type.h +++ b/fluid/Fl_Type.h @@ -121,6 +121,8 @@ protected: /** Optional comment for every node in the graph. Visible in browser and panels, and will also be copied to the source code. */ const char *comment_; + /** a unique ID within the project */ + unsigned short uid_; public: // things that should not be public: @@ -249,6 +251,10 @@ public: int has_function(const char*, const char*) const; + unsigned short set_uid(unsigned short suggested_uid=0); + unsigned short get_uid() { return uid_; } + static Fl_Type *find_by_uid(unsigned short uid); + static Fl_Type *find_in_text(int text_type, int crsr); }; |
