summaryrefslogtreecommitdiff
path: root/src/wx/properties_dialog.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-09-22 13:39:20 +0100
committerCarl Hetherington <cth@carlh.net>2012-09-22 13:39:20 +0100
commit0401db037ade0781849072329feb5eef73d5ca98 (patch)
treeb2514ffe4e2ac04f58103a83c04ca3fd9276ecaf /src/wx/properties_dialog.h
parent9e92b5193719e72072d903d10c1e71ee6447561d (diff)
Update frames computed label in a separate thread to avoid holding up the GUI.
Diffstat (limited to 'src/wx/properties_dialog.h')
-rw-r--r--src/wx/properties_dialog.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/wx/properties_dialog.h b/src/wx/properties_dialog.h
index 25c11e8d0..f72c83419 100644
--- a/src/wx/properties_dialog.h
+++ b/src/wx/properties_dialog.h
@@ -20,6 +20,7 @@
#include <wx/wx.h>
class Film;
+class ThreadedStaticText;
class PropertiesDialog : public wxDialog
{
@@ -27,9 +28,12 @@ public:
PropertiesDialog (wxWindow *, Film *);
private:
+ std::string frames_already_encoded () const;
+
+ Film* _film;
wxStaticText* _frames;
wxStaticText* _disk_for_frames;
wxStaticText* _total_disk;
- wxStaticText* _encoded;
+ ThreadedStaticText* _encoded;
};