made GetCurItem() inline
This commit is contained in:
parent
5c3b480afe
commit
1d9516c0a7
|
@ -555,12 +555,6 @@ EDA_BaseStruct* BASE_SCREEN::GetItemFromRedoList( void )
|
|||
}
|
||||
|
||||
|
||||
|
||||
EDA_BaseStruct* BASE_SCREEN::GetCurItem()
|
||||
{
|
||||
return m_CurrentItem;
|
||||
}
|
||||
|
||||
void BASE_SCREEN::SetCurItem( EDA_BaseStruct* aCurItem )
|
||||
{
|
||||
m_CurrentItem = aCurItem;
|
||||
|
|
|
@ -260,13 +260,12 @@ public:
|
|||
/**
|
||||
* Function SetCurItem
|
||||
* sets the currently selected object, m_CurrentItem.
|
||||
* This intentionally not inlined so we can set breakpoints on the
|
||||
* This is intentionally not inlined so we can set breakpoints on the
|
||||
* activity easier in base_screen.cpp.
|
||||
* @param current Any object derived from EDA_BaseStruct
|
||||
*/
|
||||
void SetCurItem( EDA_BaseStruct* current );
|
||||
EDA_BaseStruct* GetCurItem();
|
||||
|
||||
EDA_BaseStruct* GetCurItem() const { return m_CurrentItem; }
|
||||
|
||||
/* fonctions relatives au zoom */
|
||||
int GetZoom( void ); /* retourne le coeff de zoom */
|
||||
|
|
Loading…
Reference in New Issue