From 9575eb0a1ffa8150f70f88b5f6b55f342c3c0088 Mon Sep 17 00:00:00 2001 From: maxim nikonov Date: Fri, 6 Feb 2026 13:41:26 +0500 Subject: wip --- fluid/widgets/App_Menu_Bar.h | 2 +- fluid/widgets/Bin_Button.h | 4 ++-- fluid/widgets/Code_Viewer.h | 4 ++-- fluid/widgets/Formula_Input.h | 2 +- fluid/widgets/Node_Browser.h | 20 ++++++++++---------- fluid/widgets/Text_Viewer.h | 2 +- 6 files changed, 17 insertions(+), 17 deletions(-) (limited to 'fluid/widgets') diff --git a/fluid/widgets/App_Menu_Bar.h b/fluid/widgets/App_Menu_Bar.h index bda77031f..d9547c38f 100644 --- a/fluid/widgets/App_Menu_Bar.h +++ b/fluid/widgets/App_Menu_Bar.h @@ -32,7 +32,7 @@ namespace widget { class App_Menu_Bar : public Fl_Menu_Bar { public: App_Menu_Bar(int X, int Y, int W, int H, const char *L = 0); - int handle(int event) override; + int handle(int event); }; } // namespace widget diff --git a/fluid/widgets/Bin_Button.h b/fluid/widgets/Bin_Button.h index e04228c82..aac415ff8 100644 --- a/fluid/widgets/Bin_Button.h +++ b/fluid/widgets/Bin_Button.h @@ -25,7 +25,7 @@ namespace widget { // Adding drag and drop for dragging widgets into windows. class Bin_Button : public Fl_Button { public: - int handle(int) override; + int handle(int); Bin_Button(int X,int Y,int W,int H, const char* l = 0) : Fl_Button(X,Y,W,H,l) { } }; @@ -33,7 +33,7 @@ public: // Adding drag and drop functionality to drag window prototypes onto the desktop. class Bin_Window_Button : public Fl_Button { public: - int handle(int) override; + int handle(int); Bin_Window_Button(int X,int Y,int W,int H, const char* l = 0) : Fl_Button(X,Y,W,H,l) { } }; diff --git a/fluid/widgets/Code_Viewer.h b/fluid/widgets/Code_Viewer.h index 976462ca1..a65a66f58 100644 --- a/fluid/widgets/Code_Viewer.h +++ b/fluid/widgets/Code_Viewer.h @@ -40,10 +40,10 @@ public: Code_Viewer(int X, int Y, int W, int H, const char *L = 0); protected: - void draw() override; + void draw(); /// Limit event handling to viewing, not editing - int handle(int ev) override { return Fl_Text_Display::handle(ev); } + int handle(int ev) { return Fl_Text_Display::handle(ev); } }; } // namespace widget diff --git a/fluid/widgets/Formula_Input.h b/fluid/widgets/Formula_Input.h index 5daa22bd9..53321ff21 100644 --- a/fluid/widgets/Formula_Input.h +++ b/fluid/widgets/Formula_Input.h @@ -64,7 +64,7 @@ public: void callback(Fl_Callback *cb) { user_callback_ = cb; } void variables(fld::widget::Formula_Input_Vars *vars, void *user_data); - int handle(int) override; + int handle(int); }; } // namespace widget diff --git a/fluid/widgets/Node_Browser.h b/fluid/widgets/Node_Browser.h index 1296c3108..5ca0ae566 100644 --- a/fluid/widgets/Node_Browser.h +++ b/fluid/widgets/Node_Browser.h @@ -37,19 +37,19 @@ class Node_Browser : public Fl_Browser_ int saved_v_scroll_ { 0 }; // required routines for Fl_Browser_ subclass: - void *item_first() const override; - void *item_next(void *) const override; - void *item_prev(void *) const override; - int item_selected(void *) const override; - void item_select(void *,int) override; - int item_width(void *) const override; - int item_height(void *) const override; - void item_draw(void *,int,int,int,int) const override; - int incr_height() const override; + void *item_first() const; + void *item_next(void *) const; + void *item_prev(void *) const; + int item_selected(void *) const; + void item_select(void *,int); + int item_width(void *) const; + int item_height(void *) const; + void item_draw(void *,int,int,int,int) const; + int incr_height() const; public: Node_Browser(int,int,int,int,const char * = 0); - int handle(int) override; + int handle(int); void callback(); void save_scroll_position(); void restore_scroll_position(); diff --git a/fluid/widgets/Text_Viewer.h b/fluid/widgets/Text_Viewer.h index ced32cd39..dac23e855 100644 --- a/fluid/widgets/Text_Viewer.h +++ b/fluid/widgets/Text_Viewer.h @@ -33,7 +33,7 @@ class Text_Viewer : public Fl_Text_Display { public: Text_Viewer(int X, int Y, int W, int H, const char *L = 0); ~Text_Viewer(); - void draw() override; + void draw(); /// access to protected member get_absolute_top_line_number() int top_line() { return get_absolute_top_line_number(); } -- cgit v1.2.3