Browse Source
Fixed a bug about Aperture Definition having parameters for an aperture macro. See Changlog for not yet supported RX274X commands. Having still problems with arcs in some gereber files.
pull/1/head
Fixed a bug about Aperture Definition having parameters for an aperture macro. See Changlog for not yet supported RX274X commands. Having still problems with arcs in some gereber files.
pull/1/head
23 changed files with 1218 additions and 963 deletions
-
16CHANGELOG.txt
-
2gerbview/CMakeLists.txt
-
43gerbview/class_GERBER.cpp
-
79gerbview/class_GERBER.h
-
6gerbview/class_aperture_macro.cpp
-
2gerbview/class_aperture_macro.h
-
0gerbview/gerber_test_files/aperture_macro-no_param-test.gbr
-
99gerbview/gerber_test_files/aperture_macro-with_param-test.gbr
-
5gerbview/gerberframe.cpp
-
11gerbview/gerbview.cpp
-
1gerbview/gerbview.h
-
64gerbview/gerbview_config.h
-
52gerbview/gerbview_dialog_display_options_frame.cpp
-
209gerbview/gerbview_dialog_display_options_frame_base.cpp
-
1181gerbview/gerbview_dialog_display_options_frame_base.fbp
-
122gerbview/gerbview_dialog_display_options_frame_base.h
-
3gerbview/gerbview_id.h
-
10gerbview/menubar.cpp
-
125gerbview/options.cpp
-
9gerbview/readgerb.cpp
-
2gerbview/rs274d.cpp
-
137gerbview/rs274x.cpp
-
3gerbview/wxGerberFrame.h
@ -0,0 +1,99 @@ |
|||
G04 Verification of all aperture macros * |
|||
G04 Handcoded by Stefan Petersen * |
|||
%MOIN*% |
|||
%FSLAX23Y23*% |
|||
%OFA0.0000B0.0000*% |
|||
G90* |
|||
%AMCIRCLE* |
|||
1,1,$1,0,0* |
|||
% |
|||
%AMVECTOR* |
|||
2,1,$1,0,0,$2,$3,-135* |
|||
% |
|||
%AMVECTOR1* |
|||
2,1,0.3,0,0,1,1,-15* |
|||
% |
|||
%AMLINE1* |
|||
21,1,$1,$2,0,0,-135* |
|||
% |
|||
%AMLINE* |
|||
21,1,0.3,0.03,0,0,-135* |
|||
% |
|||
%AMLINE2* |
|||
22,1,$1,$2,0,0,-45* |
|||
% |
|||
%AMLINELOWLEFT* |
|||
22,1,0.2,1.5,0,0,-15* |
|||
% |
|||
%AMOUTLINE* |
|||
4,1,3,0.0,0.0,0.0,0.5,0.5,0.5,0.5,0.0,-25* |
|||
% |
|||
%AMPOLYGON* |
|||
5,1,$1,0,0,0.5,$2* |
|||
% |
|||
%AMMOIRE* |
|||
6,0,0,1.0,0.1,0.4,2,0.01,1,20* |
|||
% |
|||
%AMTHERMAL* |
|||
7,0,0,1.0,0.3,0.01,-13* |
|||
% |
|||
%ADD10C,0.0650*% |
|||
%ADD11CIRCLE,.5*% |
|||
%ADD12VECTOR,0.05X1X0*% |
|||
%ADD13LINE1,0.3X0.05*% |
|||
%ADD14LINE2,0.8X0.5*% |
|||
%ADD15OUTLINE*% |
|||
%ADD16POLYGON,3X-10*% |
|||
%ADD17POLYGON,6X0*% |
|||
%ADD18MOIRE*% |
|||
%ADD19THERMAL*% |
|||
%ADD20LINELOWLEFT*% |
|||
G04 Outline* |
|||
X0Y0D02* |
|||
G54D10* |
|||
X0Y0D01* |
|||
X10000D01* |
|||
Y10000D01* |
|||
X0D01* |
|||
Y0D01* |
|||
G04 Dots * |
|||
X2000Y5000D03* |
|||
X3000D03* |
|||
X4000D03* |
|||
X5000D03* |
|||
X6000D03* |
|||
X7000D03* |
|||
X8000D03* |
|||
X9000D03* |
|||
Y6200X9000D03* |
|||
G04 Draw circle* |
|||
G54D11* |
|||
X2000Y5000D03* |
|||
G04 Draw line vector * |
|||
G54D12* |
|||
X3000D03* |
|||
G04 Draw line center * |
|||
G54D13* |
|||
X4000D03* |
|||
G04 Draw line lower left * |
|||
G54D14* |
|||
X5000D03* |
|||
G04 Draw outline * |
|||
G54D15* |
|||
X6000D03* |
|||
G04 Draw polygon 1 * |
|||
G54D16* |
|||
X7000D03* |
|||
G04 Draw polygon 1 * |
|||
G54D17* |
|||
X8000D03* |
|||
G04 Draw Moire * |
|||
G54D18* |
|||
X9000D03* |
|||
G04 Draw vector at 0,0* |
|||
G54D20* |
|||
X00000Y00000D03* |
|||
G04 Draw Thermal * |
|||
G54D19* |
|||
Y6200X9000D03* |
|||
M02* |
|||
@ -1,93 +1,116 @@ |
|||
///////////////////////////////////////////////////////////////////////////
|
|||
// C++ code generated with wxFormBuilder (version Apr 16 2008)
|
|||
// http://www.wxformbuilder.org/
|
|||
//
|
|||
// PLEASE DO "NOT" EDIT THIS FILE!
|
|||
///////////////////////////////////////////////////////////////////////////
|
|||
|
|||
#include "gerbview_dialog_display_options_frame_base.h"
|
|||
|
|||
///////////////////////////////////////////////////////////////////////////
|
|||
|
|||
DIALOG_DISPLAY_OPTIONS_BASE::DIALOG_DISPLAY_OPTIONS_BASE( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) |
|||
{ |
|||
this->SetSizeHints( wxDefaultSize, wxDefaultSize ); |
|||
|
|||
wxBoxSizer* bDialogSizer; |
|||
bDialogSizer = new wxBoxSizer( wxVERTICAL ); |
|||
|
|||
wxBoxSizer* bUpperSizer; |
|||
bUpperSizer = new wxBoxSizer( wxHORIZONTAL ); |
|||
|
|||
wxBoxSizer* bLeftSizer; |
|||
bLeftSizer = new wxBoxSizer( wxVERTICAL ); |
|||
|
|||
wxString m_OptDisplayLinesChoices[] = { _("Sketch"), _("Filled") }; |
|||
int m_OptDisplayLinesNChoices = sizeof( m_OptDisplayLinesChoices ) / sizeof( wxString ); |
|||
m_OptDisplayLines = new wxRadioBox( this, wxID_ANY, _("Lines:"), wxDefaultPosition, wxDefaultSize, m_OptDisplayLinesNChoices, m_OptDisplayLinesChoices, 1, wxRA_SPECIFY_COLS ); |
|||
m_OptDisplayLines->SetSelection( 1 ); |
|||
bLeftSizer->Add( m_OptDisplayLines, 0, wxALL|wxEXPAND, 5 ); |
|||
|
|||
wxString m_OptDisplayFlashedItemsChoices[] = { _("Sketch"), _("Filled") }; |
|||
int m_OptDisplayFlashedItemsNChoices = sizeof( m_OptDisplayFlashedItemsChoices ) / sizeof( wxString ); |
|||
m_OptDisplayFlashedItems = new wxRadioBox( this, wxID_ANY, _("Spots:"), wxDefaultPosition, wxDefaultSize, m_OptDisplayFlashedItemsNChoices, m_OptDisplayFlashedItemsChoices, 1, wxRA_SPECIFY_COLS ); |
|||
m_OptDisplayFlashedItems->SetSelection( 1 ); |
|||
bLeftSizer->Add( m_OptDisplayFlashedItems, 0, wxALL|wxEXPAND, 5 ); |
|||
|
|||
wxString m_OptDisplayPolygonsChoices[] = { _("Sketch"), _("Filled") }; |
|||
int m_OptDisplayPolygonsNChoices = sizeof( m_OptDisplayPolygonsChoices ) / sizeof( wxString ); |
|||
m_OptDisplayPolygons = new wxRadioBox( this, wxID_ANY, _("Polygons:"), wxDefaultPosition, wxDefaultSize, m_OptDisplayPolygonsNChoices, m_OptDisplayPolygonsChoices, 1, wxRA_SPECIFY_COLS ); |
|||
m_OptDisplayPolygons->SetSelection( 1 ); |
|||
bLeftSizer->Add( m_OptDisplayPolygons, 0, wxALL|wxEXPAND, 5 ); |
|||
|
|||
bUpperSizer->Add( bLeftSizer, 1, wxEXPAND, 5 ); |
|||
|
|||
|
|||
bUpperSizer->Add( 20, 20, 0, 0, 5 ); |
|||
|
|||
wxBoxSizer* bRightSizer; |
|||
bRightSizer = new wxBoxSizer( wxVERTICAL ); |
|||
|
|||
wxString m_ShowPageLimitsChoices[] = { _("Full size. Do not show page limits"), _("Full size"), _("Size A4"), _("Size A3"), _("Size A2"), _("Size A"), _("Size B"), _("Size C") }; |
|||
int m_ShowPageLimitsNChoices = sizeof( m_ShowPageLimitsChoices ) / sizeof( wxString ); |
|||
m_ShowPageLimits = new wxRadioBox( this, wxID_ANY, _("Show Page Limits:"), wxDefaultPosition, wxDefaultSize, m_ShowPageLimitsNChoices, m_ShowPageLimitsChoices, 1, wxRA_SPECIFY_COLS ); |
|||
m_ShowPageLimits->SetSelection( 0 ); |
|||
bRightSizer->Add( m_ShowPageLimits, 0, wxALL|wxEXPAND, 5 ); |
|||
|
|||
|
|||
bRightSizer->Add( 20, 20, 0, 0, 5 ); |
|||
|
|||
m_OptDisplayDCodes = new wxCheckBox( this, wxID_ANY, _("Show D codes"), wxDefaultPosition, wxDefaultSize, 0 ); |
|||
m_OptDisplayDCodes->SetValue(true); |
|||
|
|||
bRightSizer->Add( m_OptDisplayDCodes, 0, wxALL, 5 ); |
|||
|
|||
bUpperSizer->Add( bRightSizer, 1, wxEXPAND, 5 ); |
|||
|
|||
bDialogSizer->Add( bUpperSizer, 1, wxEXPAND, 5 ); |
|||
|
|||
m_staticline1 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL ); |
|||
bDialogSizer->Add( m_staticline1, 0, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 5 ); |
|||
|
|||
m_sdbSizer1 = new wxStdDialogButtonSizer(); |
|||
m_sdbSizer1OK = new wxButton( this, wxID_OK ); |
|||
m_sdbSizer1->AddButton( m_sdbSizer1OK ); |
|||
m_sdbSizer1Cancel = new wxButton( this, wxID_CANCEL ); |
|||
m_sdbSizer1->AddButton( m_sdbSizer1Cancel ); |
|||
m_sdbSizer1->Realize(); |
|||
bDialogSizer->Add( m_sdbSizer1, 0, wxEXPAND|wxALL, 5 ); |
|||
|
|||
this->SetSizer( bDialogSizer ); |
|||
this->Layout(); |
|||
|
|||
// Connect Events
|
|||
m_sdbSizer1Cancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_DISPLAY_OPTIONS_BASE::OnCancelButtonClick ), NULL, this ); |
|||
m_sdbSizer1OK->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_DISPLAY_OPTIONS_BASE::OnOKBUttonClick ), NULL, this ); |
|||
} |
|||
|
|||
DIALOG_DISPLAY_OPTIONS_BASE::~DIALOG_DISPLAY_OPTIONS_BASE() |
|||
{ |
|||
// Disconnect Events
|
|||
m_sdbSizer1Cancel->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_DISPLAY_OPTIONS_BASE::OnCancelButtonClick ), NULL, this ); |
|||
m_sdbSizer1OK->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_DISPLAY_OPTIONS_BASE::OnOKBUttonClick ), NULL, this ); |
|||
} |
|||
///////////////////////////////////////////////////////////////////////////
|
|||
// C++ code generated with wxFormBuilder (version Sep 8 2010)
|
|||
// http://www.wxformbuilder.org/
|
|||
//
|
|||
// PLEASE DO "NOT" EDIT THIS FILE!
|
|||
///////////////////////////////////////////////////////////////////////////
|
|||
|
|||
#include "gerbview_dialog_display_options_frame_base.h"
|
|||
|
|||
///////////////////////////////////////////////////////////////////////////
|
|||
|
|||
DIALOG_DISPLAY_OPTIONS_BASE::DIALOG_DISPLAY_OPTIONS_BASE( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) |
|||
{ |
|||
this->SetSizeHints( wxDefaultSize, wxDefaultSize ); |
|||
|
|||
wxBoxSizer* bDialogSizer; |
|||
bDialogSizer = new wxBoxSizer( wxVERTICAL ); |
|||
|
|||
wxBoxSizer* bUpperSizer; |
|||
bUpperSizer = new wxBoxSizer( wxHORIZONTAL ); |
|||
|
|||
wxBoxSizer* bLeftSizer; |
|||
bLeftSizer = new wxBoxSizer( wxVERTICAL ); |
|||
|
|||
wxString m_PolarDisplayChoices[] = { _("No Display"), _("Display") }; |
|||
int m_PolarDisplayNChoices = sizeof( m_PolarDisplayChoices ) / sizeof( wxString ); |
|||
m_PolarDisplay = new wxRadioBox( this, wxID_ANY, _("Display Polar Coord"), wxDefaultPosition, wxDefaultSize, m_PolarDisplayNChoices, m_PolarDisplayChoices, 1, wxRA_SPECIFY_COLS ); |
|||
m_PolarDisplay->SetSelection( 0 ); |
|||
bLeftSizer->Add( m_PolarDisplay, 0, wxALL|wxEXPAND, 5 ); |
|||
|
|||
wxString m_BoxUnitsChoices[] = { _("Inches"), _("millimeters") }; |
|||
int m_BoxUnitsNChoices = sizeof( m_BoxUnitsChoices ) / sizeof( wxString ); |
|||
m_BoxUnits = new wxRadioBox( this, wxID_ANY, _("Units"), wxDefaultPosition, wxDefaultSize, m_BoxUnitsNChoices, m_BoxUnitsChoices, 1, wxRA_SPECIFY_COLS ); |
|||
m_BoxUnits->SetSelection( 0 ); |
|||
bLeftSizer->Add( m_BoxUnits, 0, wxALL|wxEXPAND, 5 ); |
|||
|
|||
wxString m_CursorShapeChoices[] = { _("Small"), _("Big") }; |
|||
int m_CursorShapeNChoices = sizeof( m_CursorShapeChoices ) / sizeof( wxString ); |
|||
m_CursorShape = new wxRadioBox( this, wxID_ANY, _("Cursor"), wxDefaultPosition, wxDefaultSize, m_CursorShapeNChoices, m_CursorShapeChoices, 1, wxRA_SPECIFY_COLS ); |
|||
m_CursorShape->SetSelection( 0 ); |
|||
bLeftSizer->Add( m_CursorShape, 0, wxALL|wxEXPAND, 5 ); |
|||
|
|||
bUpperSizer->Add( bLeftSizer, 0, wxEXPAND, 5 ); |
|||
|
|||
wxBoxSizer* bMiddleSizer; |
|||
bMiddleSizer = new wxBoxSizer( wxVERTICAL ); |
|||
|
|||
wxString m_OptDisplayLinesChoices[] = { _("Sketch"), _("Filled") }; |
|||
int m_OptDisplayLinesNChoices = sizeof( m_OptDisplayLinesChoices ) / sizeof( wxString ); |
|||
m_OptDisplayLines = new wxRadioBox( this, wxID_ANY, _("Lines:"), wxDefaultPosition, wxDefaultSize, m_OptDisplayLinesNChoices, m_OptDisplayLinesChoices, 1, wxRA_SPECIFY_COLS ); |
|||
m_OptDisplayLines->SetSelection( 1 ); |
|||
bMiddleSizer->Add( m_OptDisplayLines, 0, wxALL|wxEXPAND, 5 ); |
|||
|
|||
wxString m_OptDisplayFlashedItemsChoices[] = { _("Sketch"), _("Filled") }; |
|||
int m_OptDisplayFlashedItemsNChoices = sizeof( m_OptDisplayFlashedItemsChoices ) / sizeof( wxString ); |
|||
m_OptDisplayFlashedItems = new wxRadioBox( this, wxID_ANY, _("Spots:"), wxDefaultPosition, wxDefaultSize, m_OptDisplayFlashedItemsNChoices, m_OptDisplayFlashedItemsChoices, 1, wxRA_SPECIFY_COLS ); |
|||
m_OptDisplayFlashedItems->SetSelection( 1 ); |
|||
bMiddleSizer->Add( m_OptDisplayFlashedItems, 0, wxALL|wxEXPAND, 5 ); |
|||
|
|||
wxString m_OptDisplayPolygonsChoices[] = { _("Sketch"), _("Filled") }; |
|||
int m_OptDisplayPolygonsNChoices = sizeof( m_OptDisplayPolygonsChoices ) / sizeof( wxString ); |
|||
m_OptDisplayPolygons = new wxRadioBox( this, wxID_ANY, _("Polygons:"), wxDefaultPosition, wxDefaultSize, m_OptDisplayPolygonsNChoices, m_OptDisplayPolygonsChoices, 1, wxRA_SPECIFY_COLS ); |
|||
m_OptDisplayPolygons->SetSelection( 1 ); |
|||
bMiddleSizer->Add( m_OptDisplayPolygons, 0, wxALL|wxEXPAND, 5 ); |
|||
|
|||
bUpperSizer->Add( bMiddleSizer, 0, wxEXPAND, 5 ); |
|||
|
|||
|
|||
bUpperSizer->Add( 20, 20, 0, 0, 5 ); |
|||
|
|||
wxBoxSizer* bRightSizer; |
|||
bRightSizer = new wxBoxSizer( wxVERTICAL ); |
|||
|
|||
wxString m_ShowPageLimitsChoices[] = { _("Full size. Do not show page limits"), _("Full size"), _("Size A4"), _("Size A3"), _("Size A2"), _("Size A"), _("Size B"), _("Size C") }; |
|||
int m_ShowPageLimitsNChoices = sizeof( m_ShowPageLimitsChoices ) / sizeof( wxString ); |
|||
m_ShowPageLimits = new wxRadioBox( this, wxID_ANY, _("Show Page Limits:"), wxDefaultPosition, wxDefaultSize, m_ShowPageLimitsNChoices, m_ShowPageLimitsChoices, 1, wxRA_SPECIFY_COLS ); |
|||
m_ShowPageLimits->SetSelection( 0 ); |
|||
bRightSizer->Add( m_ShowPageLimits, 0, wxALL|wxEXPAND, 5 ); |
|||
|
|||
|
|||
bRightSizer->Add( 20, 20, 0, 0, 5 ); |
|||
|
|||
m_OptDisplayDCodes = new wxCheckBox( this, wxID_ANY, _("Show D codes"), wxDefaultPosition, wxDefaultSize, 0 ); |
|||
m_OptDisplayDCodes->SetValue(true); |
|||
bRightSizer->Add( m_OptDisplayDCodes, 0, wxALL, 5 ); |
|||
|
|||
bUpperSizer->Add( bRightSizer, 1, wxEXPAND, 5 ); |
|||
|
|||
bDialogSizer->Add( bUpperSizer, 1, wxEXPAND, 5 ); |
|||
|
|||
m_staticline1 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL ); |
|||
bDialogSizer->Add( m_staticline1, 0, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 5 ); |
|||
|
|||
m_sdbSizer1 = new wxStdDialogButtonSizer(); |
|||
m_sdbSizer1OK = new wxButton( this, wxID_OK ); |
|||
m_sdbSizer1->AddButton( m_sdbSizer1OK ); |
|||
m_sdbSizer1Cancel = new wxButton( this, wxID_CANCEL ); |
|||
m_sdbSizer1->AddButton( m_sdbSizer1Cancel ); |
|||
m_sdbSizer1->Realize(); |
|||
bDialogSizer->Add( m_sdbSizer1, 0, wxEXPAND|wxALL, 5 ); |
|||
|
|||
this->SetSizer( bDialogSizer ); |
|||
this->Layout(); |
|||
|
|||
// Connect Events
|
|||
m_sdbSizer1Cancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_DISPLAY_OPTIONS_BASE::OnCancelButtonClick ), NULL, this ); |
|||
m_sdbSizer1OK->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_DISPLAY_OPTIONS_BASE::OnOKBUttonClick ), NULL, this ); |
|||
} |
|||
|
|||
DIALOG_DISPLAY_OPTIONS_BASE::~DIALOG_DISPLAY_OPTIONS_BASE() |
|||
{ |
|||
// Disconnect Events
|
|||
m_sdbSizer1Cancel->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_DISPLAY_OPTIONS_BASE::OnCancelButtonClick ), NULL, this ); |
|||
m_sdbSizer1OK->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_DISPLAY_OPTIONS_BASE::OnOKBUttonClick ), NULL, this ); |
|||
|
|||
} |
|||
1181
gerbview/gerbview_dialog_display_options_frame_base.fbp
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -1,59 +1,63 @@ |
|||
/////////////////////////////////////////////////////////////////////////// |
|||
// C++ code generated with wxFormBuilder (version Apr 16 2008) |
|||
// http://www.wxformbuilder.org/ |
|||
// |
|||
// PLEASE DO "NOT" EDIT THIS FILE! |
|||
/////////////////////////////////////////////////////////////////////////// |
|||
|
|||
#ifndef __gerbview_dialog_display_options_frame_base__ |
|||
#define __gerbview_dialog_display_options_frame_base__ |
|||
|
|||
#include <wx/intl.h> |
|||
|
|||
#include <wx/string.h> |
|||
#include <wx/radiobox.h> |
|||
#include <wx/gdicmn.h> |
|||
#include <wx/font.h> |
|||
#include <wx/colour.h> |
|||
#include <wx/settings.h> |
|||
#include <wx/sizer.h> |
|||
#include <wx/checkbox.h> |
|||
#include <wx/statline.h> |
|||
#include <wx/button.h> |
|||
#include <wx/dialog.h> |
|||
|
|||
/////////////////////////////////////////////////////////////////////////// |
|||
|
|||
|
|||
/////////////////////////////////////////////////////////////////////////////// |
|||
/// Class DIALOG_DISPLAY_OPTIONS_BASE |
|||
/////////////////////////////////////////////////////////////////////////////// |
|||
class DIALOG_DISPLAY_OPTIONS_BASE : public wxDialog |
|||
{ |
|||
private: |
|||
|
|||
protected: |
|||
wxRadioBox* m_OptDisplayLines; |
|||
wxRadioBox* m_OptDisplayFlashedItems; |
|||
wxRadioBox* m_OptDisplayPolygons; |
|||
|
|||
wxRadioBox* m_ShowPageLimits; |
|||
|
|||
wxCheckBox* m_OptDisplayDCodes; |
|||
wxStaticLine* m_staticline1; |
|||
wxStdDialogButtonSizer* m_sdbSizer1; |
|||
wxButton* m_sdbSizer1OK; |
|||
wxButton* m_sdbSizer1Cancel; |
|||
|
|||
// Virtual event handlers, overide them in your derived class |
|||
virtual void OnCancelButtonClick( wxCommandEvent& event ){ event.Skip(); } |
|||
virtual void OnOKBUttonClick( wxCommandEvent& event ){ event.Skip(); } |
|||
|
|||
|
|||
public: |
|||
DIALOG_DISPLAY_OPTIONS_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Gerbview Draw Options"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 413,299 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER ); |
|||
~DIALOG_DISPLAY_OPTIONS_BASE(); |
|||
|
|||
}; |
|||
|
|||
#endif //__gerbview_dialog_display_options_frame_base__ |
|||
/////////////////////////////////////////////////////////////////////////// |
|||
// C++ code generated with wxFormBuilder (version Sep 8 2010) |
|||
// http://www.wxformbuilder.org/ |
|||
// |
|||
// PLEASE DO "NOT" EDIT THIS FILE! |
|||
/////////////////////////////////////////////////////////////////////////// |
|||
|
|||
#ifndef __gerbview_dialog_display_options_frame_base__ |
|||
#define __gerbview_dialog_display_options_frame_base__ |
|||
|
|||
#include <wx/intl.h> |
|||
|
|||
#include <wx/string.h> |
|||
#include <wx/radiobox.h> |
|||
#include <wx/gdicmn.h> |
|||
#include <wx/font.h> |
|||
#include <wx/colour.h> |
|||
#include <wx/settings.h> |
|||
#include <wx/sizer.h> |
|||
#include <wx/checkbox.h> |
|||
#include <wx/statline.h> |
|||
#include <wx/button.h> |
|||
#include <wx/dialog.h> |
|||
|
|||
/////////////////////////////////////////////////////////////////////////// |
|||
|
|||
|
|||
/////////////////////////////////////////////////////////////////////////////// |
|||
/// Class DIALOG_DISPLAY_OPTIONS_BASE |
|||
/////////////////////////////////////////////////////////////////////////////// |
|||
class DIALOG_DISPLAY_OPTIONS_BASE : public wxDialog |
|||
{ |
|||
private: |
|||
|
|||
protected: |
|||
wxRadioBox* m_PolarDisplay; |
|||
wxRadioBox* m_BoxUnits; |
|||
wxRadioBox* m_CursorShape; |
|||
wxRadioBox* m_OptDisplayLines; |
|||
wxRadioBox* m_OptDisplayFlashedItems; |
|||
wxRadioBox* m_OptDisplayPolygons; |
|||
|
|||
wxRadioBox* m_ShowPageLimits; |
|||
|
|||
wxCheckBox* m_OptDisplayDCodes; |
|||
wxStaticLine* m_staticline1; |
|||
wxStdDialogButtonSizer* m_sdbSizer1; |
|||
wxButton* m_sdbSizer1OK; |
|||
wxButton* m_sdbSizer1Cancel; |
|||
|
|||
// Virtual event handlers, overide them in your derived class |
|||
virtual void OnCancelButtonClick( wxCommandEvent& event ) { event.Skip(); } |
|||
virtual void OnOKBUttonClick( wxCommandEvent& event ) { event.Skip(); } |
|||
|
|||
|
|||
public: |
|||
|
|||
DIALOG_DISPLAY_OPTIONS_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Gerbview Options"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 446,299 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER ); |
|||
~DIALOG_DISPLAY_OPTIONS_BASE(); |
|||
|
|||
}; |
|||
|
|||
#endif //__gerbview_dialog_display_options_frame_base__ |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue