Fix build issue.

This commit is contained in:
Jeff Young 2024-05-21 17:14:40 +01:00
parent ee81d1d880
commit a5436c92d1
2 changed files with 7 additions and 6 deletions

View File

@ -1513,12 +1513,12 @@ static struct DIMENSION_DESC
&PCB_DIMENSION_BASE::GetKeepTextAligned ), &PCB_DIMENSION_BASE::GetKeepTextAligned ),
groupText ); groupText );
// propMgr.AddProperty( new PROPERTY<PCB_DIMENSION_BASE, double>( _HKI( "Orientation" ), propMgr.AddProperty( new PROPERTY<PCB_DIMENSION_BASE, double>( _HKI( "Orientation" ),
// &PCB_DIMENSION_BASE::SetTextAngleDegreesProp, &PCB_DIMENSION_BASE::SetTextAngleDegreesProp,
// &PCB_DIMENSION_BASE::GetTextAngleDegrees, &PCB_DIMENSION_BASE::GetTextAngleDegreesProp,
// PROPERTY_DISPLAY::PT_DEGREE ), PROPERTY_DISPLAY::PT_DEGREE ),
// groupText ) groupText )
// .SetWriteableFunc( isTextOrientationWriteable ); .SetWriteableFunc( isTextOrientationWriteable );
} }
} _DIMENSION_DESC; } _DIMENSION_DESC;

View File

@ -225,6 +225,7 @@ public:
bool GetKeepTextAligned() const { return m_keepTextAligned; } bool GetKeepTextAligned() const { return m_keepTextAligned; }
void SetKeepTextAligned( bool aKeepAligned ) { m_keepTextAligned = aKeepAligned; } void SetKeepTextAligned( bool aKeepAligned ) { m_keepTextAligned = aKeepAligned; }
double GetTextAngleDegreesProp() const { return GetTextAngleDegrees(); }
void SetTextAngleDegreesProp( double aDegrees ); void SetTextAngleDegreesProp( double aDegrees );
void SetKeepTextAlignedProp( bool aKeepAligned ); void SetKeepTextAlignedProp( bool aKeepAligned );