| 606 | } |
| 607 | |
| 608 | bool DrawingProgram::is_selection_allowing_tool(DrawingProgramToolType typeToCheck) { |
| 609 | return is_actual_selection_tool(typeToCheck) || typeToCheck == DrawingProgramToolType::PAN || typeToCheck == DrawingProgramToolType::ZOOM; |
| 610 | } |
| 611 | |
| 612 | void DrawingProgram::switch_to_tool_ptr(std::unique_ptr<DrawingProgramToolBase> newTool) { |
| 613 | drawTool->switch_tool(newTool->get_type()); |
no outgoing calls
no test coverage detected