diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2019-11-09 13:18:35 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2019-11-09 13:18:35 (GMT) |
commit | c301f7e77eaca632a491b5b4417c8e4b9dce2570 (patch) | |
tree | 501ccdd583e35ccad4f3a0592f2fb1b0870e0d5f /src/gtkext/gtkbufferdisplay.c | |
parent | 459b345d69532825f21bdcd3e4f92009b0a046dc (diff) |
Introduced the first features of a hexadecimal viewer.
Diffstat (limited to 'src/gtkext/gtkbufferdisplay.c')
-rw-r--r-- | src/gtkext/gtkbufferdisplay.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gtkext/gtkbufferdisplay.c b/src/gtkext/gtkbufferdisplay.c index a1833a6..32a6a98 100644 --- a/src/gtkext/gtkbufferdisplay.c +++ b/src/gtkext/gtkbufferdisplay.c @@ -467,6 +467,8 @@ static gboolean gtk_buffer_display_draw(GtkWidget *widget, cairo_t *cr) gtk_style_context_add_class(context, GTK_STYLE_CLASS_VIEW); + gtk_style_context_add_class(context, "graph-block-background"); + gtk_render_background(context, cr, left_margin, area.y, area.width, area.height); gtk_style_context_restore(context); |