From: Carl Hetherington Date: Thu, 30 Oct 2014 19:42:46 +0000 (+0000) Subject: Forward-port tweaks to content buttons from 1.x. X-Git-Tag: v2.0.48~524 X-Git-Url: https://git.carlh.net/gitweb/?a=commitdiff_plain;h=bd1c1d920bb1cb49acf00dcf231c109894d0e56c;hp=ff36cdf2ea9f18ad7a00cb2d8091552c765a934f;p=dcpomatic.git Forward-port tweaks to content buttons from 1.x. --- 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 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);