get it to compile after rebase

This commit is contained in:
Tomasz Wlostowski 2020-06-23 00:17:21 +02:00
parent 1cabc1bc0f
commit 8ffa86a63f
3 changed files with 34 additions and 15 deletions

View File

@ -1,17 +1,29 @@
annulus_width
board_edge
buried_via
clearance
condition
constraint
disallow
footprint
graphic
hole
match_area
match_layer
match_netclass
match_type
max
micro_via
min
npth
opt
allow
pad
pth
rule
selector
text
track
track_width
version
name
priority
expression
enable
severity
type
error
warning
info
ignore
via
zone

View File

@ -150,10 +150,11 @@ public:
// m_Start, m_End, and m_Angle.
// No Set...() function for these attributes.
const wxPoint GetCenter() const override;
const wxPoint& GetArcStart() const { return m_End; }
const wxPoint GetArcEnd() const;
const wxPoint GetArcMid() const;
wxPoint GetCenter() const override;
wxPoint GetArcStart() const { return m_End; }
wxPoint GetArcEnd() const;
wxPoint GetArcMid() const;
void GetRectCorners( std::vector<wxPoint>* pts ) const;
/**
* function GetArcAngleStart()
@ -185,6 +186,11 @@ public:
*/
void SetCenter( const wxPoint& aCenterPoint ) { m_Start = aCenterPoint; }
const wxPoint GetFocusPosition() const override
{
return GetCenter();
}
/**
* Function GetParentModule
* returns a pointer to the parent module, or NULL if DRAWSEGMENT does not

View File

@ -29,6 +29,7 @@
#include <class_marker_pcb.h>
#include <pcb_base_frame.h>
#include <drc/drc.h>
#include <drc/drc_item.h>
#include <widgets/ui_common.h>
#include <functional>