KiCad PCB EDA Suite
Loading...
Searching...
No Matches
pcbnew/dialogs/dialog_global_edit_text_and_graphics.cpp
Go to the documentation of this file.
1/*
2 * This program source code file is part of KiCad, a free EDA CAD application.
3 *
4 * Copyright (C) 2012 Jean-Pierre Charras, jp.charras at wanadoo.fr
5 * Copyright The KiCad Developers, see AUTHORS.txt for contributors.
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; either version 2
10 * of the License, or (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, you may find one here:
19 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
20 * or you may search the http://www.gnu.org website for the version 2 license,
21 * or you may write to the Free Software Foundation, Inc.,
22 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
23 */
24
25#include <string_utils.h>
26#include <board_commit.h>
27#include <pcb_edit_frame.h>
30#include <board.h>
32#include <footprint.h>
33#include <pcb_group.h>
34#include <pcb_barcode.h>
35#include <pcb_dimension.h>
36#include <pcb_shape.h>
37#include <pcb_text.h>
38#include <widgets/unit_binder.h>
39#include <widgets/font_choice.h>
40#include <tool/tool_manager.h>
44
45// Columns of layer classes grid
46enum
47{
55};
56
57enum
58{
66};
67
68
69static wxString g_referenceFilter;
70static wxString g_footprintFilter;
71
72
74{
75public:
78
79protected:
80 void onActionButtonChange( wxCommandEvent& event ) override;
81 void onSpecifiedValueUpdateUI( wxUpdateUIEvent& event ) override;
82 void onDimensionItemCheckbox( wxCommandEvent& aEvent ) override;
83
84 void OnLayerFilterSelect( wxCommandEvent& event ) override
85 {
86 m_layerFilterOpt->SetValue( true );
87 }
88 void OnReferenceFilterText( wxCommandEvent& event ) override
89 {
90 m_referenceFilterOpt->SetValue( true );
91 }
92 void OnFootprintFilterText( wxCommandEvent& event ) override
93 {
94 m_footprintFilterOpt->SetValue( true );
95 }
96
97 bool TransferDataToWindow() override;
98 bool TransferDataFromWindow() override;
99
100 void visitItem( BOARD_COMMIT& aCommit, BOARD_ITEM* aItem );
101 void processItem( BOARD_COMMIT& aCommit, BOARD_ITEM* aItem );
102
103private:
108
113};
114
115
122{
123 m_parent = parent;
124 m_brdSettings = &m_parent->GetDesignSettings();
125 m_isBoardEditor = dynamic_cast<PCB_EDIT_FRAME*>( m_parent ) != nullptr;
126
127 if( !m_isBoardEditor )
128 {
129 m_footprintTexts->SetLabel( _( "Text items" ) );
130 m_footprintGraphics->SetLabel( _( "Graphic items" ) );
131 m_footprintDimensions->SetLabel( _( "Dimension items" ) );
132
133 m_boardText->Show( false );
134 m_boardGraphics->Show( false );
135 m_boardDimensions->Show( false );
136
137 m_referenceFilterOpt->Show( false );
138 m_referenceFilter->Show( false );
139 m_footprintFilterOpt->Show( false );
140 m_footprintFilter->Show( false );
141 }
142
143 m_layerFilter->SetBoardFrame( m_parent );
144 m_layerFilter->SetLayersHotkeys( false );
145 m_layerFilter->Resync();
146
147 m_LayerCtrl->SetBoardFrame( m_parent );
148 m_LayerCtrl->SetLayersHotkeys( false );
149 m_LayerCtrl->SetUndefinedLayerName( INDETERMINATE_ACTION );
150 m_LayerCtrl->Resync();
151
152 m_grid->SetCellHighlightPenWidth( 0 );
153 m_grid->SetDefaultCellFont( KIUI::GetInfoFont( this ) );
154 m_grid->SetDefaultRowSize( m_grid->GetDefaultRowSize() - FromDIP( 2 ) );
155
156 SetupStandardButtons( { { wxID_OK, _( "Apply and Close" ) },
157 { wxID_CANCEL, _( "Close" ) } } );
158
160}
161
162
164{
165 if( m_isBoardEditor )
166 {
169 }
170}
171
172
174{
175 PCB_SELECTION_TOOL* selTool = m_parent->GetToolManager()->GetTool<PCB_SELECTION_TOOL>();
176 m_selection = selTool->GetSelection();
177
178 if( m_isBoardEditor )
179 {
180 // SetValue() generates events, ChangeValue() does not
181 m_referenceFilter->ChangeValue( g_referenceFilter );
182 m_footprintFilter->ChangeValue( g_footprintFilter );
183 }
184
186
188 m_fontCtrl->SetStringSelection( INDETERMINATE_ACTION );
189
193 m_bold->Set3StateValue( wxCHK_UNDETERMINED );
194 m_italic->Set3StateValue( wxCHK_UNDETERMINED );
195 m_keepUpright->Set3StateValue( wxCHK_UNDETERMINED );
196 m_visible->Set3StateValue( wxCHK_UNDETERMINED );
197 m_LayerCtrl->SetLayerSelection( UNDEFINED_LAYER );
198
199 wxCommandEvent dummy;
201
202#define SET_INT_VALUE( aRow, aCol, aValue ) \
203 m_grid->SetCellValue( aRow, aCol, m_parent->StringFromValue( aValue, true ) )
204
205#define SET_BOOL_VALUE( aRow, aCol, aValue ) \
206 attr = new wxGridCellAttr; \
207 attr->SetRenderer( new wxGridCellBoolRenderer() ); \
208 attr->SetAlignment( wxALIGN_CENTER, wxALIGN_CENTER ); \
209 attr->SetReadOnly(); \
210 m_grid->SetAttr( aRow, aCol, attr ); \
211 m_grid->SetCellValue( aRow, aCol, ( aValue ) ? wxT( "1" ) : wxT( "" ) )
212
213 const BOARD_DESIGN_SETTINGS& bds = m_parent->GetBoard()->GetDesignSettings();
214 wxGridCellAttr* attr;
215
216 m_grid->SetCellValue( ROW_SILK, COL_CLASS_NAME, _( "Silk Layers" ) );
217 m_grid->SetCellValue( ROW_COPPER, COL_CLASS_NAME, _( "Copper Layers" ) );
218 m_grid->SetCellValue( ROW_EDGES, COL_CLASS_NAME, _( "Edge Cuts" ) );
219 m_grid->SetCellValue( ROW_COURTYARD, COL_CLASS_NAME, _( "Courtyards" ) );
220 m_grid->SetCellValue( ROW_FAB, COL_CLASS_NAME, _( "Fab Layers" ) );
221 m_grid->SetCellValue( ROW_OTHERS, COL_CLASS_NAME, _( "Other Layers" ) );
222
223 m_grid->SetCellValue( ROW_HEADER, COL_LINE_THICKNESS, _( "Line Thickness" ) );
230
231 m_grid->SetCellValue( ROW_HEADER, COL_TEXT_WIDTH, _( "Text Width" ) );
236
237 m_grid->SetCellValue( ROW_HEADER, COL_TEXT_HEIGHT, _( "Text Height" ) );
242
243 m_grid->SetCellValue( ROW_HEADER, COL_TEXT_THICKNESS, _( "Text Thickness" ) );
248
249 m_grid->SetCellValue( ROW_HEADER, COL_TEXT_ITALIC, _( "Italic" ) );
254
255 m_grid->SetCellValue( ROW_HEADER, COL_TEXT_UPRIGHT, _( "Keep Upright" ) );
260
261 return true;
262
263#undef SET_INT_VALUE
264#undef SET_BOOL_VALUE
265}
266
267
269{
270 // Update the UNIT_BINDER controls if the action to take is changed
271 bool enable = m_setToSpecifiedValues->GetValue();
272
273 m_LayerLabel->Enable( enable );
274 m_LayerCtrl->Enable( enable );
275
276 m_lineWidth.Enable( enable );
277 m_textWidth.Enable( enable );
278 m_textHeight.Enable( enable );
279 m_thickness.Enable( enable );
280
281 m_fontLabel->Enable( enable );
282 m_fontCtrl->Enable( enable );
283
284 m_centerOnFP->Enable( enable );
285
286 enable = !enable;
287 m_grid->Enable( enable );
288}
289
290
292{
293 // Update the UI for the elements inside the use specified values sizer
294 event.Enable( m_setToSpecifiedValues->GetValue() );
295}
296
297
299{
300 if( m_footprintDimensions->GetValue() || m_boardDimensions->GetValue() )
301 m_setToLayerDefaults->SetLabel( _( "Set to layer and dimension default values:" ) );
302 else
303 m_setToLayerDefaults->SetLabel( _( "Set to layer default values:" ) );
304}
305
306
308{
309 aCommit.Modify( aItem );
310
311 PCB_FIELD* field = dynamic_cast<PCB_FIELD*>( aItem );
312 EDA_TEXT* text = dynamic_cast<EDA_TEXT*>( aItem );
313 PCB_SHAPE* shape = dynamic_cast<PCB_SHAPE*>( aItem );
314 PCB_DIMENSION_BASE* dimension = dynamic_cast<PCB_DIMENSION_BASE*>( aItem );
315 PCB_BARCODE* barcode = dynamic_cast<PCB_BARCODE*>( aItem );
316 FOOTPRINT* parentFP = aItem->GetParentFootprint();
317
318 if( m_setToSpecifiedValues->GetValue() )
319 {
320 if( m_LayerCtrl->GetLayerSelection() != UNDEFINED_LAYER )
321 aItem->SetLayer( ToLAYER_ID( m_LayerCtrl->GetLayerSelection() ) );
322
323 if( text )
324 {
325 if( !m_textWidth.IsIndeterminate() )
326 text->SetTextSize( VECTOR2I( m_textWidth.GetIntValue(), text->GetTextSize().y ) );
327
328 if( !m_textHeight.IsIndeterminate() )
329 text->SetTextSize( VECTOR2I( text->GetTextSize().x, m_textHeight.GetIntValue() ) );
330
331 if( !m_thickness.IsIndeterminate() )
332 text->SetTextThickness( m_thickness.GetIntValue() );
333
334 // Must be after SetTextSize()
335 if( m_bold->Get3StateValue() != wxCHK_UNDETERMINED )
336 text->SetBold( m_bold->GetValue() );
337
338 if( m_italic->Get3StateValue() != wxCHK_UNDETERMINED )
339 text->SetItalic( m_italic->GetValue() );
340
341 // Must come after setting bold & italic
342 if( m_fontCtrl->GetStringSelection() != INDETERMINATE_ACTION )
343 {
344 text->SetFont( m_fontCtrl->GetFontSelection( text->IsBold(), text->IsItalic() ) );
345 }
346 else if(( m_italic->Get3StateValue() != wxCHK_UNDETERMINED
347 || m_bold->Get3StateValue() != wxCHK_UNDETERMINED ) )
348 {
349 if( !text->GetFontName().IsEmpty() )
350 {
351 text->SetFont( KIFONT::FONT::GetFont( text->GetFontName(), text->IsBold(),
352 text->IsItalic(),
353 m_parent->GetBoard()->GetEmbeddedFiles()->GetFontFiles() ) );
354 }
355 }
356
357 if( parentFP )
358 {
359 if( m_keepUpright->Get3StateValue() != wxCHK_UNDETERMINED )
360 text->SetKeepUpright( m_keepUpright->GetValue() );
361
362 if( m_centerOnFP->GetValue() == wxCHK_CHECKED )
363 text->SetTextPos( aItem->GetParent()->GetCenter() );
364 }
365 }
366
367 if( barcode )
368 {
369 if( !m_textHeight.IsIndeterminate() )
370 barcode->SetTextSize( m_textHeight.GetIntValue() );
371 else if( !m_textWidth.IsIndeterminate() )
372 barcode->SetTextSize( m_textWidth.GetIntValue() );
373 }
374
375 if( field )
376 {
377 if( m_visible->Get3StateValue() != wxCHK_UNDETERMINED )
378 field->SetVisible( m_visible->GetValue() );
379 }
380
381 if( !m_lineWidth.IsIndeterminate() )
382 {
383 if( shape )
384 {
385 STROKE_PARAMS stroke = shape->GetStroke();
386 stroke.SetWidth( m_lineWidth.GetIntValue() );
387 shape->SetStroke( stroke );
388 }
389
390 if( dimension )
391 dimension->SetLineThickness( m_lineWidth.GetIntValue() );
392 }
393 }
394 else
395 {
396 aItem->StyleFromSettings( *m_brdSettings, false );
397 }
398}
399
400
402{
403 if( m_selectedItemsFilter->GetValue() )
404 {
405 EDA_ITEM* candidate = aItem;
406
407 if( !candidate->IsSelected() )
408 {
409 if( candidate->GetParent() && candidate->GetParent()->Type() == PCB_FOOTPRINT_T )
410 candidate = candidate->GetParent();
411 }
412
413 if( !candidate->IsSelected() )
414 {
415 candidate = ( candidate->GetParentGroup() ? candidate->GetParentGroup()->AsEdaItem() : nullptr );
416
417 while( candidate && !candidate->IsSelected() )
418 candidate = candidate->GetParentGroup()->AsEdaItem();
419
420 if( !candidate )
421 return;
422 }
423 }
424
425 if( m_layerFilterOpt->GetValue() && m_layerFilter->GetLayerSelection() != UNDEFINED_LAYER )
426 {
427 if( aItem->GetLayer() != m_layerFilter->GetLayerSelection() )
428 return;
429 }
430
431 if( m_isBoardEditor )
432 {
433 if( m_referenceFilterOpt->GetValue() && !m_referenceFilter->GetValue().IsEmpty() )
434 {
435 if( FOOTPRINT* fp = aItem->GetParentFootprint() )
436 {
437 if( !WildCompareString( m_referenceFilter->GetValue(), fp->GetReference(), false ) )
438 return;
439 }
440 }
441
442 if( m_footprintFilterOpt->GetValue() && !m_footprintFilter->GetValue().IsEmpty() )
443 {
444 if( FOOTPRINT* fp = aItem->GetParentFootprint() )
445 {
446 if( !WildCompareString( m_footprintFilter->GetValue(), fp->GetFPID().Format(), false ) )
447 return;
448 }
449 }
450 }
451
452 processItem( aCommit, aItem );
453}
454
455
457{
458 int minTextSize = pcbIUScale.mmToIU( TEXT_MIN_SIZE_MM );
459 int maxTextSize = pcbIUScale.mmToIU( TEXT_MAX_SIZE_MM );
460
461 if( !m_textWidth.Validate( minTextSize, maxTextSize )
462 || !m_textHeight.Validate( minTextSize, maxTextSize ) )
463 {
464 return false;
465 }
466
467 BOARD_COMMIT commit( m_parent );
468
469 // Go through the footprints
470 for( FOOTPRINT* fp : m_parent->GetBoard()->Footprints() )
471 {
472 if( m_references->GetValue() )
473 visitItem( commit, &fp->Reference() );
474
475 if( m_values->GetValue() )
476 visitItem( commit, &fp->Value() );
477
478 for( PCB_FIELD* field : fp->GetFields() )
479 {
480 if( field->IsReference() )
481 continue;
482
483 if( field->IsValue() )
484 continue;
485
486 if( m_otherFootprintFields->GetValue() )
487 visitItem( commit, field );
488 else if( m_references->GetValue() && field->GetText() == wxT( "${REFERENCE}" ) )
489 visitItem( commit, field );
490 else if( m_values->GetValue() && field->GetText() == wxT( "${VALUE}" ) )
491 visitItem( commit, field );
492 }
493
494 // Go through all other footprint items
495 for( BOARD_ITEM* boardItem : fp->GraphicalItems() )
496 {
497 KICAD_T itemType = boardItem->Type();
498
499 if( itemType == PCB_TEXT_T || itemType == PCB_TEXTBOX_T )
500 {
501 EDA_TEXT* textItem = dynamic_cast<EDA_TEXT*>( boardItem );
502
503 if( m_footprintTexts->GetValue() )
504 visitItem( commit, boardItem );
505 else if( m_references->GetValue() && textItem->GetText() == wxT( "${REFERENCE}" ) )
506 visitItem( commit, boardItem );
507 else if( m_values->GetValue() && textItem->GetText() == wxT( "${VALUE}" ) )
508 visitItem( commit, boardItem );
509 }
510 else if( itemType == PCB_TABLE_T )
511 {
512 boardItem->RunOnChildren(
513 [&]( BOARD_ITEM* child )
514 {
515 if( child->Type() == PCB_TABLECELL_T && m_footprintTexts->GetValue() )
516 visitItem( commit, child );
517 },
519 }
520 else if( BaseType( itemType ) == PCB_DIMENSION_T )
521 {
522 if( m_footprintDimensions->GetValue() )
523 visitItem( commit, boardItem );
524 }
525 else if( itemType == PCB_SHAPE_T || itemType == PCB_BARCODE_T )
526 {
527 if( m_footprintGraphics->GetValue() )
528 visitItem( commit, boardItem );
529 }
530 }
531 }
532
533 if( m_isBoardEditor )
534 {
535 // Go through the PCB text & graphic items
536 for( BOARD_ITEM* boardItem : m_parent->GetBoard()->Drawings() )
537 {
538 KICAD_T itemType = boardItem->Type();
539
540 if( itemType == PCB_TEXT_T || itemType == PCB_TEXTBOX_T )
541 {
542 if( m_boardText->GetValue() )
543 visitItem( commit, boardItem );
544 }
545 else if( itemType == PCB_TABLE_T )
546 {
547 boardItem->RunOnChildren(
548 [&]( BOARD_ITEM* child )
549 {
550 if( child->Type() == PCB_TABLECELL_T && m_boardText->GetValue() )
551 visitItem( commit, child );
552 },
554 }
555 else if( BaseType( itemType ) == PCB_DIMENSION_T )
556 {
557 if( m_boardDimensions->GetValue() )
558 visitItem( commit, boardItem );
559 }
560 else if( itemType == PCB_SHAPE_T || itemType == PCB_BARCODE_T )
561 {
562 if( m_boardGraphics->GetValue() )
563 visitItem( commit, boardItem );
564 }
565 }
566 }
567
568 commit.Push( _( "Edit Text and Graphics" ) );
569 m_parent->GetCanvas()->Refresh();
570
571 return true;
572}
573
574
576{
579
580 dlg.ShowModal();
581 return 0;
582}
583
584
586{
589
590 dlg.ShowModal();
591 return 0;
592}
593
594
constexpr EDA_IU_SCALE pcbIUScale
Definition base_units.h:112
@ LAYER_CLASS_OTHERS
@ LAYER_CLASS_FAB
@ LAYER_CLASS_COURTYARD
@ LAYER_CLASS_SILK
@ LAYER_CLASS_COPPER
@ LAYER_CLASS_EDGES
Container for design settings for a BOARD object.
bool m_TextUpright[LAYER_CLASS_COUNT]
int m_TextThickness[LAYER_CLASS_COUNT]
int m_LineThickness[LAYER_CLASS_COUNT]
VECTOR2I m_TextSize[LAYER_CLASS_COUNT]
bool m_TextItalic[LAYER_CLASS_COUNT]
A base class for any item which can be embedded within the BOARD container class, and therefore insta...
Definition board_item.h:79
virtual PCB_LAYER_ID GetLayer() const
Return the primary layer this item is on.
Definition board_item.h:232
virtual VECTOR2I GetCenter() const
This defaults to the center of the bounding box if not overridden.
Definition board_item.h:112
virtual void SetLayer(PCB_LAYER_ID aLayer)
Set the layer this item is on.
Definition board_item.h:280
FOOTPRINT * GetParentFootprint() const
BOARD_ITEM_CONTAINER * GetParent() const
Definition board_item.h:210
virtual void StyleFromSettings(const BOARD_DESIGN_SETTINGS &settings, bool aCheckSide)
Definition board_item.h:327
COMMIT & Modify(EDA_ITEM *aItem, BASE_SCREEN *aScreen=nullptr, RECURSE_MODE aRecurse=RECURSE_MODE::NO_RECURSE)
Modify a given item in the model.
Definition commit.h:106
DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Edit Text and Graphic Properties"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
void processItem(SCH_COMMIT *aCommit, const SCH_SHEET_PATH &aSheetPath, SCH_ITEM *aItem)
void visitItem(SCH_COMMIT *aCommit, const SCH_SHEET_PATH &aSheetPath, SCH_ITEM *aItem)
void SetupStandardButtons(std::map< int, wxString > aLabels={})
void finishDialogSettings()
In all dialogs, we must call the same functions to fix minimal dlg size, the default position and per...
int ShowModal() override
virtual EDA_ITEM * AsEdaItem()=0
A base class for most all the KiCad significant classes used in schematics and boards.
Definition eda_item.h:98
virtual EDA_GROUP * GetParentGroup() const
Definition eda_item.h:116
KICAD_T Type() const
Returns the type of object.
Definition eda_item.h:110
bool IsSelected() const
Definition eda_item.h:127
EDA_ITEM * GetParent() const
Definition eda_item.h:112
A mix-in class (via multiple inheritance) that handles texts such as labels, parts,...
Definition eda_text.h:80
virtual const wxString & GetText() const
Return the string associated with the text object.
Definition eda_text.h:98
virtual void SetVisible(bool aVisible)
Definition eda_text.cpp:397
static FONT * GetFont(const wxString &aFontName=wxEmptyString, bool aBold=false, bool aItalic=false, const std::vector< wxString > *aEmbeddedFiles=nullptr, bool aForDrawingSheet=false)
Definition font.cpp:147
void SetTextSize(int aTextSize)
Change the height of the human-readable text displayed below the barcode.
Common, abstract interface for edit frames.
Abstract dimension API.
void SetLineThickness(int aWidth)
The main frame for Pcbnew.
PCB_SELECTION & GetSelection()
STROKE_PARAMS GetStroke() const override
Definition pcb_shape.h:91
void SetStroke(const STROKE_PARAMS &aStroke) override
Definition pcb_shape.h:92
Simple container to manage line stroke parameters.
void SetWidth(int aWidth)
T * getEditFrame() const
Return the application window object, casted to requested user type.
Definition tool_base.h:186
Generic, UI-independent tool event.
Definition tool_event.h:171
virtual bool Validate(double aMin, double aMax, EDA_UNITS aUnits=EDA_UNITS::UNSCALED)
Validate the control against the given range, informing the user of any errors found.
#define _(s)
@ NO_RECURSE
Definition eda_item.h:52
#define TEXT_MIN_SIZE_MM
Minimum text size (1 micron).
Definition eda_text.h:47
#define TEXT_MAX_SIZE_MM
Maximum text size in mm (~10 inches)
Definition eda_text.h:48
@ UNDEFINED_LAYER
Definition layer_ids.h:61
PCB_LAYER_ID ToLAYER_ID(int aLayer)
Definition lset.cpp:737
KICOMMON_API wxFont GetInfoFont(wxWindow *aWindow)
BARCODE class definition.
Class to handle a set of BOARD_ITEMs.
#define SET_INT_VALUE(aRow, aCol, aValue)
#define SET_BOOL_VALUE(aRow, aCol, aValue)
std::vector< FAB_LAYER_COLOR > dummy
bool WildCompareString(const wxString &pattern, const wxString &string_to_tst, bool case_sensitive)
Compare a string against wild card (* and ?) pattern using the usual rules.
constexpr KICAD_T BaseType(const KICAD_T aType)
Return the underlying type of the given type.
Definition typeinfo.h:254
KICAD_T
The set of class identification values stored in EDA_ITEM::m_structType.
Definition typeinfo.h:78
@ PCB_SHAPE_T
class PCB_SHAPE, a segment not on copper layers
Definition typeinfo.h:88
@ PCB_TEXTBOX_T
class PCB_TEXTBOX, wrapped text on a layer
Definition typeinfo.h:93
@ PCB_TEXT_T
class PCB_TEXT, text on a layer
Definition typeinfo.h:92
@ PCB_BARCODE_T
class PCB_BARCODE, a barcode (graphic item)
Definition typeinfo.h:101
@ PCB_TABLECELL_T
class PCB_TABLECELL, PCB_TEXTBOX for use in tables
Definition typeinfo.h:95
@ PCB_FOOTPRINT_T
class FOOTPRINT, a footprint
Definition typeinfo.h:86
@ PCB_DIMENSION_T
class PCB_DIMENSION_BASE: abstract dimension meta-type
Definition typeinfo.h:100
@ PCB_TABLE_T
class PCB_TABLE, table of PCB_TABLECELLs
Definition typeinfo.h:94
#define INDETERMINATE_ACTION
Definition ui_common.h:47
VECTOR2< int32_t > VECTOR2I
Definition vector2d.h:695