Logging improvements to allow prettier displays in the server GUI.
[dcpomatic.git] / src / wx / fonts_dialog.h
index 0d4bcfd7e8752b79980e9c0193e14606e8dc84c1..26c2a5eaa1848247152674e1abb9708bbbcce69a 100644 (file)
@@ -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 update_sensitivity ();
+       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);
 
        boost::weak_ptr<SubtitleContent> _content;
        wxListCtrl* _fonts;
-       wxButton* _set_file;
+       wxButton* _set_from_file;
+       wxButton* _set_from_system;
 };