Use wxDC for all drawing of the audio mapping view, removing
[dcpomatic.git] / src / wx / wx_util.h
index af25ce0f5e1851ba1ca1fdcf086ff6564b3f10da..bff58a3239940b735093f8ad66bd72305d3792d6 100644 (file)
@@ -87,6 +87,23 @@ extern wxSplashScreen* maybe_show_splash ();
 extern double calculate_mark_interval (double start);
 extern bool display_progress (wxString title, wxString task);
 extern bool report_errors_from_last_job (wxWindow* parent);
+extern wxString bitmap_path (std::string name);
+
+struct Offset
+{
+       Offset (wxString n, int h, int m)
+               : name (n)
+               , hour (h)
+               , minute (m)
+       {}
+
+       wxString name;
+       int hour;
+       int minute;
+};
+
+extern int get_offsets (std::vector<Offset>& offsets);
+
 
 extern void checked_set (FilePickerCtrl* widget, boost::filesystem::path value);
 extern void checked_set (wxDirPickerCtrl* widget, boost::filesystem::path value);