KiCad PCB EDA Suite
Loading...
Searching...
No Matches
eda_draw_frame.h
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) 2009 Jean-Pierre Charras, [email protected]
5 * Copyright (C) 2011 Wayne Stambaugh <[email protected]>
6 * Copyright The KiCad Developers, see AUTHORS.txt for contributors.
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License
10 * as published by the Free Software Foundation; either version 2
11 * of the License, or (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, you may find one here:
20 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
21 * or you may search the http://www.gnu.org website for the version 2 license,
22 * or you may write to the Free Software Foundation, Inc.,
23 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
24 */
25
26#ifndef DRAW_FRAME_H_
27#define DRAW_FRAME_H_
28
29#include <api/api_plugin.h>
30#include <eda_base_frame.h>
31#include <eda_search_data.h>
32#include <kiway_player.h>
35#include <gal/color4d.h>
37#include <kiid.h>
38#include <hotkeys_basic.h>
39#include <widgets/lib_tree.h>
40
41class EDA_ITEM;
42class wxSingleInstanceChecker;
43class ACTION_TOOLBAR;
44class GRID_HELPER;
45class COLOR_SETTINGS;
46class LOCKFILE;
47class TOOL_MENU;
49class wxFindReplaceData;
50class SEARCH_PANE;
54enum class BITMAP_TYPE;
56
57namespace KIGFX
58{
59 class GAL_DISPLAY_OPTIONS;
60 class RENDER_SETTINGS;
61}
62
63using KIGFX::COLOR4D;
65
66#define LIB_EDIT_FRAME_NAME wxT( "LibeditFrame" )
67#define LIB_VIEW_FRAME_NAME wxT( "ViewlibFrame" )
68#define SCH_EDIT_FRAME_NAME wxT( "SchematicFrame" )
69#define SYMBOL_CHOOSER_FRAME_NAME wxT( "SymbolChooserFrame" )
70#define PL_EDITOR_FRAME_NAME wxT( "PlEditorFrame" )
71#define FOOTPRINT_WIZARD_FRAME_NAME wxT( "FootprintWizard" )
72#define FOOTPRINT_CHOOSER_FRAME_NAME wxT( "FootprintChooserFrame" )
73#define FOOTPRINT_EDIT_FRAME_NAME wxT( "ModEditFrame" )
74#define FOOTPRINT_VIEWER_FRAME_NAME wxT( "ModViewFrame" )
75#define PCB_EDIT_FRAME_NAME wxT( "PcbFrame" )
76
77
85{
86public:
87 EDA_DRAW_FRAME( KIWAY* aKiway, wxWindow* aParent, FRAME_T aFrameType, const wxString& aTitle,
88 const wxPoint& aPos, const wxSize& aSize, long aStyle,
89 const wxString& aFrameName, const EDA_IU_SCALE& aIuScale );
90
92
101 bool LockFile( const wxString& aFileName );
102
106 void ReleaseFile();
107
112
117
119 wxArrayString& GetFindHistoryList() { return m_findStringHistoryList; }
120
121 virtual void SetPageSettings( const PAGE_INFO& aPageSettings ) = 0;
122 virtual const PAGE_INFO& GetPageSettings() const = 0;
123
128 virtual const VECTOR2I GetPageSizeIU() const = 0;
129
133 bool GetShowPolarCoords() const { return m_polarCoords; }
134 void SetShowPolarCoords( bool aShow ) { m_polarCoords = aShow; }
135
136 void ToggleUserUnits() override;
137
144 void GetUnitPair( EDA_UNITS& aPrimaryUnit, EDA_UNITS& aSecondaryUnits ) override;
145
152 virtual const VECTOR2I& GetGridOrigin() const = 0;
153 virtual void SetGridOrigin( const VECTOR2I& aPosition ) = 0;
154
155 virtual std::unique_ptr<GRID_HELPER> MakeGridHelper();
156
163 VECTOR2I GetNearestGridPosition( const VECTOR2I& aPosition ) const;
164
174 VECTOR2I GetNearestHalfGridPosition( const VECTOR2I& aPosition ) const;
175
176 virtual const TITLE_BLOCK& GetTitleBlock() const = 0;
177 virtual void SetTitleBlock( const TITLE_BLOCK& aTitleBlock ) = 0;
178
179 // the background color of the draw canvas:
180 // Virtual because some frames can have a specific way to get/set the bg color
181 virtual COLOR4D GetDrawBgColor() const { return m_drawBgColor; }
182 virtual void SetDrawBgColor( const COLOR4D& aColor) { m_drawBgColor= aColor ; }
183
185 virtual COLOR_SETTINGS* GetColorSettings( bool aForceRefresh = false ) const;
186
198 bool LibraryFileBrowser( const wxString& aTitle, bool doOpen, wxFileName& aFilename,
199 const wxString& wildcard, const wxString& ext, bool isDirectory,
200 FILEDLG_HOOK_NEW_LIBRARY* aFileDlgHook = nullptr );
201
202 void CommonSettingsChanged( int aFlags ) override;
203
204 virtual wxString GetScreenDesc() const;
205 virtual wxString GetFullScreenDesc() const;
206
212 virtual BASE_SCREEN* GetScreen() const { return m_currentScreen; }
213
214 void EraseMsgBox();
215
216 // Toolbar-related functions
217 virtual void ReCreateHToolbar() { };
218 virtual void ReCreateVToolbar() { };
219 virtual void ReCreateLeftToolbar() { };
220 virtual void ReCreateAuxiliaryToolbar() { }
221
222 /*
223 * These 4 functions provide a basic way to show/hide grid and /get/set grid color.
224 *
225 * These parameters are saved in KiCad config for each main frame.
226 */
227 bool IsGridVisible() const;
228 virtual void SetGridVisibility( bool aVisible );
229
230 bool IsGridOverridden() const;
231 virtual void SetGridOverrides( bool aOverride );
232
233 virtual COLOR4D GetGridColor() { return m_gridColor; }
234 virtual void SetGridColor( const COLOR4D& aColor ) { m_gridColor = aColor; }
235
245 void OnSelectGrid( wxCommandEvent& event );
246
251 void UpdateGridSelectBox();
252
256 void OnUpdateSelectGrid( wxUpdateUIEvent& aEvent );
257
261 void OnUpdateSelectZoom( wxUpdateUIEvent& aEvent );
262
267 void UpdateZoomSelectBox();
268
272 const wxString GetZoomLevelIndicator() const;
273
281 virtual void OnSelectZoom( wxCommandEvent& event );
282
286 virtual void OnSize( wxSizeEvent& event ) override;
287
288 void OnMove( wxMoveEvent& aEvent ) override;
289
293 virtual void HardRedraw();
294
299 virtual void Zoom_Automatique( bool aWarpPointer );
300
309 void FocusOnLocation( const VECTOR2I& aPos );
310
316 virtual void FocusOnItem( EDA_ITEM* aItem ) {}
317
318 virtual void ClearFocus() { FocusOnItem( nullptr ); }
319
324 void AddStandardSubMenus( TOOL_MENU& aMenu );
325
335 void PrintDrawingSheet( const RENDER_SETTINGS* aSettings, BASE_SCREEN* aScreen,
336 const std::map<wxString, wxString>* aProperties, double aMils2Iu,
337 const wxString& aFilename,
338 const wxString& aSheetLayer = wxEmptyString );
339
340 void DisplayToolMsg( const wxString& msg ) override;
341
342 void DisplayConstraintsMsg( const wxString& msg );
343
350 virtual void OnPageSettingsChange() {}
351
359 void UpdateStatusBar() override;
360
364 void DisplayUnitsMsg();
365
369 virtual void DisplayGridMsg();
370
371 void LoadSettings( APP_SETTINGS_BASE* aCfg ) override;
372 void SaveSettings( APP_SETTINGS_BASE* aCfg ) override;
373
384 void AppendMsgPanel( const wxString& aTextUpper, const wxString& aTextLower, int aPadding = 6 );
385
389 virtual void ClearMsgPanel();
390
396 void SetMsgPanel( const std::vector< MSG_PANEL_ITEM >& aList );
397 void SetMsgPanel( EDA_ITEM* aItem );
398
406 void SetMsgPanel( const wxString& aTextUpper, const wxString& aTextLower, int aPadding = 6 );
407
411 virtual void UpdateMsgPanel();
412
413 virtual LIB_TREE* GetLibTree() const { return nullptr; }
414 virtual LIB_ID GetTargetLibId() const { return LIB_ID(); }
415
416 virtual bool IsLibraryTreeShown() const { return false; }
417 virtual void ToggleLibraryTree() {};
418 virtual void FocusLibraryTreeInput() {};
419
421
422 void UpdateProperties();
423
424 virtual void ToggleProperties() {}
425
426 static const wxString PropertiesPaneName() { return wxS( "PropertiesManager" ); }
427
428 static const wxString NetInspectorPanelName() { return wxS( "NetInspector" ); }
429
430 static const wxString DesignBlocksPaneName() { return wxS( "DesignBlocks" ); }
431
432 static const wxString AppearancePanelName() { return wxS( "LayersManager" ); }
433
437 virtual EDA_ITEM* ResolveItem( const KIID& aId, bool aAllowNullptrReturn = false ) const
438 {
439 return nullptr;
440 }
441
445 virtual void ActivateGalCanvas();
446
450 virtual void SwitchCanvas( EDA_DRAW_PANEL_GAL::GAL_TYPE aCanvasType );
451
457 virtual EDA_DRAW_PANEL_GAL* GetCanvas() const { return m_canvas; }
458 void SetCanvas( EDA_DRAW_PANEL_GAL* aPanel ) { m_canvas = aPanel; }
459
460 wxWindow* GetToolCanvas() const override { return GetCanvas(); }
461
466
467 void RefreshCanvas() override
468 {
469 GetCanvas()->Refresh();
470 }
471
484 virtual const BOX2I GetDocumentExtents( bool aIncludeAllVisible = true ) const;
485
489 void ShowChangedLanguage() override;
490
492
493 virtual void CreateHotkeyPopup();
494
495
504 bool SaveCanvasImageToFile( const wxString& aFileName, BITMAP_TYPE aBitmapType );
505
509 virtual void OnApiPluginInvoke( wxCommandEvent& aEvent );
510
511 virtual PLUGIN_ACTION_SCOPE PluginActionScope() const { return PLUGIN_ACTION_SCOPE::INVALID; }
512
513 static bool IsPluginActionButtonVisible( const PLUGIN_ACTION& aAction,
514 APP_SETTINGS_BASE* aCfg );
515
524 static std::vector<const PLUGIN_ACTION*> GetOrderedPluginActions( PLUGIN_ACTION_SCOPE aScope,
525 APP_SETTINGS_BASE* aCfg );
526
532 virtual void AddApiPluginTools( ACTION_TOOLBAR* aToolbar );
533
534 DECLARE_EVENT_TABLE()
535
536protected:
537 void configureToolbars() override;
538
539 virtual void SetScreen( BASE_SCREEN* aScreen ) { m_currentScreen = aScreen; }
540
541 void unitsChangeRefresh() override;
542
543 void setupUnits( APP_SETTINGS_BASE* aCfg );
544
546
547 std::vector<wxWindow*> findDialogs();
548
552 virtual void resolveCanvasType();
553
561
566
570 virtual void handleActivateEvent( wxActivateEvent& aEvent );
571 void onActivate( wxActivateEvent& aEvent );
572
573 wxSocketServer* m_socketServer;
574
576 std::unique_ptr<LOCKFILE> m_file_checker;
577
578 COLOR4D m_gridColor; // Grid color
579 COLOR4D m_drawBgColor; // The background color of the draw canvas; BLACK for
580 // Pcbnew, BLACK or WHITE for Eeschema
581 int m_undoRedoCountMax; // Default Undo/Redo command Max depth, to be handed
582 // to screens
583 bool m_polarCoords; // For those frames that support polar coordinates
584
585 // Show the drawing sheet (border & title block).
587
590
591 std::unique_ptr<EDA_SEARCH_DATA> m_findReplaceData;
594
597
602
604
607
610
611private:
614
617
619};
620
621#endif // DRAW_FRAME_H_
PLUGIN_ACTION_SCOPE
Definition: api_plugin.h:56
BITMAP_TYPE
Definition: bitmap_types.h:43
Define the structure of a toolbar with buttons that invoke ACTIONs.
APP_SETTINGS_BASE is a settings class that should be derived for each standalone KiCad application.
Definition: app_settings.h:108
Handles how to draw a screen (a board, a schematic ...)
Definition: base_screen.h:41
Color settings are a bit different than most of the settings objects in that there can be more than o...
The base class for create windows for drawing purpose.
virtual const BOX2I GetDocumentExtents(bool aIncludeAllVisible=true) const
Return bounding box of document with option to not include some items.
wxArrayString m_replaceStringHistoryList
virtual void ClearMsgPanel()
Clear all messages from the message panel.
static std::vector< const PLUGIN_ACTION * > GetOrderedPluginActions(PLUGIN_ACTION_SCOPE aScope, APP_SETTINGS_BASE *aCfg)
Return ordered list of plugin actions for display in the toolbar.
virtual void ReCreateVToolbar()
void configureToolbars() override
HOTKEY_CYCLE_POPUP * GetHotkeyPopup()
EDA_DRAW_PANEL_GAL * m_canvas
virtual void ActivateGalCanvas()
Use to start up the GAL drawing canvas.
virtual void SetTitleBlock(const TITLE_BLOCK &aTitleBlock)=0
void SaveSettings(APP_SETTINGS_BASE *aCfg) override
Save common frame parameters to a configuration data file.
GAL_DISPLAY_OPTIONS_IMPL m_galDisplayOptions
This the frame's interface to setting GAL display options.
virtual const TITLE_BLOCK & GetTitleBlock() const =0
void onActivate(wxActivateEvent &aEvent)
COLOR_SETTINGS * m_colorSettings
wxChoice * m_gridSelectBox
void AddStandardSubMenus(TOOL_MENU &aMenu)
Construct a "basic" menu for a tool, containing only items that apply to all tools (e....
void ReleaseFile()
Release the current file marked in use.
static const wxString AppearancePanelName()
EDA_DRAW_PANEL_GAL::GAL_TYPE m_canvasType
The current canvas type.
virtual BASE_SCREEN * GetScreen() const
Return a pointer to a BASE_SCREEN or one of its derivatives.
void ScriptingConsoleEnableDisable()
Toggle the scripting console visibility.
virtual wxString GetFullScreenDesc() const
void OnSelectGrid(wxCommandEvent &event)
Command event handler for selecting grid sizes.
void DisplayToolMsg(const wxString &msg) override
std::unique_ptr< LOCKFILE > m_file_checker
bool IsScriptingConsoleVisible()
Get the current visibility of the scripting console window.
void OnUpdateSelectZoom(wxUpdateUIEvent &aEvent)
Update the checked item in the zoom wxchoice.
virtual const PAGE_INFO & GetPageSettings() const =0
virtual void FocusLibraryTreeInput()
void DisplayUnitsMsg()
Display current unit pane in the status bar.
void setupUnits(APP_SETTINGS_BASE *aCfg)
virtual void ToggleLibraryTree()
void SetMsgPanel(const std::vector< MSG_PANEL_ITEM > &aList)
Clear the message panel and populates it with the contents of aList.
void RefreshCanvas() override
virtual COLOR4D GetGridColor()
void UpdateGridSelectBox()
Rebuild the grid combobox to respond to any changes in the GUI (units, user grid changes,...
virtual const VECTOR2I GetPageSizeIU() const =0
Works off of GetPageSettings() to return the size of the paper page in the internal units of this par...
bool LockFile(const wxString &aFileName)
Mark a schematic file as being in use.
virtual void HardRedraw()
Rebuild the GAL and redraws the screen.
virtual void SetGridOrigin(const VECTOR2I &aPosition)=0
virtual bool IsLibraryTreeShown() const
bool IsGridOverridden() const
void LoadSettings(APP_SETTINGS_BASE *aCfg) override
Load common frame parameters from a configuration file.
bool SaveCanvasImageToFile(const wxString &aFileName, BITMAP_TYPE aBitmapType)
Save the current view as an image file.
void UpdateZoomSelectBox()
Rebuild the grid combobox to respond to any changes in the GUI (units, user grid changes,...
virtual void SetPageSettings(const PAGE_INFO &aPageSettings)=0
virtual void SwitchCanvas(EDA_DRAW_PANEL_GAL::GAL_TYPE aCanvasType)
Change the current rendering backend.
virtual EDA_ITEM * ResolveItem(const KIID &aId, bool aAllowNullptrReturn=false) const
Fetch an item by KIID.
virtual void OnSize(wxSizeEvent &event) override
Recalculate the size of toolbars and display panel when the frame size changes.
const wxString GetZoomLevelIndicator() const
Return a human readable value for display in dialogs.
virtual void OnSelectZoom(wxCommandEvent &event)
Set the zoom factor when selected by the zoom list box in the main tool bar.
GAL_DISPLAY_OPTIONS_IMPL & GetGalDisplayOptions()
Return a reference to the gal rendering options used by GAL for rendering.
virtual void resolveCanvasType()
Determine the canvas type to load (with prompt if required) and initializes m_canvasType.
static bool m_openGLFailureOccured
Has any failure occurred when switching to OpenGL in any EDA_DRAW_FRAME?
virtual LIB_TREE * GetLibTree() const
BASE_SCREEN * m_currentScreen
current used SCREEN
virtual wxString GetScreenDesc() const
VECTOR2I GetNearestGridPosition(const VECTOR2I &aPosition) const
Return the nearest aGridSize location to aPosition.
static const wxString PropertiesPaneName()
EDA_MSG_PANEL * m_messagePanel
void SetCanvas(EDA_DRAW_PANEL_GAL *aPanel)
virtual const VECTOR2I & GetGridOrigin() const =0
Return the absolute coordinates of the origin of the snap grid.
virtual void ReCreateAuxiliaryToolbar()
void SetShowPolarCoords(bool aShow)
void FocusOnLocation(const VECTOR2I &aPos)
Useful to focus on a particular location, in find functions.
virtual void SetScreen(BASE_SCREEN *aScreen)
virtual void ReCreateHToolbar()
bool saveCanvasTypeSetting(EDA_DRAW_PANEL_GAL::GAL_TYPE aCanvasType)
Store the canvas type in the application settings.
virtual void Zoom_Automatique(bool aWarpPointer)
Redraw the screen with best zoom level and the best centering that shows all the page or the board.
COLOR4D m_drawBgColor
NET_INSPECTOR_PANEL * m_netInspectorPanel
bool LibraryFileBrowser(const wxString &aTitle, bool doOpen, wxFileName &aFilename, const wxString &wildcard, const wxString &ext, bool isDirectory, FILEDLG_HOOK_NEW_LIBRARY *aFileDlgHook=nullptr)
virtual void SetGridVisibility(bool aVisible)
virtual void handleActivateEvent(wxActivateEvent &aEvent)
Handle a window activation event.
virtual void AddApiPluginTools(ACTION_TOOLBAR *aToolbar)
Append actions from API plugins to the given toolbar.
virtual void FocusOnItem(EDA_ITEM *aItem)
Focus on a particular canvas item.
virtual void OnApiPluginInvoke(wxCommandEvent &aEvent)
Handler for activating an API plugin (via toolbar or menu).
virtual void SetDrawBgColor(const COLOR4D &aColor)
virtual void UpdateMsgPanel()
Redraw the message panel.
virtual COLOR_SETTINGS * GetColorSettings(bool aForceRefresh=false) const
Returns a pointer to the active color theme settings.
void ToggleUserUnits() override
virtual void ReCreateLeftToolbar()
static const wxString NetInspectorPanelName()
virtual void CreateHotkeyPopup()
void UpdateStatusBar() override
Update the status bar information.
void GetUnitPair(EDA_UNITS &aPrimaryUnit, EDA_UNITS &aSecondaryUnits) override
Get the pair or units in current use.
wxArrayString & GetFindHistoryList()
void ShowChangedLanguage() override
Redraw the menus and what not in current language.
void updateStatusBarWidths()
void PrintDrawingSheet(const RENDER_SETTINGS *aSettings, BASE_SCREEN *aScreen, const std::map< wxString, wxString > *aProperties, double aMils2Iu, const wxString &aFilename, const wxString &aSheetLayer=wxEmptyString)
Print the drawing-sheet (frame and title block).
virtual EDA_DRAW_PANEL_GAL * GetCanvas() const
Return a pointer to GAL-based canvas of given EDA draw frame.
virtual void OnPageSettingsChange()
Called when modifying the page settings.
virtual void ClearFocus()
wxSocketServer * m_socketServer
Prevents opening same file multiple times.
SEARCH_PANE * m_searchPane
EDA_SEARCH_DATA & GetFindReplaceData()
virtual COLOR4D GetDrawBgColor() const
void unitsChangeRefresh() override
Called when when the units setting has changed to allow for any derived classes to handle refreshing ...
void OnMove(wxMoveEvent &aEvent) override
bool IsGridVisible() const
std::vector< wxWindow * > findDialogs()
virtual void DisplayGridMsg()
Display current grid size in the status bar.
EDA_DRAW_PANEL_GAL::GAL_TYPE loadCanvasTypeSetting()
Return the canvas type stored in the application settings.
virtual void SetGridColor(const COLOR4D &aColor)
wxArrayString m_findStringHistoryList
virtual LIB_ID GetTargetLibId() const
wxChoice * m_zoomSelectBox
PROPERTIES_PANEL * GetPropertiesPanel()
static const wxString DesignBlocksPaneName()
wxWindow * GetToolCanvas() const override
Canvas access.
virtual std::unique_ptr< GRID_HELPER > MakeGridHelper()
virtual PLUGIN_ACTION_SCOPE PluginActionScope() const
std::unique_ptr< EDA_SEARCH_DATA > m_findReplaceData
void CommonSettingsChanged(int aFlags) override
Notification event that some of the common (suite-wide) settings have changed.
void DisplayConstraintsMsg(const wxString &msg)
void AppendMsgPanel(const wxString &aTextUpper, const wxString &aTextLower, int aPadding=6)
Append a message to the message panel.
virtual void SetGridOverrides(bool aOverride)
PROPERTIES_PANEL * m_propertiesPanel
bool m_showBorderAndTitleBlock
VECTOR2I GetNearestHalfGridPosition(const VECTOR2I &aPosition) const
Return the nearest aGridSize / 2 location to aPosition.
HOTKEY_CYCLE_POPUP * m_hotkeyPopup
void OnUpdateSelectGrid(wxUpdateUIEvent &aEvent)
Update the checked item in the grid wxchoice.
virtual void ToggleProperties()
bool GetShowPolarCoords() const
For those frames that support polar coordinates.
static bool IsPluginActionButtonVisible(const PLUGIN_ACTION &aAction, APP_SETTINGS_BASE *aCfg)
virtual void Refresh(bool aEraseBackground=true, const wxRect *aRect=nullptr) override
A base class for most all the KiCad significant classes used in schematics and boards.
Definition: eda_item.h:98
A panel to display various information messages.
Definition: msgpanel.h:101
Similar to EDA_VIEW_SWITCHER, this dialog is a popup that shows feedback when using a hotkey to cycle...
A color representation with 4 components: red, green, blue, alpha.
Definition: color4d.h:104
Container for all the knowledge about how graphical objects are drawn on any output surface/device.
Definition: kiid.h:49
A wxFrame capable of the OpenProjectFiles function, meaning it can load a portion of a KiCad project.
Definition: kiway_player.h:65
A minimalistic software bus for communications between various DLLs/DSOs (DSOs) within the same KiCad...
Definition: kiway.h:286
A logical library item identifier and consists of various portions much like a URI.
Definition: lib_id.h:49
Widget displaying a tree of symbols with optional search text control and description panel.
Definition: lib_tree.h:49
A base class used to implement docking net inspector panels.
Describe the page size and margins of a paper page on which to eventually print or plot.
Definition: page_info.h:59
Hold the information shown in the lower right corner of a plot, printout, or editing view.
Definition: title_block.h:41
Manage a CONDITIONAL_MENU and some number of CONTEXT_MENUs as sub-menus.
Definition: tool_menu.h:43
Base window classes and related definitions.
EDA_UNITS
Definition: eda_units.h:48
FRAME_T
The set of EDA_BASE_FRAME derivatives, typically stored in EDA_BASE_FRAME::m_Ident.
Definition: frame_type.h:33
The Cairo implementation of the graphics abstraction layer.
Definition: eda_group.h:33
An action performed by a plugin via the IPC API (not to be confused with ACTION_PLUGIN,...
Definition: api_plugin.h:82