summaryrefslogtreecommitdiff
path: root/src/drivers/Wayland/Fl_Wayland_Window_Driver.H
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-10-05 17:00:07 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-10-05 17:07:55 +0200
commit6571bd2f28d916b0aa0e0091ff3b84018454ed80 (patch)
tree72a1d335c39bff7a7eded427b19ce82f3ce41b86 /src/drivers/Wayland/Fl_Wayland_Window_Driver.H
parente8f633cf2f6a8fe7d1d23bd5bc987f22ef0a3319 (diff)
Wayland: whitespace only changes
Diffstat (limited to 'src/drivers/Wayland/Fl_Wayland_Window_Driver.H')
-rw-r--r--src/drivers/Wayland/Fl_Wayland_Window_Driver.H12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/drivers/Wayland/Fl_Wayland_Window_Driver.H b/src/drivers/Wayland/Fl_Wayland_Window_Driver.H
index c3a8f41a3..03c0a41d3 100644
--- a/src/drivers/Wayland/Fl_Wayland_Window_Driver.H
+++ b/src/drivers/Wayland/Fl_Wayland_Window_Driver.H
@@ -56,7 +56,7 @@ private:
Fl_Image* shape_; ///< shape image
cairo_pattern_t *mask_pattern_;
} *shape_data_;
- cairo_rectangle_int_t *subRect_; // makes sure subwindow remains inside its parent window
+ cairo_rectangle_int_t *subRect_; // makes sure subwindow remains inside its parent window
static bool in_flush_; // useful for progressive window drawing
Fl_Cursor standard_cursor_; // window's standard custom kind
void delete_cursor_(struct wld_window *, bool delete_rgb = true);
@@ -88,7 +88,9 @@ public:
static struct wld_window *wld_window;
static Fl_Window *surface_to_window(struct wl_surface *);
- static inline Fl_Wayland_Window_Driver* driver(const Fl_Window *w) {return (Fl_Wayland_Window_Driver*)Fl_Window_Driver::driver(w);}
+ static inline Fl_Wayland_Window_Driver* driver(const Fl_Window *w) {
+ return (Fl_Wayland_Window_Driver*)Fl_Window_Driver::driver(w);
+ }
static void resize_after_screen_change(void *data);
static Fl_Wayland_Plugin *gl_plugin();
@@ -122,8 +124,10 @@ public:
int set_cursor_4args(const Fl_RGB_Image*, int, int, bool);
void shape(const Fl_Image* img) FL_OVERRIDE;
- void capture_titlebar_and_borders(Fl_RGB_Image*& top, Fl_RGB_Image*& left, Fl_RGB_Image*& bottom, Fl_RGB_Image*& right) FL_OVERRIDE;
- int scroll(int src_x, int src_y, int src_w, int src_h, int dest_x, int dest_y, void (*draw_area)(void*, int,int,int,int), void* data) FL_OVERRIDE;
+ void capture_titlebar_and_borders(Fl_RGB_Image*& top, Fl_RGB_Image*& left,
+ Fl_RGB_Image*& bottom, Fl_RGB_Image*& right) FL_OVERRIDE;
+ int scroll(int src_x, int src_y, int src_w, int src_h, int dest_x, int dest_y,
+ void (*draw_area)(void*, int,int,int,int), void* data) FL_OVERRIDE;
void wait_for_expose() FL_OVERRIDE;
// menu-related stuff
void reposition_menu_window(int x, int y) FL_OVERRIDE;