#include <stdint.h>
#include <stddef.h>
#include <stdbool.h>
Go to the source code of this file.
|
| enum | PaintTool {
TOOL_PENCIL = 0
, TOOL_BRUSH
, TOOL_ERASER
, TOOL_FLOOD_FILL
,
TOOL_LINE
, TOOL_RECTANGLE
, TOOL_FILLED_RECTANGLE
, TOOL_CIRCLE
,
TOOL_FILLED_CIRCLE
, TOOL_EYEDROPPER
, TOOL_COUNT
} |
| |
◆ CANVAS_H
◆ CANVAS_W
◆ CANVAS_X
◆ CANVAS_Y
◆ COLOR_PALETTE_SIZE
| #define COLOR_PALETTE_SIZE 24 |
◆ MAX_UNDO_LEVELS
| #define MAX_UNDO_LEVELS 8 |
◆ PAINT_WIN_HEIGHT
| #define PAINT_WIN_HEIGHT 540 |
◆ PAINT_WIN_WIDTH
| #define PAINT_WIN_WIDTH 780 |
◆ PaintTool
| Enumerator |
|---|
| TOOL_PENCIL | |
| TOOL_BRUSH | |
| TOOL_ERASER | |
| TOOL_FLOOD_FILL | |
| TOOL_LINE | |
| TOOL_RECTANGLE | |
| TOOL_FILLED_RECTANGLE | |
| TOOL_CIRCLE | |
| TOOL_FILLED_CIRCLE | |
| TOOL_EYEDROPPER | |
| TOOL_COUNT | |