#define CLUTTER_TEXT_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), CLUTTER_TYPE_TEXT, ClutterTextPrivate))
typedef struct _LayoutCache LayoutCache;
+typedef struct _TextCommand TextCommand;
+typedef struct _ClutterTextMapping ClutterTextMapping;
/* Probably move into main */
static PangoContext *_context = NULL;
guint age;
};
+struct _TextCommand
+{
+ const gchar *name;
+ gboolean (*func) (ClutterText *ttext,
+ const gchar *commandline,
+ ClutterEvent *event);
+};
+
+struct _ClutterTextMapping
+{
+ ClutterModifierType state;
+ guint keyval;
+ const gchar *action;
+};
+
struct _ClutterTextPrivate
{
PangoFontDescription *font_desc;
(g_utf8_pointer_to_offset ((t), (t) + (p)))
-typedef struct TextCommand {
- const gchar *name;
- gboolean (*func) (ClutterText *ttext,
- const gchar *commandline,
- ClutterEvent *event);
-} TextCommand;
-
-typedef struct ClutterTextMapping {
- ClutterModifierType state;
- guint keyval;
- const gchar *action;
-} ClutterTextMapping;
-
void
clutter_text_mappings_clear (ClutterText *self)
{