summaryrefslogtreecommitdiff
path: root/gtk/gtktextlayout.h
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.van.berkom@gmail.com>2011-02-09 23:41:39 +0900
committerMatthias Clasen <mclasen@redhat.com>2011-05-06 17:05:10 -0400
commitd399a4acabf9904118ea4481d057bde39bf0ab0e (patch)
treef5e0a553cbf7f0e73f64de6d6439ba5bb6548d50 /gtk/gtktextlayout.h
parent297e7393953264b4c7c67562146a7b89dbaf43b2 (diff)
downloadgtk+-d399a4acabf9904118ea4481d057bde39bf0ab0e.tar.gz
Added GdkRGBA properties to GtkTextTag.
This now allows text view to render text with alpha values in the text foreground and backgrounds, the work is almost complete, currently the error-underline-color is still a GdkColor style property and since we use only GdkRGBA for rendering it needs to be converted and applied, probably a new rgba version of the style property should also be introduced. This commit adds tests/testtextview that must be run from the tests/ directory to show translucent text in action.
Diffstat (limited to 'gtk/gtktextlayout.h')
-rw-r--r--gtk/gtktextlayout.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtktextlayout.h b/gtk/gtktextlayout.h
index 4e9533d0eb..09ca01c5b0 100644
--- a/gtk/gtktextlayout.h
+++ b/gtk/gtktextlayout.h
@@ -233,6 +233,7 @@ struct _GtkTextCursorDisplay
guint is_strong : 1;
guint is_weak : 1;
};
+
struct _GtkTextLineDisplay
{
PangoLayout *layout;