Restructure how tool data is stored

This commit is contained in:
Yousef Khadadeh 2025-08-02 20:10:33 +03:00
parent d07eaf4207
commit 90374da228
37 changed files with 790 additions and 801 deletions

View file

@ -4,8 +4,11 @@
#include "../DrawData.hpp"
EraserTool::EraserTool(DrawingProgram& initDrawP):
drawP(initDrawP)
{
DrawingProgramToolBase(initDrawP)
{}
DrawingProgramToolType EraserTool::get_type() {
return DrawingProgramToolType::ERASER;
}
void EraserTool::gui_toolbox() {