mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
18 lines
452 B
C++
18 lines
452 B
C++
#include <tool/group_tool.h>
|
|
#include <board_commit.h>
|
|
|
|
class PCB_GROUP_TOOL : public GROUP_TOOL
|
|
{
|
|
public:
|
|
/**
|
|
* Invoke the picker tool to select a new member of the group.
|
|
*/
|
|
int PickNewMember( const TOOL_EVENT& aEvent ) override;
|
|
|
|
///< Group selected items.
|
|
int Group( const TOOL_EVENT& aEvent ) override;
|
|
|
|
protected:
|
|
std::unique_ptr<COMMIT> createCommit() override { return std::make_unique<BOARD_COMMIT>( this ); }
|
|
};
|