Loading 3d-viewer/3d_frame.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -38,9 +38,9 @@ END_EVENT_TABLE() /*******************************************************************/ WinEDA3D_DrawFrame::WinEDA3D_DrawFrame(WinEDA_BasePcbFrame * parent, WinEDA_App *app_parent, const wxString& title ): WinEDA_App *app_parent, const wxString& title, long style ): wxFrame(parent, DISPLAY3D_FRAME, title, wxPoint(-1,-1), wxSize(-1,-1) ) wxPoint(-1,-1), wxSize(-1,-1), style ) /*******************************************************************/ { m_FrameName = wxT("Frame3D"); Loading 3d-viewer/3d_viewer.h +4 −2 Original line number Diff line number Diff line Loading @@ -29,6 +29,9 @@ #include "pcbstruct.h" #include "3d_struct.h" #define KICAD_DEFAULT_3D_DRAWFRAME_STYLE wxDEFAULT_FRAME_STYLE|wxWANTS_CHARS #define LIB3D_PATH wxT("packages3d/") class Pcb3D_GLCanvas; Loading Loading @@ -125,10 +128,9 @@ private: wxString m_FrameName; // name used for writting and reading setup // It is "Frame3D" public: WinEDA3D_DrawFrame(WinEDA_BasePcbFrame * parent, WinEDA_App *app_parent, const wxString& title ); const wxString& title, long style = KICAD_DEFAULT_3D_DRAWFRAME_STYLE ); void Exit3DFrame(wxCommandEvent& event); void OnCloseWindow(wxCloseEvent & Event); Loading change_log.txt +13 −0 Original line number Diff line number Diff line Loading @@ -4,6 +4,19 @@ Started 2007-June-11 Please add newer entries at the top, list the date and your name with email address. 2007-Oct-27 UPDATE Jean-Pierre Charras <jean-pierre.charras@inpg.fr> ================================================================================ + all: remove unused files. some translations +cvpcb: set flag wxFRAME_FLOAT_ON_PARENT when create the footprint 3D frame and the display frame minor other changes 2007-Oct-26 UPDATE Jean-Pierre Charras <jean-pierre.charras@inpg.fr> ================================================================================ + pcbnew: Loading common/basicframe.cpp +2 −3 Original line number Diff line number Diff line Loading @@ -18,9 +18,8 @@ WinEDA_BasicFrame::WinEDA_BasicFrame( wxWindow * father, int idtype, WinEDA_App *parent, const wxString & title, const wxPoint& pos, const wxSize& size): wxFrame(father, -1, title, pos, size, wxDEFAULT_FRAME_STYLE|wxWANTS_CHARS) const wxPoint& pos, const wxSize& size, long style): wxFrame(father, -1, title, pos, size, style ) { wxSize minsize; Loading common/svg_print.h.notused→common/svg_print.h +14 −31 Original line number Diff line number Diff line Loading @@ -3,13 +3,13 @@ // Purpose: // Author: jean-pierre Charras // Modified by: // Created: 05/02/2006 11:05:20 // Created: 27/10/2007 12:48:35 // RCS-ID: // Copyright: License GNU // Licence: ///////////////////////////////////////////////////////////////////////////// // Generated by DialogBlocks (unregistered), 05/02/2006 11:05:20 // Generated by DialogBlocks (unregistered), 27/10/2007 12:48:35 #ifndef _SVG_PRINT_H_ #define _SVG_PRINT_H_ Loading Loading @@ -41,11 +41,6 @@ class wxSpinCtrl; ////@begin control identifiers #define ID_DIALOG 10000 #define SYMBOL_WINEDA_PRINTSVGFRAME_STYLE wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxFRAME_FLOAT_ON_PARENT #define SYMBOL_WINEDA_PRINTSVGFRAME_TITLE _("Create SVG file") #define SYMBOL_WINEDA_PRINTSVGFRAME_IDNAME ID_DIALOG #define SYMBOL_WINEDA_PRINTSVGFRAME_SIZE wxSize(400, 300) #define SYMBOL_WINEDA_PRINTSVGFRAME_POSITION wxDefaultPosition #define ID_SPINCTRL 10003 #define ID_RADIOBOX_SETPRINTMODE 10007 #define ID_CHECKBOX 10004 Loading @@ -53,15 +48,13 @@ class wxSpinCtrl; #define ID_PRINT_EXECUTE 10002 #define ID_TEXTCTRL 10001 #define ID_TEXTCTRL1 10006 #define SYMBOL_WINEDA_PRINTSVGFRAME_STYLE wxCAPTION|wxSYSTEM_MENU|wxCLOSE_BOX|wxFRAME_FLOAT_ON_PARENT|MAYBE_RESIZE_BORDER #define SYMBOL_WINEDA_PRINTSVGFRAME_TITLE _("Create SVG file") #define SYMBOL_WINEDA_PRINTSVGFRAME_IDNAME ID_DIALOG #define SYMBOL_WINEDA_PRINTSVGFRAME_SIZE wxSize(400, 300) #define SYMBOL_WINEDA_PRINTSVGFRAME_POSITION wxDefaultPosition ////@end control identifiers /*! * Compatibility */ #ifndef wxCLOSE_BOX #define wxCLOSE_BOX 0x1000 #endif /*! * WinEDA_PrintSVGFrame class declaration Loading @@ -75,21 +68,21 @@ class WinEDA_PrintSVGFrame: public wxDialog public: /// Constructors WinEDA_PrintSVGFrame(); WinEDA_PrintSVGFrame( WinEDA_DrawFrame* parent, wxWindowID id = SYMBOL_WINEDA_PRINTSVGFRAME_IDNAME, const wxString& caption = SYMBOL_WINEDA_PRINTSVGFRAME_TITLE, const wxPoint& pos = SYMBOL_WINEDA_PRINTSVGFRAME_POSITION, const wxSize& size = SYMBOL_WINEDA_PRINTSVGFRAME_SIZE, long style = SYMBOL_WINEDA_PRINTSVGFRAME_STYLE ); WinEDA_PrintSVGFrame( wxWindow* parent, wxWindowID id = SYMBOL_WINEDA_PRINTSVGFRAME_IDNAME, const wxString& caption = SYMBOL_WINEDA_PRINTSVGFRAME_TITLE, const wxPoint& pos = SYMBOL_WINEDA_PRINTSVGFRAME_POSITION, const wxSize& size = SYMBOL_WINEDA_PRINTSVGFRAME_SIZE, long style = SYMBOL_WINEDA_PRINTSVGFRAME_STYLE ); /// Creation bool Create( wxWindow* parent, wxWindowID id = SYMBOL_WINEDA_PRINTSVGFRAME_IDNAME, const wxString& caption = SYMBOL_WINEDA_PRINTSVGFRAME_TITLE, const wxPoint& pos = SYMBOL_WINEDA_PRINTSVGFRAME_POSITION, const wxSize& size = SYMBOL_WINEDA_PRINTSVGFRAME_SIZE, long style = SYMBOL_WINEDA_PRINTSVGFRAME_STYLE ); /// Destructor ~WinEDA_PrintSVGFrame(); /// Initialises member variables void Init(); /// Creates the controls and sizers void CreateControls(); ////@begin WinEDA_PrintSVGFrame event handler declarations /// wxEVT_CLOSE_WINDOW event handler for ID_DIALOG void OnCloseWindow( wxCloseEvent& event ); Loading @@ -108,7 +101,6 @@ public: ////@end WinEDA_PrintSVGFrame event handler declarations ////@begin WinEDA_PrintSVGFrame member function declarations /// Retrieves bitmap resources wxBitmap GetBitmapResource( const wxString& name ); Loading @@ -119,11 +111,6 @@ public: /// Should we show tooltips? static bool ShowToolTips(); void PrintSVGDoc(wxCommandEvent& event); bool DrawPage(const wxString & FullFileName); void SetPenWidth(wxSpinEvent& event); wxString ReturnFullFileName(); ////@begin WinEDA_PrintSVGFrame member variables wxSpinCtrl* m_ButtPenWidth; wxRadioBox* m_ModeColorOption; Loading @@ -132,10 +119,6 @@ public: wxTextCtrl* m_FileNameCtrl; wxTextCtrl* m_MessagesBox; ////@end WinEDA_PrintSVGFrame member variables WinEDA_DrawFrame * m_Parent; int m_PrintMaskLayer; int m_ImageXSize_mm; }; #endif Loading Loading
3d-viewer/3d_frame.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -38,9 +38,9 @@ END_EVENT_TABLE() /*******************************************************************/ WinEDA3D_DrawFrame::WinEDA3D_DrawFrame(WinEDA_BasePcbFrame * parent, WinEDA_App *app_parent, const wxString& title ): WinEDA_App *app_parent, const wxString& title, long style ): wxFrame(parent, DISPLAY3D_FRAME, title, wxPoint(-1,-1), wxSize(-1,-1) ) wxPoint(-1,-1), wxSize(-1,-1), style ) /*******************************************************************/ { m_FrameName = wxT("Frame3D"); Loading
3d-viewer/3d_viewer.h +4 −2 Original line number Diff line number Diff line Loading @@ -29,6 +29,9 @@ #include "pcbstruct.h" #include "3d_struct.h" #define KICAD_DEFAULT_3D_DRAWFRAME_STYLE wxDEFAULT_FRAME_STYLE|wxWANTS_CHARS #define LIB3D_PATH wxT("packages3d/") class Pcb3D_GLCanvas; Loading Loading @@ -125,10 +128,9 @@ private: wxString m_FrameName; // name used for writting and reading setup // It is "Frame3D" public: WinEDA3D_DrawFrame(WinEDA_BasePcbFrame * parent, WinEDA_App *app_parent, const wxString& title ); const wxString& title, long style = KICAD_DEFAULT_3D_DRAWFRAME_STYLE ); void Exit3DFrame(wxCommandEvent& event); void OnCloseWindow(wxCloseEvent & Event); Loading
change_log.txt +13 −0 Original line number Diff line number Diff line Loading @@ -4,6 +4,19 @@ Started 2007-June-11 Please add newer entries at the top, list the date and your name with email address. 2007-Oct-27 UPDATE Jean-Pierre Charras <jean-pierre.charras@inpg.fr> ================================================================================ + all: remove unused files. some translations +cvpcb: set flag wxFRAME_FLOAT_ON_PARENT when create the footprint 3D frame and the display frame minor other changes 2007-Oct-26 UPDATE Jean-Pierre Charras <jean-pierre.charras@inpg.fr> ================================================================================ + pcbnew: Loading
common/basicframe.cpp +2 −3 Original line number Diff line number Diff line Loading @@ -18,9 +18,8 @@ WinEDA_BasicFrame::WinEDA_BasicFrame( wxWindow * father, int idtype, WinEDA_App *parent, const wxString & title, const wxPoint& pos, const wxSize& size): wxFrame(father, -1, title, pos, size, wxDEFAULT_FRAME_STYLE|wxWANTS_CHARS) const wxPoint& pos, const wxSize& size, long style): wxFrame(father, -1, title, pos, size, style ) { wxSize minsize; Loading
common/svg_print.h.notused→common/svg_print.h +14 −31 Original line number Diff line number Diff line Loading @@ -3,13 +3,13 @@ // Purpose: // Author: jean-pierre Charras // Modified by: // Created: 05/02/2006 11:05:20 // Created: 27/10/2007 12:48:35 // RCS-ID: // Copyright: License GNU // Licence: ///////////////////////////////////////////////////////////////////////////// // Generated by DialogBlocks (unregistered), 05/02/2006 11:05:20 // Generated by DialogBlocks (unregistered), 27/10/2007 12:48:35 #ifndef _SVG_PRINT_H_ #define _SVG_PRINT_H_ Loading Loading @@ -41,11 +41,6 @@ class wxSpinCtrl; ////@begin control identifiers #define ID_DIALOG 10000 #define SYMBOL_WINEDA_PRINTSVGFRAME_STYLE wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxFRAME_FLOAT_ON_PARENT #define SYMBOL_WINEDA_PRINTSVGFRAME_TITLE _("Create SVG file") #define SYMBOL_WINEDA_PRINTSVGFRAME_IDNAME ID_DIALOG #define SYMBOL_WINEDA_PRINTSVGFRAME_SIZE wxSize(400, 300) #define SYMBOL_WINEDA_PRINTSVGFRAME_POSITION wxDefaultPosition #define ID_SPINCTRL 10003 #define ID_RADIOBOX_SETPRINTMODE 10007 #define ID_CHECKBOX 10004 Loading @@ -53,15 +48,13 @@ class wxSpinCtrl; #define ID_PRINT_EXECUTE 10002 #define ID_TEXTCTRL 10001 #define ID_TEXTCTRL1 10006 #define SYMBOL_WINEDA_PRINTSVGFRAME_STYLE wxCAPTION|wxSYSTEM_MENU|wxCLOSE_BOX|wxFRAME_FLOAT_ON_PARENT|MAYBE_RESIZE_BORDER #define SYMBOL_WINEDA_PRINTSVGFRAME_TITLE _("Create SVG file") #define SYMBOL_WINEDA_PRINTSVGFRAME_IDNAME ID_DIALOG #define SYMBOL_WINEDA_PRINTSVGFRAME_SIZE wxSize(400, 300) #define SYMBOL_WINEDA_PRINTSVGFRAME_POSITION wxDefaultPosition ////@end control identifiers /*! * Compatibility */ #ifndef wxCLOSE_BOX #define wxCLOSE_BOX 0x1000 #endif /*! * WinEDA_PrintSVGFrame class declaration Loading @@ -75,21 +68,21 @@ class WinEDA_PrintSVGFrame: public wxDialog public: /// Constructors WinEDA_PrintSVGFrame(); WinEDA_PrintSVGFrame( WinEDA_DrawFrame* parent, wxWindowID id = SYMBOL_WINEDA_PRINTSVGFRAME_IDNAME, const wxString& caption = SYMBOL_WINEDA_PRINTSVGFRAME_TITLE, const wxPoint& pos = SYMBOL_WINEDA_PRINTSVGFRAME_POSITION, const wxSize& size = SYMBOL_WINEDA_PRINTSVGFRAME_SIZE, long style = SYMBOL_WINEDA_PRINTSVGFRAME_STYLE ); WinEDA_PrintSVGFrame( wxWindow* parent, wxWindowID id = SYMBOL_WINEDA_PRINTSVGFRAME_IDNAME, const wxString& caption = SYMBOL_WINEDA_PRINTSVGFRAME_TITLE, const wxPoint& pos = SYMBOL_WINEDA_PRINTSVGFRAME_POSITION, const wxSize& size = SYMBOL_WINEDA_PRINTSVGFRAME_SIZE, long style = SYMBOL_WINEDA_PRINTSVGFRAME_STYLE ); /// Creation bool Create( wxWindow* parent, wxWindowID id = SYMBOL_WINEDA_PRINTSVGFRAME_IDNAME, const wxString& caption = SYMBOL_WINEDA_PRINTSVGFRAME_TITLE, const wxPoint& pos = SYMBOL_WINEDA_PRINTSVGFRAME_POSITION, const wxSize& size = SYMBOL_WINEDA_PRINTSVGFRAME_SIZE, long style = SYMBOL_WINEDA_PRINTSVGFRAME_STYLE ); /// Destructor ~WinEDA_PrintSVGFrame(); /// Initialises member variables void Init(); /// Creates the controls and sizers void CreateControls(); ////@begin WinEDA_PrintSVGFrame event handler declarations /// wxEVT_CLOSE_WINDOW event handler for ID_DIALOG void OnCloseWindow( wxCloseEvent& event ); Loading @@ -108,7 +101,6 @@ public: ////@end WinEDA_PrintSVGFrame event handler declarations ////@begin WinEDA_PrintSVGFrame member function declarations /// Retrieves bitmap resources wxBitmap GetBitmapResource( const wxString& name ); Loading @@ -119,11 +111,6 @@ public: /// Should we show tooltips? static bool ShowToolTips(); void PrintSVGDoc(wxCommandEvent& event); bool DrawPage(const wxString & FullFileName); void SetPenWidth(wxSpinEvent& event); wxString ReturnFullFileName(); ////@begin WinEDA_PrintSVGFrame member variables wxSpinCtrl* m_ButtPenWidth; wxRadioBox* m_ModeColorOption; Loading @@ -132,10 +119,6 @@ public: wxTextCtrl* m_FileNameCtrl; wxTextCtrl* m_MessagesBox; ////@end WinEDA_PrintSVGFrame member variables WinEDA_DrawFrame * m_Parent; int m_PrintMaskLayer; int m_ImageXSize_mm; }; #endif Loading