Commit ce6b907f authored by jean-pierre charras's avatar jean-pierre charras

Add specific bitmaps in export IDF and export DSN menus.

Add missing calls to Show( false ) to some main frames (Kicad, eeschema, gerbview), to force config saving when closing these windows.
Code cleanup and minor coding style fixes  in footprint_wizard_frame
parent 690a0016
...@@ -141,6 +141,9 @@ void EDA_3D_FRAME::Exit3DFrame( wxCommandEvent& event ) ...@@ -141,6 +141,9 @@ void EDA_3D_FRAME::Exit3DFrame( wxCommandEvent& event )
void EDA_3D_FRAME::OnCloseWindow( wxCloseEvent& Event ) void EDA_3D_FRAME::OnCloseWindow( wxCloseEvent& Event )
{ {
SaveSettings();
Show( false );
if( Parent() ) if( Parent() )
Parent()->m_Draw3DFrame = NULL; Parent()->m_Draw3DFrame = NULL;
......
...@@ -234,6 +234,8 @@ set( BMAPS_MID ...@@ -234,6 +234,8 @@ set( BMAPS_MID
ercwarn ercwarn
erc erc
exit exit
export_dsn
export_idf
export_footprint_names export_footprint_names
export_module export_module
export_options_pad export_options_pad
......
/* Do not modify this file, it was automatically generated by the
* PNG2cpp CMake script, using a *.png file as input.
*/
#include <bitmaps.h>
static const unsigned char png[] = {
0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, 0x49, 0x48, 0x44, 0x52,
0x00, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x00, 0x1a, 0x08, 0x06, 0x00, 0x00, 0x00, 0xa9, 0x4a, 0x4c,
0xce, 0x00, 0x00, 0x04, 0x96, 0x49, 0x44, 0x41, 0x54, 0x48, 0xc7, 0xad, 0x95, 0x4b, 0x4c, 0x54,
0x57, 0x18, 0xc7, 0x7f, 0xdf, 0xbd, 0xf3, 0x64, 0x86, 0x87, 0x03, 0xa3, 0x22, 0x5a, 0x20, 0xbe,
0x42, 0x35, 0x86, 0x62, 0x2d, 0x0a, 0x24, 0xa4, 0x54, 0xdb, 0x6e, 0xba, 0x6a, 0x62, 0xd2, 0x95,
0x89, 0xba, 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76,
0x94, 0x65, 0x05, 0x3d, 0xad, 0x83, 0x9e, 0x65, 0x05, 0x5c, 0xa5, 0x02, 0xae, 0x65, 0x65, 0x5c,
0xc7, 0x99, 0xf5, 0x20, 0xab, 0x60, 0x4a, 0x2d, 0x25, 0xf2, 0x2f, 0x3d, 0x42, 0x3c, 0x7a, 0x6e,
0xc3, 0x99, 0xc7, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 0x4e, 0x44, 0xae, 0x42, 0x60, 0x82,
};
const BITMAP_OPAQUE export_dsn_xpm[1] = {{ png, sizeof( png ), "export_dsn_xpm" }};
//EOF
/* Do not modify this file, it was automatically generated by the
* PNG2cpp CMake script, using a *.png file as input.
*/
#include <bitmaps.h>
static const unsigned char png[] = {
0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, 0x49, 0x48, 0x44, 0x52,
0x00, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x00, 0x1a, 0x08, 0x06, 0x00, 0x00, 0x00, 0xa9, 0x4a, 0x4c,
0xce, 0x00, 0x00, 0x05, 0x8b, 0x49, 0x44, 0x41, 0x54, 0x48, 0xc7, 0xb5, 0x95, 0x0b, 0x4c, 0x53,
0x67, 0x14, 0xc7, 0xef, 0x94, 0x3e, 0x88, 0xd9, 0xe2, 0x16, 0xdc, 0x88, 0x31, 0x2e, 0x4e, 0xdd,
0xc4, 0x29, 0x2a, 0xa0, 0xb4, 0x84, 0x41, 0x79, 0x64, 0x33, 0x6c, 0x43, 0xb6, 0xa9, 0xd3, 0xf8,
0x8a, 0xba, 0x4a, 0x8b, 0x80, 0x8a, 0x28, 0x2a, 0x26, 0x2c, 0xe2, 0x63, 0xe8, 0x1c, 0x73, 0x09,
0x4e, 0xb1, 0x04, 0xc4, 0x8a, 0x3c, 0x95, 0x67, 0x41, 0xb0, 0x48, 0x01, 0x79, 0x16, 0x0a, 0x22,
0x20, 0x03, 0x84, 0x31, 0xde, 0x2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 0x4b, 0xb1, 0x78, 0xcf, 0x02, 0x53, 0xd3, 0x80, 0x79, 0x22, 0xd1, 0x0e, 0x0b,
0xb1, 0x58, 0x31, 0x5b, 0x28, 0xdc, 0x30, 0x43, 0x24, 0x5a, 0x3e, 0xcd, 0xc4, 0x64, 0xe9, 0x3b,
0x02, 0x81, 0xfd, 0x5b, 0x1c, 0x37, 0xff, 0xf5, 0x47, 0x41, 0x73, 0x13, 0x46, 0xfd, 0xff, 0x0d,
0xa9, 0xc4, 0xb0, 0x00, 0xe5, 0x33, 0xac, 0x6c, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 0x4e, 0x44,
0xae, 0x42, 0x60, 0x82,
};
const BITMAP_OPAQUE export_idf_xpm[1] = {{ png, sizeof( png ), "export_idf_xpm" }};
//EOF
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
...@@ -40,20 +40,16 @@ ...@@ -40,20 +40,16 @@
#include <wx/process.h> #include <wx/process.h>
// Fail build if wxWidgets printing was not configured.
#if !wxUSE_PRINTING_ARCHITECTURE && !SWIG
# error "You must use '--enable-printarch' in your wx library configuration."
#endif
// Show warning if wxWidgets Gnome or GTK printing was not configured. // Show warning if wxWidgets Gnome or GTK printing was not configured.
// Since wxWidgets 3.0, this is no more needed (build in printing works!)
#if defined( __WXGTK__ ) #if defined( __WXGTK__ )
# if !wxUSE_LIBGNOMEPRINT && !wxUSE_GTKPRINT && !SWIG #if !wxCHECK_VERSION( 3, 0, 0 )
# warning "You must use '--with-gnomeprint' or '--with-gtkprint' in your wx library configuration for full print capabilities." # if !wxUSE_LIBGNOMEPRINT && !wxUSE_GTKPRINT && !SWIG
# endif # warning "You must use '--with-gnomeprint' or '--with-gtkprint' in your wx library configuration for full print capabilities."
# endif
#endif
#endif #endif
/** /**
* Global variables definitions. * Global variables definitions.
* *
......
...@@ -337,6 +337,10 @@ void CVPCB_MAINFRAME::OnCloseWindow( wxCloseEvent& Event ) ...@@ -337,6 +337,10 @@ void CVPCB_MAINFRAME::OnCloseWindow( wxCloseEvent& Event )
m_DisplayFootprintFrame->Close( true ); m_DisplayFootprintFrame->Close( true );
m_modified = false; m_modified = false;
// hide main frame, which also forces saving curr pos and size in config
Show( false );
Destroy(); Destroy();
return; return;
} }
......
...@@ -503,8 +503,11 @@ void SCH_EDIT_FRAME::OnCloseWindow( wxCloseEvent& aEvent ) ...@@ -503,8 +503,11 @@ void SCH_EDIT_FRAME::OnCloseWindow( wxCloseEvent& aEvent )
g_RootSheet->GetScreen()->Clear(); g_RootSheet->GetScreen()->Clear();
/* all sub sheets are deleted, only the main sheet is usable */ // all sub sheets are deleted, only the main sheet is usable
m_CurrentSheet->Clear(); m_CurrentSheet->Clear();
// hide main frame, which also forces saving curr pos and size in config
Show( false );
Destroy(); Destroy();
} }
......
...@@ -200,7 +200,7 @@ LIB_VIEW_FRAME::LIB_VIEW_FRAME( SCH_BASE_FRAME* aParent, CMP_LIBRARY* aLibrary, ...@@ -200,7 +200,7 @@ LIB_VIEW_FRAME::LIB_VIEW_FRAME( SCH_BASE_FRAME* aParent, CMP_LIBRARY* aLibrary,
// Manage the draw panel // Manage the draw panel
m_auimgr.AddPane( m_canvas, m_auimgr.AddPane( m_canvas,
wxAuiPaneInfo().Name( wxT( "DrawFrame" ) ).Centre() ); wxAuiPaneInfo().Name( wxT( "DrawFrame" ) ).CentrePane() );
// Manage the message panel // Manage the message panel
m_auimgr.AddPane( m_messagePanel, m_auimgr.AddPane( m_messagePanel,
......
...@@ -177,6 +177,9 @@ GERBVIEW_FRAME::~GERBVIEW_FRAME() ...@@ -177,6 +177,9 @@ GERBVIEW_FRAME::~GERBVIEW_FRAME()
void GERBVIEW_FRAME::OnCloseWindow( wxCloseEvent& Event ) void GERBVIEW_FRAME::OnCloseWindow( wxCloseEvent& Event )
{ {
// hide main frame, which also forces saving curr pos and size in config
Show( false );
Destroy(); Destroy();
} }
......
...@@ -163,6 +163,8 @@ EXTERN_BITMAP( ercerr_xpm ) ...@@ -163,6 +163,8 @@ EXTERN_BITMAP( ercerr_xpm )
EXTERN_BITMAP( ercwarn_xpm ) EXTERN_BITMAP( ercwarn_xpm )
EXTERN_BITMAP( erc_green_xpm ) EXTERN_BITMAP( erc_green_xpm )
EXTERN_BITMAP( exit_xpm ) EXTERN_BITMAP( exit_xpm )
EXTERN_BITMAP( export_dsn_xpm )
EXTERN_BITMAP( export_idf_xpm )
EXTERN_BITMAP( export_footprint_names_xpm ) EXTERN_BITMAP( export_footprint_names_xpm )
EXTERN_BITMAP( export_module_xpm ) EXTERN_BITMAP( export_module_xpm )
EXTERN_BITMAP( export_options_pad_xpm ) EXTERN_BITMAP( export_options_pad_xpm )
......
...@@ -174,6 +174,8 @@ void KICAD_MANAGER_FRAME::OnCloseWindow( wxCloseEvent& Event ) ...@@ -174,6 +174,8 @@ void KICAD_MANAGER_FRAME::OnCloseWindow( wxCloseEvent& Event )
} }
m_LeftWin->Show( false ); m_LeftWin->Show( false );
// hide main frame, which also forces saving curr pos and size in config
Show( false );
Destroy(); Destroy();
} }
......
...@@ -33,17 +33,17 @@ void FOOTPRINT_WIZARD_FRAME::Process_Special_Functions( wxCommandEvent& event ) ...@@ -33,17 +33,17 @@ void FOOTPRINT_WIZARD_FRAME::Process_Special_Functions( wxCommandEvent& event )
switch( event.GetId() ) switch( event.GetId() )
{ {
case ID_FOOTPRINT_WIZARD_NEXT: case ID_FOOTPRINT_WIZARD_NEXT:
m_PageList->SetSelection( m_PageList->GetSelection() + 1, true ); m_pageList->SetSelection( m_pageList->GetSelection() + 1, true );
ClickOnPageList( event ); ClickOnPageList( event );
break; break;
case ID_FOOTPRINT_WIZARD_PREVIOUS: case ID_FOOTPRINT_WIZARD_PREVIOUS:
page = m_PageList->GetSelection() - 1; page = m_pageList->GetSelection() - 1;
if( page<0 ) if( page < 0 )
page = 0; page = 0;
m_PageList->SetSelection( page, true ); m_pageList->SetSelection( page, true );
ClickOnPageList( event ); ClickOnPageList( event );
break; break;
...@@ -195,7 +195,7 @@ void FOOTPRINT_WIZARD_FRAME::SelectCurrentWizard( wxCommandEvent& event ) ...@@ -195,7 +195,7 @@ void FOOTPRINT_WIZARD_FRAME::SelectCurrentWizard( wxCommandEvent& event )
*/ */
void FOOTPRINT_WIZARD_FRAME::ParametersUpdated( wxGridEvent& event ) void FOOTPRINT_WIZARD_FRAME::ParametersUpdated( wxGridEvent& event )
{ {
int page = m_PageList->GetSelection(); int page = m_pageList->GetSelection();
FOOTPRINT_WIZARD* footprintWizard = GetMyWizard(); FOOTPRINT_WIZARD* footprintWizard = GetMyWizard();
...@@ -205,13 +205,13 @@ void FOOTPRINT_WIZARD_FRAME::ParametersUpdated( wxGridEvent& event ) ...@@ -205,13 +205,13 @@ void FOOTPRINT_WIZARD_FRAME::ParametersUpdated( wxGridEvent& event )
if( page<0 ) if( page<0 )
return; return;
int n = m_ParameterGrid->GetNumberRows(); int n = m_parameterGrid->GetNumberRows();
wxArrayString arr; wxArrayString arr;
wxArrayString ptList = footprintWizard->GetParameterTypes( page ); wxArrayString ptList = footprintWizard->GetParameterTypes( page );
for( int i = 0; i<n; i++ ) for( int i = 0; i<n; i++ )
{ {
wxString value = m_ParameterGrid->GetCellValue( i, 1 ); wxString value = m_parameterGrid->GetCellValue( i, 1 );
// if this parameter is expected to be an internal // if this parameter is expected to be an internal
// unit convert it back from the user format // unit convert it back from the user format
......
This diff is collapsed.
...@@ -47,17 +47,13 @@ class FOOTPRINT_EDIT_FRAME; ...@@ -47,17 +47,13 @@ class FOOTPRINT_EDIT_FRAME;
class FOOTPRINT_WIZARD_FRAME : public PCB_BASE_FRAME class FOOTPRINT_WIZARD_FRAME : public PCB_BASE_FRAME
{ {
private: private:
wxSashLayoutWindow* m_PageListWindow; // < List of libraries (for selection ) wxListBox* m_pageList; // < The list of pages
wxListBox* m_PageList; // < The list of pages int m_pageListWidth; // < width of the window
wxSize m_PageListSize; // < size of the window wxGrid* m_parameterGrid; // < The list of parameters
int m_parameterGridWidth; // < size of the grid
wxSashLayoutWindow* m_ParameterGridWindow; // < List of components in the selected library
wxGrid* m_ParameterGrid; // < The list of parameters
wxSize m_ParameterGridSize; // < size of the window
// Flags // Flags
wxSemaphore* m_Semaphore; // < != NULL if the frame must emulate a modal dialog wxSemaphore* m_semaphore; // < != NULL if the frame must emulate a modal dialog
wxString m_configPath; // < subpath for configuration wxString m_configPath; // < subpath for configuration
bool m_exportRequest; // < true if the current footprint should be exported bool m_exportRequest; // < true if the current footprint should be exported
......
...@@ -190,7 +190,7 @@ void PCB_EDIT_FRAME::ReCreateMenuBar() ...@@ -190,7 +190,7 @@ void PCB_EDIT_FRAME::ReCreateMenuBar()
AddMenuItem( submenuexport, ID_GEN_EXPORT_SPECCTRA, AddMenuItem( submenuexport, ID_GEN_EXPORT_SPECCTRA,
_( "&Specctra DSN" ), _( "&Specctra DSN" ),
_( "Export the current board to a \"Specctra DSN\" file" ), _( "Export the current board to a \"Specctra DSN\" file" ),
KiBitmap( export_xpm ) ); KiBitmap( export_dsn_xpm ) );
// GenCAD // GenCAD
AddMenuItem( submenuexport, ID_GEN_EXPORT_FILE_GENCADFORMAT, AddMenuItem( submenuexport, ID_GEN_EXPORT_FILE_GENCADFORMAT,
...@@ -206,7 +206,7 @@ void PCB_EDIT_FRAME::ReCreateMenuBar() ...@@ -206,7 +206,7 @@ void PCB_EDIT_FRAME::ReCreateMenuBar()
// IDF3 // IDF3
AddMenuItem( submenuexport, ID_GEN_EXPORT_FILE_IDF3, AddMenuItem( submenuexport, ID_GEN_EXPORT_FILE_IDF3,
_( "I&DFv3 Export" ), _( "IDFv3 board and component export" ), _( "I&DFv3 Export" ), _( "IDFv3 board and component export" ),
KiBitmap( export_xpm ) ); KiBitmap( export_idf_xpm ) );
AddMenuItem( filesMenu, submenuexport, AddMenuItem( filesMenu, submenuexport,
ID_GEN_EXPORT_FILE, _( "E&xport" ), ID_GEN_EXPORT_FILE, _( "E&xport" ),
......
...@@ -140,17 +140,11 @@ FOOTPRINT_VIEWER_FRAME::FOOTPRINT_VIEWER_FRAME( PCB_BASE_FRAME* aParent, ...@@ -140,17 +140,11 @@ FOOTPRINT_VIEWER_FRAME::FOOTPRINT_VIEWER_FRAME( PCB_BASE_FRAME* aParent,
m_HotkeysZoomAndGridList = g_Module_Viewer_Hokeys_Descr; m_HotkeysZoomAndGridList = g_Module_Viewer_Hokeys_Descr;
wxSize minsize(100,-1);
m_libList = new wxListBox( this, ID_MODVIEW_LIB_LIST, m_libList = new wxListBox( this, ID_MODVIEW_LIB_LIST,
wxDefaultPosition, minsize, 0, NULL, wxLB_HSCROLL ); wxDefaultPosition, wxDefaultSize, 0, NULL, wxLB_HSCROLL );
m_libList->SetMinSize( minsize );
m_footprintList = new wxListBox( this, ID_MODVIEW_FOOTPRINT_LIST, m_footprintList = new wxListBox( this, ID_MODVIEW_FOOTPRINT_LIST,
wxDefaultPosition, minsize, 0, NULL, wxLB_HSCROLL ); wxDefaultPosition, wxDefaultSize, 0, NULL, wxLB_HSCROLL );
m_footprintList->SetMinSize( minsize );
m_semaphore = aSemaphore; m_semaphore = aSemaphore;
m_selectedFootprintName.Empty(); m_selectedFootprintName.Empty();
...@@ -193,6 +187,8 @@ FOOTPRINT_VIEWER_FRAME::FOOTPRINT_VIEWER_FRAME( PCB_BASE_FRAME* aParent, ...@@ -193,6 +187,8 @@ FOOTPRINT_VIEWER_FRAME::FOOTPRINT_VIEWER_FRAME( PCB_BASE_FRAME* aParent,
m_auimgr.SetManagedWindow( this ); m_auimgr.SetManagedWindow( this );
wxSize minsize(100,-1); // Min size of list boxes
// Main toolbar is initially docked at the top of the main window and dockable on any side. // Main toolbar is initially docked at the top of the main window and dockable on any side.
// The close button is disable because the footprint viewer has no main menu to re-enable it. // The close button is disable because the footprint viewer has no main menu to re-enable it.
// The tool bar will only be dockable on the top or bottom of the main frame window. This is // The tool bar will only be dockable on the top or bottom of the main frame window. This is
...@@ -213,16 +209,16 @@ FOOTPRINT_VIEWER_FRAME::FOOTPRINT_VIEWER_FRAME( PCB_BASE_FRAME* aParent, ...@@ -213,16 +209,16 @@ FOOTPRINT_VIEWER_FRAME::FOOTPRINT_VIEWER_FRAME( PCB_BASE_FRAME* aParent,
// Manage the list of libraries, left pane. // Manage the list of libraries, left pane.
m_auimgr.AddPane( m_libList, m_auimgr.AddPane( m_libList,
wxAuiPaneInfo( info ).Name( wxT( "m_libList" ) ) wxAuiPaneInfo( info ).Name( wxT( "m_libList" ) )
.Left().Row( 1 ) ); .Left().Row( 1 ).MinSize( minsize ) );
// Manage the list of footprints, center pane. // Manage the list of footprints, center pane.
m_auimgr.AddPane( m_footprintList, m_auimgr.AddPane( m_footprintList,
wxAuiPaneInfo( info ).Name( wxT( "m_footprintList" ) ) wxAuiPaneInfo( info ).Name( wxT( "m_footprintList" ) )
.Left().Row( 2 ) ); .Left().Row( 2 ).MinSize( minsize ) );
// Manage the draw panel, right pane. // Manage the draw panel, right pane.
m_auimgr.AddPane( m_canvas, m_auimgr.AddPane( m_canvas,
wxAuiPaneInfo().Name( wxT( "DrawFrame" ) ).Centre().Row( 1 ).CloseButton( false ) ); wxAuiPaneInfo().Name( wxT( "DrawFrame" ) ).CentrePane() );
// Manage the message panel, bottom pane. // Manage the message panel, bottom pane.
m_auimgr.AddPane( m_messagePanel, m_auimgr.AddPane( m_messagePanel,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment