I noticed that in 3d-viewer the file menu has thin items and exit icon has
small size (less than standard 26x26). It happens because in file menu the
items added by using Append method but must be used AddMenuItem method. So
I changed it and added some icons for the items of export and copy images.
=== modified file '3d-viewer/3d_toolbar.cpp'
--- 3d-viewer/3d_toolbar.cpp 2015-07-26 07:49:02 +0000
+++ 3d-viewer/3d_toolbar.cpp 2015-07-27 11:37:53 +0000
@@ -134,14 +134,22 @@
menuBar->Append( fileMenu, _( "&File" ) );
- fileMenu->Append( ID_MENU_SCREENCOPY_PNG, _( "Create Image (png format)" ) );
- fileMenu->Append( ID_MENU_SCREENCOPY_JPEG, _( "Create Image (jpeg format)" ) );
-
- fileMenu->AppendSeparator();
- fileMenu->Append( ID_TOOL_SCREENCOPY_TOCLIBBOARD, _( "Copy 3D Image to Clipboard" ) );
-
- fileMenu->AppendSeparator();
- fileMenu->Append( wxID_EXIT, _( "&Exit" ) );
+ AddMenuItem( fileMenu, ID_MENU_SCREENCOPY_PNG,
+ _( "Create Image (png format)" ),
+ KiBitmap( export_xpm ) );
+ AddMenuItem( fileMenu, ID_MENU_SCREENCOPY_JPEG,
+ _( "Create Image (jpeg format)" ),
+ KiBitmap( export_xpm ) );
+
+ fileMenu->AppendSeparator();
+ AddMenuItem( fileMenu, ID_TOOL_SCREENCOPY_TOCLIBBOARD,
+ _( "Copy 3D Image to Clipboard" ),
+ KiBitmap( copy_button_xpm ) );
+
+ fileMenu->AppendSeparator();
+ AddMenuItem( fileMenu, wxID_EXIT,
+ _( "&Exit" ),
+ KiBitmap( exit_xpm ) );
menuBar->Append( prefsMenu, _( "&Preferences" ) );
_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kicad-developers
More help : https://help.launchpad.net/ListHelp