Bitmaps cosmetic enhancements

This commit is contained in:
jean-pierre charras 2011-03-29 12:43:08 +02:00
parent 3f5478eead
commit 02d4b59c59
16 changed files with 5060 additions and 71 deletions

View File

@ -59,6 +59,7 @@ set(BITMAP_SRCS
Browse_Files.xpm
cancel_tool.xpm
Cancel.xpm
create_cmp_file.xpm
checked_ok.xpm
component_select_unit.xpm
component_select_alternate_shape.xpm
@ -125,6 +126,7 @@ set(BITMAP_SRCS
ercwarn.xpm
erc.xpm
Exit.xpm
export_footprint_names.xpm
Export_Module.xpm
Export_Options_Pad.xpm
export.xpm
@ -171,6 +173,7 @@ set(BITMAP_SRCS
icon_txt.xpm
import3d.xpm
import_cmp_from_lib.xpm
import_footprint_names.xpm
import_hierarchical_label.xpm
Import_Module.xpm
import.xpm
@ -368,7 +371,6 @@ set(BITMAP_SRCS
rotate-z.xpm
rotate+z.xpm
save_as.xpm
Save_CmpStuff.xpm
Save_Library.xpm
Save_NetList.xpm
Save_Project.xpm
@ -381,6 +383,7 @@ set(BITMAP_SRCS
shape_3d.xpm
sheetset.xpm
showdcode.xpm
show_footprint.xpm
showmodedge.xpm
showtrack.xpm
Show_Zone.xpm

View File

@ -1,9 +1,5 @@
/* XPM */
#ifndef XPMMAIN
extern const char *save_cmpstuff_xpm[];
#else
const char * save_cmpstuff_xpm[] = {
const char * create_cmp_file_xpm[] = {
"16 16 99 2",
" c None",
". c #160A00",
@ -120,4 +116,3 @@ const char * save_cmpstuff_xpm[] = {
" @ P Q @ R v S T U V W V X X ",
" @ # @ R Y Y Z ` . . ...+.",
" . @ R Y @.#.G E $.N r %."};
#endif

View File

@ -0,0 +1,38 @@
/* XPM */
const char *export_footprint_names_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 16 16 1",
"+ c #4C4C54",
"& c #898AEB",
"$ c #3A397D",
"= c #0C0A06",
"o c #342A11",
"O c #695007",
"X c #6E6F71",
"# c #2D2C50",
"- c #505179",
" c None",
"@ c #BE9004",
"* c #9C9AFC",
": c #5757A1",
"; c #4040B6",
"% c #696AA9",
". c #898A8C",
/* pixels */
" . ",
" Xo ",
" XOo ",
" .X+o@O# ",
" .oO@@@@@O+",
" X$o@@@@@@@o.",
" X%&&o@@@O+#@o#X",
"+&*&#O@@=%&-=#;#",
"$;%$=@@o$&%##;-#",
"$;;:====$;;$$..+",
"#;;;;;-$;$-.-+X+",
".+$;;;:-.X#-+#XX",
" .#;;$#-X#++.XX",
" .###++ X+ + ",
" . X+ +. ",
" ++ "
};

View File

@ -0,0 +1,38 @@
/* XPM */
const char *import_footprint_names_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 16 16 1",
"X c #525279",
"@ c #83848C",
"* c #242349",
"O c #4E4FB9",
" c None",
"- c #5F4A08",
": c #2B281E",
"o c #535456",
"& c #3F3E4C",
". c #6F6F6F",
"; c #C29204",
"= c #130F06",
"$ c #ACAAFC",
"+ c #8484F2",
"% c #3C3AA6",
"# c #383779",
/* pixels */
" .XXo ",
" .XO++++OX. ",
" @O+++++++++++#@",
"#++++$+++++++O%&",
"#O@##O++*==*%%#*",
"#OOOX+X-;;-*#@@&",
"#OOOO#-;;;-&X&.o",
".X%O%-;;;:=:o:..",
" @@#*;;;=::oo ..",
" :;;-&o .o o@",
" -;;o.o o. ",
"@oo&-;;:::@ ",
" o-;;;;;=o ",
" .:;;;=. ",
" @:-=@ ",
" & "
};

View File

@ -0,0 +1,38 @@
/* XPM */
char *show_footprint_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 16 16 1",
"* c #4E4F5E",
"O c #797C84",
"; c #4343B7",
"= c #7F7FF8",
". c #AAABB0",
"+ c #7197E4",
" c None",
"& c #62616F",
"o c #6E92B7",
"X c #95969C",
": c #363557",
"@ c #90C7EA",
"$ c #6B79B8",
"# c #7FACE8",
"% c #B4D8E6",
"- c #424286",
/* pixels */
" .X.. ",
" .XoooOX ",
" X+@@@#$X ",
"Xo#@@@@#X ",
"X#@%%%@o$&*. ",
"X#@ oo++$$=$-O ",
"Xoo####+o=====-O",
"*.###@#+X===$;;:",
"-O.o$+#.%o$-;;-:",
"-;-X..X$&%o--OX*",
":;;;;;$;-& .&:O*",
"O*;;;;-*X&O .:&O",
" .X:;;-:*&:O. &O",
" O:::*& &X. .",
" O.&& *O.. ",
" ** .X "
};

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 46 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 46 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 96 KiB

View File

@ -6,7 +6,7 @@
#endif
#ifndef KICAD_BUILD_VERSION
#define KICAD_BUILD_VERSION "(2011-03-28)"
#define KICAD_BUILD_VERSION "(2011-03-29)"
#endif
// uncomment this line only when creating a stable version

View File

@ -32,11 +32,9 @@ void CVPCB_MAINFRAME::ReCreateMenuBar()
// Recreate all menus:
wxMenu* filesMenu = new wxMenu;
item = new wxMenuItem( filesMenu, ID_LOAD_PROJECT,
_( "&Open" ),
_( "Open a net list file" ) );
item->SetBitmap( open_document_xpm );
filesMenu->Append( item );
ADD_MENUITEM_WITH_HELP( filesMenu, ID_LOAD_PROJECT,
_( "&Open" ), _( "Open a net list file" ),
open_document_xpm );
/* Open Recent submenu */
wxMenu* openRecentMenu = new wxMenu();
@ -48,27 +46,26 @@ void CVPCB_MAINFRAME::ReCreateMenuBar()
filesMenu->AppendSeparator();
item = new wxMenuItem( filesMenu, ID_SAVE_PROJECT,
ADD_MENUITEM_WITH_HELP( filesMenu, ID_SAVE_PROJECT,
_( "&Save As..." ),
_( "Save new net list and footprint list files" ) );
item->SetBitmap( save_xpm );
filesMenu->Append( item );
_( "Save new net list and footprint list files" ),
save_xpm );
/* Quit on all platforms except WXMAC */
#if !defined(__WXMAC__)
filesMenu->AppendSeparator();
item = new wxMenuItem( filesMenu, wxID_EXIT, _( "&Quit" ), _( "Quit CvPCB" ) );
filesMenu->Append( item );
ADD_MENUITEM_WITH_HELP( filesMenu, wxID_EXIT,
_( "&Quit" ), _( "Quit CvPCB" ),
exit_xpm );
#endif /* !defined( __WXMAC__) */
// Menu Configuration:
wxMenu* configmenu = new wxMenu;
item = new wxMenuItem( configmenu, ID_CONFIG_REQ, _( "&Configuration" ),
_( "Set libraries and library search paths" ) );
item->SetBitmap( config_xpm );
configmenu->Append( item );
ADD_MENUITEM_WITH_HELP( configmenu, ID_CONFIG_REQ, _( "&Configuration" ),
_( "Set libraries and library search paths" ),
config_xpm );
wxGetApp().AddMenuLanguageList( configmenu );
@ -77,31 +74,29 @@ void CVPCB_MAINFRAME::ReCreateMenuBar()
_( "Prevent CVPcb from exiting after saving netlist file" ),
wxITEM_CHECK );
configmenu->Append( item );
configmenu->AppendSeparator();
item = new wxMenuItem( configmenu, ID_CONFIG_SAVE,
ADD_MENUITEM_WITH_HELP( configmenu, ID_CONFIG_SAVE,
_( "&Save Project File" ),
_( "Save changes to the project file" ) );
item->SetBitmap( save_setup_xpm );
configmenu->Append( item );
_( "Save changes to the project file" ),
save_setup_xpm );
// Menu Help:
wxMenu* helpMenu = new wxMenu;
AddHelpVersionInfoMenuEntry( helpMenu );
item = new wxMenuItem( helpMenu, ID_GENERAL_HELP, _( "&Contents" ),
_( "Open the cvpcb manual" ) );
item->SetBitmap( online_help_xpm );
helpMenu->Append( item );
ADD_MENUITEM_WITH_HELP( helpMenu, ID_GENERAL_HELP, _( "&Contents" ),
_( "Open the cvpcb manual" ),
online_help_xpm );
/* About on all platforms except WXMAC */
#if !defined(__WXMAC__)
item = new wxMenuItem( helpMenu, ID_KICAD_ABOUT,
ADD_MENUITEM_WITH_HELP( helpMenu, ID_KICAD_ABOUT,
_( "&About" ),
_( "About cvpcb schematic to pcb converter" ) );
item->SetBitmap( info_xpm );
helpMenu->Append( item );
_( "About cvpcb schematic to pcb converter" ),
info_xpm );
#endif /* !defined(__WXMAC__) */

View File

@ -5,7 +5,6 @@
#include "fctsys.h"
#include "appl_wxstruct.h"
#include "common.h"
#include "trigo.h"
#include "bitmaps.h"
#include "cvpcb.h"
@ -37,7 +36,7 @@ void CVPCB_MAINFRAME::ReCreateHToolbar()
m_HToolBar->AddSeparator();
m_HToolBar->AddTool( ID_CVPCB_CREATE_SCREENCMP, wxEmptyString,
wxBitmap( module_xpm ),
wxBitmap( show_footprint_xpm ),
_( "View selected footprint" ) );
m_HToolBar->AddTool( ID_CVPCB_AUTO_ASSOCIE, wxEmptyString,
@ -60,8 +59,9 @@ void CVPCB_MAINFRAME::ReCreateHToolbar()
m_HToolBar->AddSeparator();
m_HToolBar->AddTool( ID_CVPCB_CREATE_STUFF_FILE, wxEmptyString,
wxBitmap( save_cmpstuff_xpm ),
_( "Create export file (component/footprint list, \
wxBitmap( export_footprint_names_xpm ),
_(
"Create export file (component/footprint list, \
used by eeschema to fill the footprint field of components)" ) );
m_HToolBar->AddSeparator();

View File

@ -111,7 +111,7 @@ void SCH_EDIT_FRAME::ReCreateHToolbar()
m_HToolBar->AddTool( ID_GET_TOOLS, wxEmptyString, wxBitmap( tools_xpm ),
_( "Generate bill of materials and/or cross references" ) );
m_HToolBar->AddTool( ID_BACKANNO_ITEMS, wxEmptyString, wxBitmap( backanno_xpm ),
m_HToolBar->AddTool( ID_BACKANNO_ITEMS, wxEmptyString, wxBitmap( import_footprint_names_xpm ),
_( "Back annotate component foot prints" ) );
// after adding the tools to the toolbar, must call Realize() to reflect the changes

View File

@ -62,6 +62,7 @@ extern const char* copper_layers_setup_xpm[];
extern const char* copyblock_xpm[];
extern const char* copyComponent_xpm[];
extern const char* copy_button[];
extern const char* create_cmp_file_xpm[];
extern const char* cursor_shape_xpm[];
extern const char* cursor_xpm[];
extern const char* cut_button[];
@ -119,6 +120,7 @@ extern const char* erc_xpm[];
extern const char* erc_green_xpm[];
extern const char* error_xpm[];
extern const char* exit_xpm[];
extern const char* export_footprint_names_xpm[];
extern const char* export_module_xpm[];
extern const char* export_options_pad_xpm[];
extern const char* export_xpm[];
@ -162,6 +164,7 @@ extern const char* icon_modedit_xpm[];
extern const char* icon_txt_xpm[];
extern const char* icon_w3d_xpm[];
extern const char* import_cmp_from_lib_xpm[];
extern const char* import_footprint_names_xpm[];
extern const char* import_hierarchical_label_xpm[];
extern const char* import_module_xpm[];
extern const char* import_xpm[];
@ -362,7 +365,6 @@ extern const char* rotate_pos_Y_xpm[];
extern const char* rotate_neg_Z_xpm[];
extern const char* rotate_pos_Z_xpm[];
extern const char* save_as_xpm[];
extern const char* save_cmpstuff_xpm[];
extern const char* save_library_xpm[];
extern const char* save_netlist_xpm[];
extern const char* save_part_in_mem_xpm[];
@ -376,6 +378,7 @@ extern const char* select_w_layer_xpm[];
extern const char* sheetset_xpm[];
extern const char* show_3d_xpm[];
extern const char* show_dcodenumber_xpm[];
extern const char* show_footprint_xpm[];
extern const char* show_mod_edge_xpm[];
extern const char* showtrack_xpm[];
extern const char* show_zone_xpm[];

View File

@ -17,7 +17,7 @@
; General Product Description Definitions
!define PRODUCT_NAME "KiCad"
!define PRODUCT_VERSION "2011.03.28"
!define PRODUCT_VERSION "2011.03.29"
!define PRODUCT_WEB_SITE "http://iut-tice.ujf-grenoble.fr/kicad/"
!define SOURCEFORGE_WEB_SITE "http://kicad.sourceforge.net/"
!define COMPANY_NAME ""

View File

@ -118,7 +118,7 @@ void PCB_EDIT_FRAME::ReCreateMenuBar()
item = new wxMenuItem( fabricationOutputsMenu, ID_PCB_GEN_CMP_FILE,
_( "&Component File" ),
_( "(Re)create components file (*.cmp) for CvPcb" ) );
item->SetBitmap( save_cmpstuff_xpm );
item->SetBitmap( create_cmp_file_xpm );
fabricationOutputsMenu->Append( item );
// BOM File

View File

@ -1,4 +1,4 @@
release version:
2011 mar 17
2011 mar 29
files (.zip,.tgz):
kicad-2011-03-28
kicad-2011-03-29