KiCad PCB EDA Suite
Loading...
Searching...
No Matches
panel_3D_colors_base.cpp
Go to the documentation of this file.
1
2// C++ code generated with wxFormBuilder (version 3.10.1-0-g8feb16b)
3// http://www.wxformbuilder.org/
4//
5// PLEASE DO *NOT* EDIT THIS FILE!
7
9
11
13
14PANEL_3D_COLORS_BASE::PANEL_3D_COLORS_BASE( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style, const wxString& name ) : RESETTABLE_PANEL( parent, id, pos, size, style, name )
15{
16 wxBoxSizer* bSizerMain;
17 bSizerMain = new wxBoxSizer( wxVERTICAL );
18
19 m_environmentLable = new wxStaticText( this, wxID_ANY, _("Environment Colors"), wxDefaultPosition, wxDefaultSize, 0 );
20 m_environmentLable->Wrap( -1 );
21 bSizerMain->Add( m_environmentLable, 0, wxTOP|wxRIGHT|wxLEFT|wxEXPAND, 13 );
22
23 m_staticline1 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
24 bSizerMain->Add( m_staticline1, 0, wxEXPAND|wxBOTTOM, 5 );
25
26 wxFlexGridSizer* fgSizer1;
27 fgSizer1 = new wxFlexGridSizer( 0, 2, 5, 0 );
28 fgSizer1->SetFlexibleDirection( wxBOTH );
29 fgSizer1->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
30
31 backgroundTopLabel = new wxStaticText( this, wxID_ANY, _("Background gradient start:"), wxDefaultPosition, wxDefaultSize, 0 );
32 backgroundTopLabel->Wrap( -1 );
33 fgSizer1->Add( backgroundTopLabel, 0, wxALIGN_CENTER_VERTICAL|wxLEFT, 5 );
34
35 m_backgroundTop = new COLOR_SWATCH( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
36 fgSizer1->Add( m_backgroundTop, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 );
37
38 backgroundBotLabel = new wxStaticText( this, wxID_ANY, _("Background gradient end:"), wxDefaultPosition, wxDefaultSize, 0 );
39 backgroundBotLabel->Wrap( -1 );
40 fgSizer1->Add( backgroundBotLabel, 0, wxALIGN_CENTER_VERTICAL|wxLEFT, 5 );
41
42 m_backgroundBottom = new COLOR_SWATCH( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
43 fgSizer1->Add( m_backgroundBottom, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 );
44
45
46 fgSizer1->Add( 0, 6, 1, wxEXPAND, 5 );
47
48
49 fgSizer1->Add( 0, 0, 1, wxEXPAND, 5 );
50
51 solderPasteLabel = new wxStaticText( this, wxID_ANY, _("Solder paste:"), wxDefaultPosition, wxDefaultSize, 0 );
52 solderPasteLabel->Wrap( -1 );
53 fgSizer1->Add( solderPasteLabel, 0, wxALIGN_CENTER_VERTICAL|wxLEFT, 5 );
54
55 m_solderPaste = new COLOR_SWATCH( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
56 fgSizer1->Add( m_solderPaste, 0, wxRIGHT|wxLEFT|wxALIGN_CENTER_VERTICAL, 5 );
57
58
59 bSizerMain->Add( fgSizer1, 0, wxTOP|wxBOTTOM|wxLEFT, 5 );
60
61
62 bSizerMain->Add( 0, 15, 0, wxEXPAND, 5 );
63
64 m_boardColorsLabel = new wxStaticText( this, wxID_ANY, _("Board Colors"), wxDefaultPosition, wxDefaultSize, 0 );
65 m_boardColorsLabel->Wrap( -1 );
66 bSizerMain->Add( m_boardColorsLabel, 0, wxTOP|wxRIGHT|wxLEFT|wxEXPAND, 13 );
67
68 m_staticline2 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
69 bSizerMain->Add( m_staticline2, 0, wxEXPAND|wxBOTTOM, 5 );
70
71 m_boardStackupRB = new wxRadioButton( this, wxID_ANY, _("Use board stackup colors"), wxDefaultPosition, wxDefaultSize, 0 );
72 bSizerMain->Add( m_boardStackupRB, 0, wxTOP|wxBOTTOM|wxLEFT, 8 );
73
74 m_specificColorsRB = new wxRadioButton( this, wxID_ANY, _("Use colors:"), wxDefaultPosition, wxDefaultSize, 0 );
75 bSizerMain->Add( m_specificColorsRB, 0, wxTOP|wxBOTTOM|wxLEFT, 8 );
76
77 wxFlexGridSizer* fgSizer2;
78 fgSizer2 = new wxFlexGridSizer( 0, 2, 5, 0 );
79 fgSizer2->SetFlexibleDirection( wxBOTH );
80 fgSizer2->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
81
82 silkscreenTopLabel = new wxStaticText( this, wxID_ANY, _("Silkscreen top:"), wxDefaultPosition, wxDefaultSize, 0 );
83 silkscreenTopLabel->Wrap( -1 );
84 fgSizer2->Add( silkscreenTopLabel, 0, wxLEFT|wxALIGN_CENTER_VERTICAL, 20 );
85
86 m_silkscreenTop = new COLOR_SWATCH( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
87 fgSizer2->Add( m_silkscreenTop, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 );
88
89 silkscreenBottomLabel = new wxStaticText( this, wxID_ANY, _("Silkscreen bottom:"), wxDefaultPosition, wxDefaultSize, 0 );
90 silkscreenBottomLabel->Wrap( -1 );
91 fgSizer2->Add( silkscreenBottomLabel, 0, wxALIGN_CENTER_VERTICAL|wxLEFT, 20 );
92
93 m_silkscreenBottom = new COLOR_SWATCH( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
94 fgSizer2->Add( m_silkscreenBottom, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 );
95
96
97 fgSizer2->Add( 0, 6, 1, wxEXPAND, 5 );
98
99
100 fgSizer2->Add( 0, 0, 1, wxEXPAND, 5 );
101
102 solderMaskTopLabel = new wxStaticText( this, wxID_ANY, _("Solder mask top:"), wxDefaultPosition, wxDefaultSize, 0 );
103 solderMaskTopLabel->Wrap( -1 );
104 fgSizer2->Add( solderMaskTopLabel, 0, wxALIGN_CENTER_VERTICAL|wxLEFT, 20 );
105
106 m_solderMaskTop = new COLOR_SWATCH( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
107 fgSizer2->Add( m_solderMaskTop, 0, wxRIGHT|wxLEFT|wxALIGN_CENTER_VERTICAL, 5 );
108
109 solderMaskBottomLabel = new wxStaticText( this, wxID_ANY, _("Solder mask bottom:"), wxDefaultPosition, wxDefaultSize, 0 );
110 solderMaskBottomLabel->Wrap( -1 );
111 fgSizer2->Add( solderMaskBottomLabel, 0, wxALIGN_CENTER_VERTICAL|wxLEFT, 20 );
112
113 m_solderMaskBottom = new COLOR_SWATCH( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
114 fgSizer2->Add( m_solderMaskBottom, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 );
115
116
117 fgSizer2->Add( 0, 6, 1, wxEXPAND, 5 );
118
119
120 fgSizer2->Add( 0, 0, 1, wxEXPAND, 5 );
121
122 surfaceFinishLabel = new wxStaticText( this, wxID_ANY, _("Copper/surface finish:"), wxDefaultPosition, wxDefaultSize, 0 );
123 surfaceFinishLabel->Wrap( -1 );
124 fgSizer2->Add( surfaceFinishLabel, 0, wxALIGN_CENTER_VERTICAL|wxLEFT, 20 );
125
126 m_surfaceFinish = new COLOR_SWATCH( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
127 fgSizer2->Add( m_surfaceFinish, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 );
128
129
130 fgSizer2->Add( 0, 6, 1, wxEXPAND, 5 );
131
132
133 fgSizer2->Add( 0, 0, 1, wxEXPAND, 5 );
134
135 boardBodyLabel = new wxStaticText( this, wxID_ANY, _("Board body:"), wxDefaultPosition, wxDefaultSize, 0 );
136 boardBodyLabel->Wrap( -1 );
137 fgSizer2->Add( boardBodyLabel, 0, wxALIGN_CENTER_VERTICAL|wxLEFT, 20 );
138
139 m_boardBody = new COLOR_SWATCH( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
140 fgSizer2->Add( m_boardBody, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxLEFT|wxRIGHT, 5 );
141
142
143 bSizerMain->Add( fgSizer2, 1, wxEXPAND|wxLEFT, 8 );
144
145
146 this->SetSizer( bSizerMain );
147 this->Layout();
148 bSizerMain->Fit( this );
149}
150
152{
153}
const char * name
Definition: DXF_plotter.cpp:56
A simple color swatch of the kind used to set layer colors.
Definition: color_swatch.h:57
COLOR_SWATCH * m_silkscreenBottom
COLOR_SWATCH * m_silkscreenTop
wxStaticLine * m_staticline1
wxStaticText * solderPasteLabel
wxStaticText * solderMaskTopLabel
wxStaticText * silkscreenBottomLabel
COLOR_SWATCH * m_backgroundTop
wxStaticText * solderMaskBottomLabel
wxRadioButton * m_specificColorsRB
wxStaticLine * m_staticline2
wxStaticText * surfaceFinishLabel
wxStaticText * backgroundTopLabel
COLOR_SWATCH * m_solderMaskTop
wxStaticText * backgroundBotLabel
wxRadioButton * m_boardStackupRB
COLOR_SWATCH * m_surfaceFinish
wxStaticText * m_boardColorsLabel
COLOR_SWATCH * m_backgroundBottom
wxStaticText * silkscreenTopLabel
COLOR_SWATCH * m_solderPaste
wxStaticText * m_environmentLable
PANEL_3D_COLORS_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxTAB_TRAVERSAL, const wxString &name=wxEmptyString)
wxStaticText * boardBodyLabel
COLOR_SWATCH * m_solderMaskBottom
A wxPanel that is designed to be reset in a standard manner.
#define _(s)