Removed remaining m_editModules flags.

This commit is contained in:
Maciej Suminski 2016-06-15 10:06:54 +02:00
parent b8350f037b
commit b815ea7865
3 changed files with 1 additions and 19 deletions

View File

@ -121,17 +121,6 @@ public:
*/
int SetAnchor( const TOOL_EVENT& aEvent );
/**
* Function EditModules()
* Toggles edit module mode. When enabled, one may select parts of modules individually
* (graphics, pads, etc.), so they can be modified.
* @param aEnabled decides if the mode should be enabled.
*/
void EditModules( bool aEnabled )
{
m_editModules = aEnabled;
}
///> Sets up handlers for various events.
void SetTransitions();
@ -173,9 +162,6 @@ private:
BOARD* m_board;
PCB_BASE_EDIT_FRAME* m_frame;
/// Edit module mode flag
bool m_editModules;
/// Stores the current line width for multisegment drawing.
unsigned int m_lineWidth;

View File

@ -58,8 +58,7 @@ using namespace std::placeholders;
EDIT_TOOL::EDIT_TOOL() :
PCB_TOOL( "pcbnew.InteractiveEdit" ), m_selectionTool( NULL ),
m_dragging( false ), m_editModules( false ), m_undoInhibit( 0 ),
m_updateFlag( KIGFX::VIEW_ITEM::NONE )
m_dragging( false ), m_undoInhibit( 0 ), m_updateFlag( KIGFX::VIEW_ITEM::NONE )
{
}

View File

@ -132,9 +132,6 @@ private:
///> of edit reference point).
VECTOR2I m_cursor;
/// Edit module mode flag
bool m_editModules;
/// Counter of undo inhibitions. When zero, undo is not inhibited.
int m_undoInhibit;