KiCad PCB EDA Suite
Loading...
Searching...
No Matches
pl_draw_panel_gal.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) 2017-2021 KiCad Developers, see AUTHORS.txt for contributors.
5
*
6
* This program is free software: you can redistribute it and/or modify it
7
* under the terms of the GNU General Public License as published by the
8
* Free Software Foundation, either version 3 of the License, or (at your
9
* option) any later version.
10
*
11
* This program is distributed in the hope that it will be useful, but
12
* WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
* General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public License along
17
* with this program. If not, see <http://www.gnu.org/licenses/>.
18
*/
19
20
#ifndef PL_DRAW_PANEL_GAL_H
21
#define PL_DRAW_PANEL_GAL_H
22
23
#include <
class_draw_panel_gal.h
>
24
25
class
DS_PROXY_VIEW_ITEM
;
26
class
DS_DRAW_ITEM_PAGE
;
27
28
29
class
PL_DRAW_PANEL_GAL
:
public
EDA_DRAW_PANEL_GAL
30
{
31
public
:
32
PL_DRAW_PANEL_GAL
( wxWindow* aParentWindow, wxWindowID aWindowId,
const
wxPoint& aPosition,
33
const
wxSize& aSize,
KIGFX::GAL_DISPLAY_OPTIONS
& aOptions,
34
GAL_TYPE
aGalType =
GAL_TYPE_OPENGL
);
35
36
virtual
~PL_DRAW_PANEL_GAL
();
37
39
void
GetMsgPanelInfo
(
EDA_DRAW_FRAME
* aFrame, std::vector<MSG_PANEL_ITEM>& aList )
override
;
40
44
void
DisplayDrawingSheet
();
45
47
bool
SwitchBackend
(
GAL_TYPE
aGalType )
override
;
48
50
virtual
void
SetTopLayer
(
int
aLayer )
override
;
51
52
protected
:
54
void
setDefaultLayerDeps
();
55
57
std::unique_ptr<DS_PROXY_VIEW_ITEM>
m_drawingSheet
;
58
59
std::unique_ptr<DS_DRAW_ITEM_PAGE>
m_pageDrawItem
;
60
};
61
62
63
#endif
/* PL_DRAW_PANEL_GAL_H */
DS_DRAW_ITEM_PAGE
A rectangle with thick segment showing the page limits and a marker showing the coordinate origin.
Definition:
ds_draw_item.h:266
DS_PROXY_VIEW_ITEM
Definition:
ds_proxy_view_item.h:48
EDA_DRAW_FRAME
The base class for create windows for drawing purpose.
Definition:
eda_draw_frame.h:84
EDA_DRAW_PANEL_GAL
Definition:
class_draw_panel_gal.h:61
EDA_DRAW_PANEL_GAL::GAL_TYPE
GAL_TYPE
Definition:
class_draw_panel_gal.h:63
EDA_DRAW_PANEL_GAL::GAL_TYPE_OPENGL
@ GAL_TYPE_OPENGL
OpenGL implementation.
Definition:
class_draw_panel_gal.h:66
KIGFX::GAL_DISPLAY_OPTIONS
Definition:
gal_display_options.h:86
PL_DRAW_PANEL_GAL
Definition:
pl_draw_panel_gal.h:30
PL_DRAW_PANEL_GAL::m_pageDrawItem
std::unique_ptr< DS_DRAW_ITEM_PAGE > m_pageDrawItem
Definition:
pl_draw_panel_gal.h:59
PL_DRAW_PANEL_GAL::~PL_DRAW_PANEL_GAL
virtual ~PL_DRAW_PANEL_GAL()
Definition:
pl_draw_panel_gal.cpp:75
PL_DRAW_PANEL_GAL::m_drawingSheet
std::unique_ptr< DS_PROXY_VIEW_ITEM > m_drawingSheet
Definition:
pl_draw_panel_gal.h:57
PL_DRAW_PANEL_GAL::GetMsgPanelInfo
void GetMsgPanelInfo(EDA_DRAW_FRAME *aFrame, std::vector< MSG_PANEL_ITEM > &aList) override
Definition:
pl_draw_panel_gal.cpp:80
PL_DRAW_PANEL_GAL::SetTopLayer
virtual void SetTopLayer(int aLayer) override
Move the selected layer to the top, so it is displayed above all others.
Definition:
pl_draw_panel_gal.cpp:160
PL_DRAW_PANEL_GAL::DisplayDrawingSheet
void DisplayDrawingSheet()
Build and update the list of WS_DRAW_ITEM_xxx showing the frame layout.
Definition:
pl_draw_panel_gal.cpp:86
PL_DRAW_PANEL_GAL::setDefaultLayerDeps
void setDefaultLayerDeps()
< Set rendering targets & dependencies for layers.
Definition:
pl_draw_panel_gal.cpp:145
PL_DRAW_PANEL_GAL::SwitchBackend
bool SwitchBackend(GAL_TYPE aGalType) override
Move the selected layer to the top, so it is displayed above all others.
Definition:
pl_draw_panel_gal.cpp:133
class_draw_panel_gal.h
src
pagelayout_editor
pl_draw_panel_gal.h
Generated on Thu Nov 21 2024 00:06:44 for KiCad PCB EDA Suite by
1.9.6