diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2010-12-02 00:59:53 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2010-12-02 00:59:53 (GMT) |
commit | 957f50b657456c4c7da2778197c144548eded8cd (patch) | |
tree | 9aea0e8ffb4dc62b23fd324b55910916cef95167 /src/glibext | |
parent | f2d479c16a427696790441fa1459e7194f49bb6a (diff) |
Improved the rendering of decompiled Dex code.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@196 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/glibext')
-rw-r--r-- | src/glibext/gbufferline.c | 10 | ||||
-rw-r--r-- | src/glibext/gbufferline.h | 2 |
2 files changed, 12 insertions, 0 deletions
diff --git a/src/glibext/gbufferline.c b/src/glibext/gbufferline.c index 2527124..08684d5 100644 --- a/src/glibext/gbufferline.c +++ b/src/glibext/gbufferline.c @@ -360,6 +360,16 @@ static void g_buffer_line_class_init(GBufferLineClass *class) class->attribs[RTT_VAR_NAME] = pango_attr_list_new(); + attrib = pango_attr_foreground_new(0, 0, 0); + pango_attr_list_insert(class->attribs[RTT_VAR_NAME], attrib); + + /* RTT_KEY_WORD */ + + class->attribs[RTT_KEY_WORD] = pango_attr_list_new(); + + attrib = pango_attr_foreground_new(0, 0, 0); + pango_attr_list_insert(class->attribs[RTT_KEY_WORD], attrib); + } diff --git a/src/glibext/gbufferline.h b/src/glibext/gbufferline.h index 7ee3361..d4384e3 100644 --- a/src/glibext/gbufferline.h +++ b/src/glibext/gbufferline.h @@ -86,6 +86,8 @@ typedef enum _RenderingTagType RTT_VAR_NAME, /* Nom de variable */ + RTT_KEY_WORD, /* Mot clef de langage */ + RTT_COUNT } RenderingTagType; |