diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2019-03-20 23:10:36 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2019-03-20 23:10:36 (GMT) |
commit | c8bcac5e5b09c068edf50cc687c7e0cdc84dd6af (patch) | |
tree | a01d28d53febf9d31298c9d487ce0ad725df68d3 | |
parent | ff1ce15f6c4b3516d7a34b09dd99abb32a0bd671 (diff) |
Included toolbar buttons into scaled rendering.
-rw-r--r-- | src/gtkext/gtkbufferdisplay.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/gtkext/gtkbufferdisplay.c b/src/gtkext/gtkbufferdisplay.c index b7af1d6..d8061d7 100644 --- a/src/gtkext/gtkbufferdisplay.c +++ b/src/gtkext/gtkbufferdisplay.c @@ -525,8 +525,6 @@ static gboolean gtk_buffer_display_draw(GtkWidget *widget, cairo_t *cr) } - cairo_restore(cr); - /* Curseur clignotant ? */ if (gtk_widget_is_focus(widget)) @@ -534,8 +532,16 @@ static gboolean gtk_buffer_display_draw(GtkWidget *widget, cairo_t *cr) cairo_restore(cr); + cairo_restore(cr); + + cairo_restore(cr); + /* Dessin des composants contenus */ + cairo_save(cr); + + cairo_scale(cr, parent->scale, parent->scale); + GTK_WIDGET_CLASS(gtk_buffer_display_parent_class)->draw(widget, cr); cairo_restore(cr); |