Code formatting
This commit is contained in:
parent
c758f434c0
commit
3c61b16e7b
|
@ -1341,7 +1341,7 @@ bool VIEW::IsVisible( const VIEW_ITEM* aItem ) const
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void VIEW::Update( VIEW_ITEM *aItem )
|
void VIEW::Update( VIEW_ITEM* aItem )
|
||||||
{
|
{
|
||||||
Update( aItem, ALL );
|
Update( aItem, ALL );
|
||||||
}
|
}
|
||||||
|
|
|
@ -128,14 +128,14 @@ public:
|
||||||
bool IsVisible( const VIEW_ITEM* aItem ) const;
|
bool IsVisible( const VIEW_ITEM* aItem ) const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Function ViewUpdate()
|
* Function Update()
|
||||||
* For dynamic VIEWs, informs the associated VIEW that the graphical representation of
|
* For dynamic VIEWs, informs the associated VIEW that the graphical representation of
|
||||||
* this item has changed. For static views calling has no effect.
|
* this item has changed. For static views calling has no effect.
|
||||||
*
|
*
|
||||||
* @param aUpdateFlags: how much the object has changed.
|
* @param aUpdateFlags: how much the object has changed.
|
||||||
*/
|
*/
|
||||||
void Update( VIEW_ITEM* aItem );
|
void Update( VIEW_ITEM* aItem );
|
||||||
void Update( VIEW_ITEM* aItem, int aUpdateFlags );
|
void Update( VIEW_ITEM* aItem, int aUpdateFlags );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Function SetRequired()
|
* Function SetRequired()
|
||||||
|
|
|
@ -249,10 +249,10 @@ void BOARD_COMMIT::Push( const wxString& aMessage )
|
||||||
undoList.PushItem( itemWrapper );
|
undoList.PushItem( itemWrapper );
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( boardItem->Type() == PCB_MODULE_T )
|
if( boardItem->Type() == PCB_MODULE_T )
|
||||||
{
|
{
|
||||||
MODULE* module = static_cast<MODULE*>( boardItem );
|
MODULE* module = static_cast<MODULE*>( boardItem );
|
||||||
module->RunOnChildren( [&view] ( BOARD_ITEM *aItem ){ view->Update( aItem ); } );
|
module->RunOnChildren( [&view] ( BOARD_ITEM* aItem ) { view->Update( aItem ); } );
|
||||||
}
|
}
|
||||||
|
|
||||||
view->Update ( boardItem );
|
view->Update ( boardItem );
|
||||||
|
|
|
@ -42,12 +42,10 @@ public:
|
||||||
int ClearMeanders( const TOOL_EVENT& aEvent );
|
int ClearMeanders( const TOOL_EVENT& aEvent );
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void performTuning( );
|
void performTuning();
|
||||||
int mainLoop( PNS::ROUTER_MODE aMode );
|
int mainLoop( PNS::ROUTER_MODE aMode );
|
||||||
void handleCommonEvents( const TOOL_EVENT& aEvent );
|
void handleCommonEvents( const TOOL_EVENT& aEvent );
|
||||||
void updateStatusPopup ( PNS_TUNE_STATUS_POPUP& aPopup );
|
void updateStatusPopup( PNS_TUNE_STATUS_POPUP& aPopup );
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
PNS::MEANDER_SETTINGS m_savedMeanderSettings;
|
PNS::MEANDER_SETTINGS m_savedMeanderSettings;
|
||||||
};
|
};
|
||||||
|
|
|
@ -34,9 +34,9 @@ public:
|
||||||
bool Init() override;
|
bool Init() override;
|
||||||
void Reset( RESET_REASON aReason ) override;
|
void Reset( RESET_REASON aReason ) override;
|
||||||
|
|
||||||
int RouteSingleTrace ( const TOOL_EVENT& aEvent );
|
int RouteSingleTrace( const TOOL_EVENT& aEvent );
|
||||||
int RouteDiffPair ( const TOOL_EVENT& aEvent );
|
int RouteDiffPair( const TOOL_EVENT& aEvent );
|
||||||
int InlineDrag ( const TOOL_EVENT& aEvent );
|
int InlineDrag( const TOOL_EVENT& aEvent );
|
||||||
|
|
||||||
int DpDimensionsDialog ( const TOOL_EVENT& aEvent );
|
int DpDimensionsDialog ( const TOOL_EVENT& aEvent );
|
||||||
int SettingsDialog ( const TOOL_EVENT& aEvent );
|
int SettingsDialog ( const TOOL_EVENT& aEvent );
|
||||||
|
|
Loading…
Reference in New Issue