2#include "base_painter.hpp"
3#include <geometry/rectangle.hpp>
13 explicit painter(
int width,
int height);
15 ~painter() {
delete[] grid; }
18 void set(
int x,
int y);
19 void ofset(
int x,
int y);
22 void set_paint_over(
bool value);
23 void draw_cell(
int x,
int y);
24 void draw_line(
int x1,
int y1,
int x2,
int y2);
26 color read_clear(
int x,
int y);
34 int horizontal_ofset{0};
35 int vertical_ofset{0};
37 void set_cell(
int x,
int y);
39 bool paint_over{
false};
Serves as the root of the widget tree. Also provides access to buttons componnents.
Definition base_controller.hpp:10
Generic colour class holding RGBA values of a primary and a secondary colour. The blinking and pulsin...
Definition color.hpp:12
Provides the geometric structure of widgets.
Definition rectangle.hpp:8