diff options
author | John Tytgat <joty@netsurf-browser.org> | 2008-08-05 01:32:15 +0000 |
---|---|---|
committer | John Tytgat <joty@netsurf-browser.org> | 2008-08-05 01:32:15 +0000 |
commit | be181a5b55adf1fd1ef21370350c16c28407dc32 (patch) | |
tree | deb7ddb1bb23032aef6f2f8887bbf3ef17b97fab /riscos/configure/con_fonts.c | |
parent | 4be25b29516243efcc1985fd347e507778fe6100 (diff) | |
download | netsurf-be181a5b55adf1fd1ef21370350c16c28407dc32.tar.gz netsurf-be181a5b55adf1fd1ef21370350c16c28407dc32.tar.bz2 |
Merged ro_gui_set_icon_string_le() into ro_gui_set_icon_string() by adding ro_gui_set_icon_string() and extra to_utf8 parameter.
svn path=/trunk/netsurf/; revision=4910
Diffstat (limited to 'riscos/configure/con_fonts.c')
-rw-r--r-- | riscos/configure/con_fonts.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/riscos/configure/con_fonts.c b/riscos/configure/con_fonts.c index 4fea0629c..006d68a4a 100644 --- a/riscos/configure/con_fonts.c +++ b/riscos/configure/con_fonts.c @@ -67,13 +67,13 @@ bool ro_gui_options_fonts_initialise(wimp_w w) /* set the current values */ ro_gui_set_icon_decimal(w, FONT_DEFAULT_SIZE, option_font_size, 1); ro_gui_set_icon_decimal(w, FONT_MINIMUM_SIZE, option_font_min_size, 1); - ro_gui_set_icon_string(w, FONT_SANS_FIELD, option_font_sans); - ro_gui_set_icon_string(w, FONT_SERIF_FIELD, option_font_serif); - ro_gui_set_icon_string(w, FONT_MONOSPACE_FIELD, option_font_mono); - ro_gui_set_icon_string(w, FONT_CURSIVE_FIELD, option_font_cursive); - ro_gui_set_icon_string(w, FONT_FANTASY_FIELD, option_font_fantasy); + ro_gui_set_icon_string(w, FONT_SANS_FIELD, option_font_sans, true); + ro_gui_set_icon_string(w, FONT_SERIF_FIELD, option_font_serif, true); + ro_gui_set_icon_string(w, FONT_MONOSPACE_FIELD, option_font_mono, true); + ro_gui_set_icon_string(w, FONT_CURSIVE_FIELD, option_font_cursive, true); + ro_gui_set_icon_string(w, FONT_FANTASY_FIELD, option_font_fantasy, true); ro_gui_set_icon_string(w, FONT_DEFAULT_FIELD, - css_font_family_name[option_font_default]); + css_font_family_name[option_font_default], true); if (!ro_gui_options_fonts_init_menu()) return false; @@ -114,17 +114,17 @@ void ro_gui_options_fonts_default(wimp_pointer *pointer) ro_gui_set_icon_decimal(pointer->w, FONT_DEFAULT_SIZE, 128, 1); ro_gui_set_icon_decimal(pointer->w, FONT_MINIMUM_SIZE, 85, 1); ro_gui_set_icon_string(pointer->w, FONT_SANS_FIELD, - nsfont_exists("Homerton") ? "Homerton" : fallback); + nsfont_exists("Homerton") ? "Homerton" : fallback, true); ro_gui_set_icon_string(pointer->w, FONT_SERIF_FIELD, - nsfont_exists("Trinity") ? "Trinity" : fallback); + nsfont_exists("Trinity") ? "Trinity" : fallback, true); ro_gui_set_icon_string(pointer->w, FONT_MONOSPACE_FIELD, - nsfont_exists("Corpus") ? "Corpus" : fallback); + nsfont_exists("Corpus") ? "Corpus" : fallback, true); ro_gui_set_icon_string(pointer->w, FONT_CURSIVE_FIELD, - nsfont_exists("Churchill") ? "Churchill" : fallback); + nsfont_exists("Churchill") ? "Churchill" : fallback, true); ro_gui_set_icon_string(pointer->w, FONT_FANTASY_FIELD, - nsfont_exists("Sassoon") ? "Sassoon" : fallback); + nsfont_exists("Sassoon") ? "Sassoon" : fallback, true); ro_gui_set_icon_string(pointer->w, FONT_DEFAULT_FIELD, - css_font_family_name[1]); + css_font_family_name[1], true); } bool ro_gui_options_fonts_ok(wimp_w w) |