2025-07-06 20:43:53 +03:00
|
|
|
#pragma once
|
|
|
|
|
#include <include/core/SkCanvas.h>
|
|
|
|
|
#include "../DrawData.hpp"
|
|
|
|
|
#include <Helpers/SCollision.hpp>
|
|
|
|
|
|
|
|
|
|
class DrawingProgram;
|
|
|
|
|
|
|
|
|
|
class InkDropperTool {
|
|
|
|
|
public:
|
|
|
|
|
InkDropperTool(DrawingProgram& initDrawP);
|
|
|
|
|
void gui_toolbox();
|
|
|
|
|
void tool_update();
|
|
|
|
|
void draw(SkCanvas* canvas, const DrawData& drawData);
|
2025-07-27 16:53:22 +03:00
|
|
|
bool prevent_undo_or_redo();
|
2025-07-06 20:43:53 +03:00
|
|
|
private:
|
|
|
|
|
|
|
|
|
|
DrawingProgram& drawP;
|
|
|
|
|
};
|