Commit 424aa28e authored by Maciej Suminski's avatar Maciej Suminski

Added SELECTION_TOOL::GetSelection()

parent 89849cdf
...@@ -55,6 +55,10 @@ public: ...@@ -55,6 +55,10 @@ public:
void Reset(); void Reset();
int Main( TOOL_EVENT& aEvent ); int Main( TOOL_EVENT& aEvent );
const std::set<BOARD_ITEM*>& GetSelection() const
{
return m_selectedItems;
}
private: private:
void selectSingle( const VECTOR2I& aWhere ); void selectSingle( const VECTOR2I& aWhere );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment