mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Fix compil warnings
This commit is contained in:
parent
c799966774
commit
e8d89b1327
@ -878,8 +878,13 @@ public:
|
||||
TEXT_AND_ICON_LAYOUT( KIGFX::GAL& aGal, const TEXT_ATTRIBUTES& aAttrs,
|
||||
const KIFONT::METRICS& aFontMetrics, const double aShadowWidth,
|
||||
const double aIconSize = 0 ) :
|
||||
m_gal( aGal ), m_attrs( aAttrs ), m_fontMetrics( aFontMetrics ),
|
||||
m_iconSize( aIconSize ), m_iconGap( aIconSize / 4.0 ), m_shadowWidth( aShadowWidth )
|
||||
m_gal( aGal ),
|
||||
m_attrs( aAttrs ),
|
||||
m_fontMetrics( aFontMetrics ),
|
||||
m_iconSize( aIconSize ),
|
||||
m_iconGap( aIconSize / 4.0 ),
|
||||
m_shadowWidth( aShadowWidth ),
|
||||
m_shadowOffset( 0.0 )
|
||||
{
|
||||
// Due to the fact a shadow text in position INSIDE or OUTSIDE is drawn left or right aligned,
|
||||
// it needs an offset = shadowWidth/2 to be drawn at the same place as normal text
|
||||
|
@ -3502,8 +3502,6 @@ int DRAWING_TOOL::DrawVia( const TOOL_EVENT& aEvent )
|
||||
|
||||
bool hasDRCViolation( PCB_VIA* aVia, BOARD_ITEM* aOther )
|
||||
{
|
||||
PCB_LAYER_ID activeLayer = m_frame->GetActiveLayer();
|
||||
|
||||
DRC_CONSTRAINT constraint;
|
||||
int clearance;
|
||||
BOARD_CONNECTED_ITEM* connectedItem = dynamic_cast<BOARD_CONNECTED_ITEM*>( aOther );
|
||||
|
Loading…
x
Reference in New Issue
Block a user