diff options
| author | Dana Jansens <danakj@orodu.net> | 2008-02-06 21:35:55 -0500 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2008-02-07 02:14:43 -0500 |
| commit | a01ece1353465ef471becdad3e448c32a4516f43 (patch) | |
| tree | 535db6c286ebcb4962ac017cfb38a97f1451c246 /render/render.h | |
| parent | a0a9b0334b32e205da994b0395af1b544888a5dd (diff) | |
you can create dialog windows called "prompts" which have a message and some buttons! they don't do anything interesting yet.
Diffstat (limited to 'render/render.h')
| -rw-r--r-- | render/render.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/render/render.h b/render/render.h index e4ca914b..b83a53dd 100644 --- a/render/render.h +++ b/render/render.h @@ -141,6 +141,7 @@ struct _RrTextureText { gboolean shortcut; /*!< Underline a character */ guint shortcut_pos; /*!< Position in bytes of the character to underline */ RrEllipsizeMode ellipsize; + gint maxwidth; }; struct _RrPixmapMask { @@ -244,6 +245,7 @@ GC RrColorGC (RrColor *c); RrAppearance *RrAppearanceNew (const RrInstance *inst, gint numtex); RrAppearance *RrAppearanceCopy (RrAppearance *a); void RrAppearanceFree (RrAppearance *a); +void RrAppearanceRemoveTextures(RrAppearance *a); void RrAppearanceAddTextures(RrAppearance *a, gint numtex); RrFont *RrFontOpen (const RrInstance *inst, const gchar *name, @@ -251,7 +253,8 @@ RrFont *RrFontOpen (const RrInstance *inst, const gchar *name, RrFont *RrFontOpenDefault (const RrInstance *inst); void RrFontClose (RrFont *f); RrSize *RrFontMeasureString (const RrFont *f, const gchar *str, - gint shadow_offset_x, gint shadow_offset_y); + gint shadow_offset_x, gint shadow_offset_y, + gint maxwidth); gint RrFontHeight (const RrFont *f, gint shadow_offset_y); gint RrFontMaxCharWidth (const RrFont *f); |
