summaryrefslogtreecommitdiff
path: root/render/theme.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-06-21 02:15:13 +0000
committerDana Jansens <danakj@orodu.net>2003-06-21 02:15:13 +0000
commitdbe2851b910dcdb02afbb744dbb2926286ab8f65 (patch)
tree67d0944971350ff00b003f959a792756d049df68 /render/theme.c
parent10232a436a7286ae35afaa57cefbb9dc41610572 (diff)
more namespacing to Rr*
Diffstat (limited to 'render/theme.c')
-rw-r--r--render/theme.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/render/theme.c b/render/theme.c
index ad727432..1a38093a 100644
--- a/render/theme.c
+++ b/render/theme.c
@@ -125,9 +125,9 @@ RrTheme* RrThemeNew(const RrInstance *inst, gchar *name)
theme->winfont_shadow_tint < 100 || theme->winfont_shadow_tint > 100)
theme->winfont_shadow_tint = 25;
- theme->winfont = font_open(inst, font_str);
- theme->winfont_height = font_height(theme->winfont, theme->winfont_shadow,
- theme->winfont_shadow_offset);
+ theme->winfont = RrFontOpen(inst, font_str);
+ theme->winfont_height = RrFontHeight(theme->winfont, theme->winfont_shadow,
+ theme->winfont_shadow_offset);
winjust = RR_JUSTIFY_LEFT;
if (read_string(db, "window.justify", &str)) {
@@ -156,10 +156,10 @@ RrTheme* RrThemeNew(const RrInstance *inst, gchar *name)
theme->mtitlefont_shadow_tint > 100)
theme->mtitlefont_shadow_tint = 25;
- theme->mtitlefont = font_open(inst, font_str);
- theme->mtitlefont_height = font_height(theme->mtitlefont,
- theme->mtitlefont_shadow,
- theme->mtitlefont_shadow_offset);
+ theme->mtitlefont = RrFontOpen(inst, font_str);
+ theme->mtitlefont_height = RrFontHeight(theme->mtitlefont,
+ theme->mtitlefont_shadow,
+ theme->mtitlefont_shadow_offset);
mtitlejust = RR_JUSTIFY_LEFT;
if (read_string(db, "menu.title.justify", &str)) {
@@ -188,9 +188,9 @@ RrTheme* RrThemeNew(const RrInstance *inst, gchar *name)
theme->mfont_shadow_tint > 100)
theme->mfont_shadow_tint = 25;
- theme->mfont = font_open(inst, font_str);
- theme->mfont_height = font_height(theme->mfont, theme->mfont_shadow,
- theme->mfont_shadow_offset);
+ theme->mfont = RrFontOpen(inst, font_str);
+ theme->mfont_height = RrFontHeight(theme->mfont, theme->mfont_shadow,
+ theme->mfont_shadow_offset);
mjust = RR_JUSTIFY_LEFT;
if (read_string(db, "menu.frame.justify", &str)) {
@@ -647,9 +647,9 @@ void RrThemeFree(RrTheme *theme)
RrPixmapMaskFree(theme->iconify_mask);
RrPixmapMaskFree(theme->close_mask);
- font_close(theme->winfont);
- font_close(theme->mtitlefont);
- font_close(theme->mfont);
+ RrFontClose(theme->winfont);
+ RrFontClose(theme->mtitlefont);
+ RrFontClose(theme->mfont);
g_free(theme->title_layout);