diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-03-09 08:46:49 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-03-09 08:46:49 +0100 |
| commit | f97fbffa7b927829236e792df8ef6416c6aeed4f (patch) | |
| tree | 7e51bc5453f91f9f3304ea77a1a766862e8d717d /src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H | |
| parent | e3f67b8e56e6a45cb1c9bd9724627ea8d5769ddb (diff) | |
Move all font stuff to Fl_Cairo_Graphics_Driver from Fl_Wayland_Graphics_Driver.
Diffstat (limited to 'src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H')
| -rw-r--r-- | src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H | 10 |
1 files changed, 0 insertions, 10 deletions
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); |
