summaryrefslogtreecommitdiff
path: root/src/wx/fonts_dialog.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-11-02 22:47:57 +0000
committerCarl Hetherington <cth@carlh.net>2015-11-02 22:47:57 +0000
commit9bf2cf3509380663e6943f6b0d22dbec6002c332 (patch)
tree86999381629818072353ffb15d78f5815efabf69 /src/wx/fonts_dialog.h
parent8a673bcf0cd26268899face63723c0f201fabcce (diff)
Fix incorrect preview of italic subtitles (#728).
This requires fonts to be configured with their italic versions so that the italic font can be given to FontConfig and hence used to render text. Bold font configuration is also added here although bold subtitles aren't yet supported.
Diffstat (limited to 'src/wx/fonts_dialog.h')
-rw-r--r--src/wx/fonts_dialog.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/wx/fonts_dialog.h b/src/wx/fonts_dialog.h
index 26c2a5eaa..e04dc9937 100644
--- a/src/wx/fonts_dialog.h
+++ b/src/wx/fonts_dialog.h
@@ -32,14 +32,11 @@ public:
private:
void setup ();
- void set_from_file_clicked ();
- void set_from_system_clicked ();
void setup_sensitivity ();
void selection_changed ();
- void set_selected_font_file (boost::filesystem::path file);
+ void edit_clicked ();
boost::weak_ptr<SubtitleContent> _content;
wxListCtrl* _fonts;
- wxButton* _set_from_file;
- wxButton* _set_from_system;
+ wxButton* _edit;
};