Fix build issue.
This commit is contained in:
parent
ee81d1d880
commit
a5436c92d1
|
@ -1513,12 +1513,12 @@ static struct DIMENSION_DESC
|
|||
&PCB_DIMENSION_BASE::GetKeepTextAligned ),
|
||||
groupText );
|
||||
|
||||
// propMgr.AddProperty( new PROPERTY<PCB_DIMENSION_BASE, double>( _HKI( "Orientation" ),
|
||||
// &PCB_DIMENSION_BASE::SetTextAngleDegreesProp,
|
||||
// &PCB_DIMENSION_BASE::GetTextAngleDegrees,
|
||||
// PROPERTY_DISPLAY::PT_DEGREE ),
|
||||
// groupText )
|
||||
// .SetWriteableFunc( isTextOrientationWriteable );
|
||||
propMgr.AddProperty( new PROPERTY<PCB_DIMENSION_BASE, double>( _HKI( "Orientation" ),
|
||||
&PCB_DIMENSION_BASE::SetTextAngleDegreesProp,
|
||||
&PCB_DIMENSION_BASE::GetTextAngleDegreesProp,
|
||||
PROPERTY_DISPLAY::PT_DEGREE ),
|
||||
groupText )
|
||||
.SetWriteableFunc( isTextOrientationWriteable );
|
||||
}
|
||||
} _DIMENSION_DESC;
|
||||
|
||||
|
|
|
@ -225,6 +225,7 @@ public:
|
|||
bool GetKeepTextAligned() const { return m_keepTextAligned; }
|
||||
void SetKeepTextAligned( bool aKeepAligned ) { m_keepTextAligned = aKeepAligned; }
|
||||
|
||||
double GetTextAngleDegreesProp() const { return GetTextAngleDegrees(); }
|
||||
void SetTextAngleDegreesProp( double aDegrees );
|
||||
void SetKeepTextAlignedProp( bool aKeepAligned );
|
||||
|
||||
|
|
Loading…
Reference in New Issue