Add edit box font face and size to the preferences dialog

Originally committed to SVN as r5706.
This commit is contained in:
Thomas Goyne 2011-10-01 18:35:19 +00:00
parent 3ff8591c22
commit 8624f923d9
1 changed files with 4 additions and 1 deletions

View File

@ -144,13 +144,16 @@ Video::Video(wxTreebook *book, Preferences *parent): OptionPage(book, parent, _(
/// Interface preferences page
Interface::Interface(wxTreebook *book, Preferences *parent): OptionPage(book, parent, _("Interface")) {
wxFlexGridSizer *grid = PageSizer(_("Subtitle Grid"));
OptionBrowse(grid, _("Font face"), BROWSE_FONT, "Subtitle/Grid/Font Face");
OptionAdd(grid, _("Font size"), "Subtitle/Grid/Font Size", 3, 42);
OptionAdd(grid, _("Hide overrides symbol"), "Subtitle/Grid/Hide Overrides Char");
wxFlexGridSizer *edit_box = PageSizer(_("Edit Box"));
OptionBrowse(edit_box, _("Font face"), BROWSE_FONT, "Subtitle/Edit Box/Font Face");
OptionAdd(edit_box, _("Font size"), "Subtitle/Edit Box/Font Size", 3, 42);
SetSizerAndFit(sizer);
}