summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-10-30 19:42:46 +0000
committerCarl Hetherington <cth@carlh.net>2014-10-30 19:42:46 +0000
commitbd1c1d920bb1cb49acf00dcf231c109894d0e56c (patch)
treeed4767fa5df22cdd1d8f417b9b48fa3d3bc04d0d /src
parentff36cdf2ea9f18ad7a00cb2d8091552c765a934f (diff)
Forward-port tweaks to content buttons from 1.x.
Diffstat (limited to 'src')
-rw-r--r--src/wx/content_panel.cc24
1 files changed, 18 insertions, 6 deletions
diff --git a/src/wx/content_panel.cc b/src/wx/content_panel.cc
index 473fd5173..23b531b47 100644
--- a/src/wx/content_panel.cc
+++ b/src/wx/content_panel.cc
@@ -64,18 +64,30 @@ ContentPanel::ContentPanel (wxNotebook* n, boost::shared_ptr<Film> f)
_content->SetColumnWidth (0, 512);
wxBoxSizer* b = new wxBoxSizer (wxVERTICAL);
+
_add_file = new wxButton (_panel, wxID_ANY, _("Add file(s)..."));
- b->Add (_add_file, 1, wxEXPAND | wxALL, DCPOMATIC_BUTTON_STACK_GAP);
- _add_folder = new wxButton (_panel, wxID_ANY, _("Add folder..."));
+ _add_file->SetToolTip (_("Add video, image or sound files to the film."));
+ b->Add (_add_file, 0, wxEXPAND | wxALL, DCPOMATIC_BUTTON_STACK_GAP);
+
+ _add_folder = new wxButton (_panel, wxID_ANY, _("Add image\nsequence..."));
+ _add_folder->SetToolTip (_("Add a directory of image files which will be used as a moving image sequence."));
b->Add (_add_folder, 1, wxEXPAND | wxALL, DCPOMATIC_BUTTON_STACK_GAP);
+
_remove = new wxButton (_panel, wxID_ANY, _("Remove"));
- b->Add (_remove, 1, wxEXPAND | wxALL, DCPOMATIC_BUTTON_STACK_GAP);
+ _remove->SetToolTip (_("Remove the selected piece of content from the film."));
+ b->Add (_remove, 0, wxEXPAND | wxALL, DCPOMATIC_BUTTON_STACK_GAP);
+
_earlier = new wxButton (_panel, wxID_ANY, _("Up"));
- b->Add (_earlier, 1, wxEXPAND | wxALL, DCPOMATIC_BUTTON_STACK_GAP);
+ _earlier->SetToolTip (_("Move the selected piece of content earlier in the film."));
+ b->Add (_earlier, 0, wxEXPAND | wxALL, DCPOMATIC_BUTTON_STACK_GAP);
+
_later = new wxButton (_panel, wxID_ANY, _("Down"));
- b->Add (_later, 1, wxEXPAND | wxALL, DCPOMATIC_BUTTON_STACK_GAP);
+ _later->SetToolTip (_("Move the selected piece of content later in the film."));
+ b->Add (_later, 0, wxEXPAND | wxALL, DCPOMATIC_BUTTON_STACK_GAP);
+
_timeline = new wxButton (_panel, wxID_ANY, _("Timeline..."));
- b->Add (_timeline, 1, wxEXPAND | wxALL, DCPOMATIC_BUTTON_STACK_GAP);
+ _timeline->SetToolTip (_("Open the timeline for the film."));
+ b->Add (_timeline, 0, wxEXPAND | wxALL, DCPOMATIC_BUTTON_STACK_GAP);
s->Add (b, 0, wxALL, 4);