aboutsummaryrefslogtreecommitdiff
path: root/lib/gtk-experiment-widgets/gtk-experiment-transcript.h
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2012-06-04 13:42:47 +0200
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2012-06-04 13:42:47 +0200
commit71b279783975e3542e172e23b37583583cb2482b (patch)
tree3fd004ba6ddb15939a669bfddb18e824300c4342 /lib/gtk-experiment-widgets/gtk-experiment-transcript.h
parent5a7a427e189eb15ca761eb7d3c8d22bad67e233f (diff)
downloadexperiment-player-71b279783975e3542e172e23b37583583cb2482b.tar.gz
load default interactive format font and colors from config file and also save them
* pango attributes cannot be "cached" anymore and must be recreated every time the interactive format is configured
Diffstat (limited to 'lib/gtk-experiment-widgets/gtk-experiment-transcript.h')
-rw-r--r--lib/gtk-experiment-widgets/gtk-experiment-transcript.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/gtk-experiment-widgets/gtk-experiment-transcript.h b/lib/gtk-experiment-widgets/gtk-experiment-transcript.h
index fa4b7ab..9d65863 100644
--- a/lib/gtk-experiment-widgets/gtk-experiment-transcript.h
+++ b/lib/gtk-experiment-widgets/gtk-experiment-transcript.h
@@ -8,6 +8,8 @@
#define __GTK_EXPERIMENT_TRANSCRIPT_H
#include <glib-object.h>
+#include <gdk/gdk.h>
+
#include <gtk/gtk.h>
#include <experiment-reader.h>
@@ -45,6 +47,12 @@ typedef struct _GtkExperimentTranscript {
gchar *speaker; /**< Name of speaker whose contributions are displayed (\b read-only) */
gboolean reverse; /**< Reverse mode (\b read-write) */
+ struct _GtkExperimentTranscriptInteractiveFormat {
+ PangoFontDescription *default_font; /**< Default interactive format font */
+ GdkColor *default_text_color; /**< Default interactive format text color */
+ GdkColor *default_bg_color; /**< Default interactive format background color */
+ } interactive_format;
+
GtkExperimentTranscriptPrivate *priv; /**< @private Pointer to \b private instance attributes */
} GtkExperimentTranscript;