summaryrefslogtreecommitdiff
path: root/src/drivers/Wayland/Fl_Wayland_Window_Driver.H
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2024-01-22 09:52:35 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2024-01-22 09:52:35 +0100
commit45422a7d1952eb4094c287373afc7f7a1a23ae4a (patch)
tree97c0cc6ef6c5f87cde7a7917ffcac3e19abcd25d /src/drivers/Wayland/Fl_Wayland_Window_Driver.H
parent12854fd8e52417c647cba6659282d2945b08b80c (diff)
Add popup_window() virtual member functions to Fl_Window_Driver
Diffstat (limited to 'src/drivers/Wayland/Fl_Wayland_Window_Driver.H')
-rw-r--r--src/drivers/Wayland/Fl_Wayland_Window_Driver.H3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/drivers/Wayland/Fl_Wayland_Window_Driver.H b/src/drivers/Wayland/Fl_Wayland_Window_Driver.H
index 8bc1a10f8..bde5b8559 100644
--- a/src/drivers/Wayland/Fl_Wayland_Window_Driver.H
+++ b/src/drivers/Wayland/Fl_Wayland_Window_Driver.H
@@ -61,6 +61,7 @@ private:
Fl_Cursor standard_cursor_; // window's standard custom kind
void delete_cursor_(struct wld_window *, bool delete_rgb = true);
struct gl_start_support *gl_start_support_; // for support of gl_start/gl_finish
+ bool is_popup_window_;
public:
inline Fl_Cursor standard_cursor() { return standard_cursor_; };
bool in_handle_configure; // distinguish OS and user window resize
@@ -131,6 +132,8 @@ public:
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;
+ void popup_window(bool v) FL_OVERRIDE;
+ bool popup_window() FL_OVERRIDE;
// menu-related stuff
void reposition_menu_window(int x, int y) FL_OVERRIDE;
void menu_window_area(int &X, int &Y, int &W, int &H, int nscreen = -1) FL_OVERRIDE;