diff options
author | Krow Savcik <krow@savcik.xyz> | 2023-09-26 22:32:35 +0300 |
---|---|---|
committer | Krow Savcik <krow@savcik.xyz> | 2023-09-26 22:32:35 +0300 |
commit | 9e660e594f6d3a43ea1427fb872801a2fcedad93 (patch) | |
tree | 459cd0c6fc5fef0366f7ef249ae19dd67c363772 /src/tools.h |
initial commit
Diffstat (limited to 'src/tools.h')
-rw-r--r-- | src/tools.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/tools.h b/src/tools.h new file mode 100644 index 0000000..c18afe3 --- /dev/null +++ b/src/tools.h @@ -0,0 +1,16 @@ +enum Tool_Types { + TOOL_TYPE_PENCIL, + TOOL_TYPE_ERASER, + TOOL_TYPE_FILL, + TOOL_TYPE_ZOOMIN, + TOOL_TYPE_ZOOMOUT, + TOOL_TYPE_CLOWN, + TOOL_TYPE_CPICKER, + TOOL_TYPE_EMPTY, +}; + +extern unsigned char tool_array[]; +extern unsigned char tool_cur; + +void tool_change(unsigned char); +unsigned char tool_array_size(); |