summaryrefslogtreecommitdiff
path: root/src/wx/fonts_dialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/fonts_dialog.h')
-rw-r--r--src/wx/fonts_dialog.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/wx/fonts_dialog.h b/src/wx/fonts_dialog.h
index 0d4bcfd7e..c29a982c9 100644
--- a/src/wx/fonts_dialog.h
+++ b/src/wx/fonts_dialog.h
@@ -20,6 +20,8 @@
#include <wx/listctrl.h>
#include <wx/wx.h>
#include <boost/shared_ptr.hpp>
+#include <boost/weak_ptr.hpp>
+#include <boost/filesystem.hpp>
class SubtitleContent;
@@ -30,11 +32,14 @@ public:
private:
void setup ();
- void set_file_clicked ();
+ void set_from_file_clicked ();
+ void set_from_system_clicked ();
void update_sensitivity ();
void selection_changed ();
+ void set_selected_font_file (boost::filesystem::path file);
boost::weak_ptr<SubtitleContent> _content;
wxListCtrl* _fonts;
- wxButton* _set_file;
+ wxButton* _set_from_file;
+ wxButton* _set_from_system;
};