From f97fbffa7b927829236e792df8ef6416c6aeed4f Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Wed, 9 Mar 2022 08:46:49 +0100 Subject: Move all font stuff to Fl_Cairo_Graphics_Driver from Fl_Wayland_Graphics_Driver. --- src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H') diff --git a/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H b/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H index 8023c6c94..5458cc9a3 100644 --- a/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H +++ b/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H @@ -73,26 +73,16 @@ struct wld_window; class FL_EXPORT Fl_Wayland_Graphics_Driver : public Fl_Cairo_Graphics_Driver { private: struct fl_wld_buffer *buffer_; - PangoLayout *dummy_pango_layout_; // used to measure text width before showing a window public: Fl_Wayland_Graphics_Driver(); - ~Fl_Wayland_Graphics_Driver(); static const uint32_t wld_format; void activate(struct fl_wld_buffer *buffer, float scale); - void font(Fl_Font fnum, Fl_Fontsize s); - Fl_Font font() { return Fl_Graphics_Driver::font(); } void clip_region(Fl_Region r); Fl_Region XRectangleRegion(int x, int y, int w, int h); void add_rectangle_to_region(Fl_Region r, int X, int Y, int W, int H); void XDestroyRegion(Fl_Region r); void set_color(Fl_Color i, unsigned c); - Fl_Font set_fonts(const char* pattern_name); - const char *font_name(int num); - void font_name(int num, const char *name); - const char* get_font_name(Fl_Font fnum, int* ap); - int get_font_sizes(Fl_Font fnum, int*& sizep); void copy_offscreen(int x, int y, int w, int h, Fl_Offscreen osrc, int srcx, int srcy); - static void init_built_in_fonts(); static struct fl_wld_buffer *create_shm_buffer(int width, int height); static void buffer_release(struct wld_window *window); static void buffer_commit(struct wld_window *window); -- cgit v1.2.3