diff options
| author | Matthias Melcher <github@matthiasm.com> | 2023-07-17 15:55:56 +0200 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2023-07-17 15:56:05 +0200 |
| commit | 80ad543963431f47f3fd8ae2d06d2fa32341299e (patch) | |
| tree | 088f01082e3c8ec26e022372082c9bc2e106e94e /fluid/Fl_Window_Type.h | |
| parent | 4d94a08bd2fcd681d33bfb51228ace3b432b19ab (diff) | |
FLUID: using symbols instead of integers
Diffstat (limited to 'fluid/Fl_Window_Type.h')
| -rw-r--r-- | fluid/Fl_Window_Type.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fluid/Fl_Window_Type.h b/fluid/Fl_Window_Type.h index 02ea36231..b59d9c047 100644 --- a/fluid/Fl_Window_Type.h +++ b/fluid/Fl_Window_Type.h @@ -70,7 +70,7 @@ protected: Fl_Widget *widget(int,int,int,int) FL_OVERRIDE {return 0;} int recalc; // set by fix_overlay() void moveallchildren(); - int pixmapID() FL_OVERRIDE { return 1; } + ID id() const FL_OVERRIDE { return ID::Window; } void open_(); public: @@ -139,7 +139,7 @@ public: void write_code2(Fd_Code_Writer& f) FL_OVERRIDE; Fl_Type *make(Strategy strategy) FL_OVERRIDE; const char *type_name() FL_OVERRIDE {return "widget_class";} - int pixmapID() FL_OVERRIDE { return 48; } + ID id() const FL_OVERRIDE { return ID::Widget_Class; } int is_parent() const FL_OVERRIDE {return 1;} int is_code_block() const FL_OVERRIDE {return 1;} int is_decl_block() const FL_OVERRIDE {return 1;} |
