Made the UI look quite a bit nicer (OS X 10.7 tested).

* Added link to website for updates
* Moved 'Slice…' button to the right as this more logically follows the
user's flow through the application
* Moved version information to the middle right under the App name (on
OS X anyway) as it is clearer what the version is referring to
* Added spacing between the buttons
* Removed colon after 'version' as this is the UI convention in about
boxes
* Changed 'Load' to 'Open' as this is the more commonly used term
* Truncated 'Configuration' to 'Config' to save space, and I believe it
is still clear what it means
* Added open and save config to File menu as this is more conventional
location
* Simplified some wording
* Rephrased the tabs to be more succinct, I believe they still make
sense
* Fixed a spelling
* Replaced '…' with proper ellipses character
This commit is contained in:
Simon George 2012-02-28 23:04:19 +00:00
parent 8cac0f8c87
commit 266f7799dd
3 changed files with 55 additions and 26 deletions

View file

@ -30,11 +30,17 @@ sub OnInit {
# File menu
my $fileMenu = Wx::Menu->new;
$fileMenu->Append(1, "Slice...");
$fileMenu->Append(2, "Slice and save as...");
$fileMenu->Append(1, "Save Config…");
$fileMenu->Append(2, "Open Config…");
$fileMenu->AppendSeparator();
$fileMenu->Append(3, "Slice…");
$fileMenu->Append(4, "Slice and Save As…");
$menubar->Append($fileMenu, "&File");
EVT_MENU($frame, 1, sub { $panel->do_slice });
EVT_MENU($frame, 2, sub { $panel->do_slice(save_as => 1) });
EVT_MENU($frame, 1, sub { $panel->save_config });
EVT_MENU($frame, 2, sub { $panel->load_config });
EVT_MENU($frame, 3, sub { $panel->do_slice });
EVT_MENU($frame, 4, sub { $panel->do_slice(save_as => 1) });
$box->SetSizeHints($frame);
$frame->SetSizer($box);