Something went wrong. Try again.
art software for the rest of us
drawing paint image sdl art
Something went wrong. Try again.
123456789101112131415161718192021222324#include "Tool.h"
void Tool::SetActive(Tool* tool){ if (active) { active->OnDeactivate(); } active = tool; if (active) { active->OnActivate(); }}
bool Tool::OnDown(std::shared_ptr<PointerStream> stream){ inputQueue.push(stream); return true;}
LayerNode* Tool::target = nullptr;float Tool::Color[3] = { 1.0f, 1.0f, 1.0f };Tool* Tool::active = nullptr;HistoryManager* Tool::history = nullptr;