diff options
| author | Matthias Melcher <github@matthiasm.com> | 2023-07-11 23:13:46 +0200 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2023-07-11 23:13:55 +0200 |
| commit | 2e9c1a5097c0e5bcc94528a056dcc561621d137b (patch) | |
| tree | 2061ef0c62b60d5128c6937efdda001ed97aa864 /fluid/Fl_Window_Type.h | |
| parent | 71088b7fe2e7fb431f18c47e3e823a0bb8e5da52 (diff) | |
FLUID adding hatch pattern to overlapping widgets
Diffstat (limited to 'fluid/Fl_Window_Type.h')
| -rw-r--r-- | fluid/Fl_Window_Type.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fluid/Fl_Window_Type.h b/fluid/Fl_Window_Type.h index 42f17c7a6..02ea36231 100644 --- a/fluid/Fl_Window_Type.h +++ b/fluid/Fl_Window_Type.h @@ -29,6 +29,7 @@ extern Fl_Menu_Item window_type_menu[]; extern Fl_Widget_Class_Type *current_widget_class; void toggle_overlays(Fl_Widget *,void *); void toggle_guides(Fl_Widget *,void *); +void toggle_restricted(Fl_Widget *,void *); void show_project_cb(Fl_Widget *, void *); void show_grid_cb(Fl_Widget *, void *); void show_settings_cb(Fl_Widget *, void *); @@ -55,6 +56,9 @@ protected: int dx,dy; int drag; // which parts of bbox are being moved int numselected; // number of children selected + void draw_out_of_bounds(Fl_Widget_Type *group, int x, int y, int w, int h); + void draw_out_of_bounds(); + void draw_overlaps(); void draw_overlay(); void newdx(); void newposition(Fl_Widget_Type *,int &x,int &y,int &w,int &h); |
