#include <wx/listctrl.h>
#include <wx/wx.h>
#include <boost/shared_ptr.hpp>
+#include <boost/weak_ptr.hpp>
+#include <boost/filesystem.hpp>
class SubtitleContent;
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;
};