This repository has been archived on 2024-01-28. You can view files and clone it, but cannot push or open issues/pull-requests.
ecg-prog-filtered/u02/src/star_tool.cpp

13 lines
362 B
C++

// SPDX-License-Identifier: LGPL-3.0-or-later
#include "star_tool.h"
#include <cmath>
#include <util.h>
star_tool::star_tool(canvas_buffer &canvas) : tool_base(canvas) {
shape = TS_CIRCLE; // TODO: Use star for preview
}
void star_tool::draw(int x0, int y0, int x1, int y1) {}
void star_tool::set_text(std::stringstream &stream) { stream << "Tool: Star"; }