Reverted changes introduced by the revision 4655.
This commit is contained in:
parent
fff616c8dc
commit
d124cf45f3
|
@ -100,7 +100,7 @@ public:
|
|||
* returns a bit-mask of all the element categories that are visible
|
||||
* @return int - the visible element categories in bit-mapped form.
|
||||
*/
|
||||
long GetVisibleElements() const
|
||||
int GetVisibleElements() const
|
||||
{
|
||||
return m_VisibleElements;
|
||||
}
|
||||
|
@ -110,7 +110,7 @@ public:
|
|||
* changes the bit-mask of visible element categories
|
||||
* @param aMask = The new bit-mask of visible element categories
|
||||
*/
|
||||
void SetVisibleElements( long aMask )
|
||||
void SetVisibleElements( int aMask )
|
||||
{
|
||||
m_VisibleElements = aMask;
|
||||
}
|
||||
|
@ -198,7 +198,7 @@ private:
|
|||
int m_CopperLayerCount; ///< Number of copper layers for this design
|
||||
LAYER_MSK m_EnabledLayers; ///< Bit-mask for layer enabling
|
||||
LAYER_MSK m_VisibleLayers; ///< Bit-mask for layer visibility
|
||||
long m_VisibleElements; ///< Bit-mask for element category visibility
|
||||
int m_VisibleElements; ///< Bit-mask for element category visibility
|
||||
int m_boardThickness; ///< Board thickness for 3D viewer
|
||||
};
|
||||
|
||||
|
|
|
@ -647,7 +647,7 @@ void PCB_IO::format( BOARD* aBoard, int aNestLevel ) const
|
|||
FMTIU( aBoard->GetGridOrigin().x ).c_str(),
|
||||
FMTIU( aBoard->GetGridOrigin().y ).c_str() );
|
||||
|
||||
m_out->Print( aNestLevel+1, "(visible_elements %lX)\n",
|
||||
m_out->Print( aNestLevel+1, "(visible_elements %X)\n",
|
||||
aBoard->GetDesignSettings().GetVisibleElements() );
|
||||
|
||||
aBoard->GetPlotOptions().Format( m_out, aNestLevel+1 );
|
||||
|
|
|
@ -870,7 +870,7 @@ void LEGACY_PLUGIN::loadSETUP()
|
|||
|
||||
else if( TESTLINE( "VisibleElements" ) )
|
||||
{
|
||||
long visibleElements = hexParse( line + SZ( "VisibleElements" ) );
|
||||
int visibleElements = hexParse( line + SZ( "VisibleElements" ) );
|
||||
bds.SetVisibleElements( visibleElements );
|
||||
}
|
||||
|
||||
|
@ -3071,7 +3071,7 @@ void LEGACY_PLUGIN::saveSETUP( const BOARD* aBoard ) const
|
|||
fprintf( m_fp, "GridOrigin %s\n", fmtBIUPoint( aBoard->GetGridOrigin() ).c_str() );
|
||||
fprintf( m_fp, "AuxiliaryAxisOrg %s\n", fmtBIUPoint( aBoard->GetAuxOrigin() ).c_str() );
|
||||
|
||||
fprintf( m_fp, "VisibleElements %lX\n", bds.GetVisibleElements() );
|
||||
fprintf( m_fp, "VisibleElements %X\n", bds.GetVisibleElements() );
|
||||
|
||||
{
|
||||
STRING_FORMATTER sf;
|
||||
|
|
Loading…
Reference in New Issue