aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 1e6227a75d8c331b70371ad4ebf846716e4e13b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
cdraw editor
============

cdraw is a minimal pixel art sprite editor.

Features
--------

At the moment cdraw has the following features:

- pen/eraser/fill tool
- zooming in/out
- color picker
- custom palettes (although it will use only *def_palette_path*)
- binary format for projects
- importing/exporting
- undo/redo actions

And these features are waiting to be implemented:

- custom tool cursor
- layers + frames

Controls
--------

All the keybindings can be changed in *config.h*.

- **=/-** for zooming in/out
- **arrows** for moving the canvas
- **SHIFT+N** new file
- **SHIFT+S** save file (using system picker - terminal input by default)
- **SHIFT+O** open file (using system picker - terminal input by default)
- **SHIFT+I** export image (using system picker - terminal input by default)
- **SHIFT+E** import image (using system picker - terminal input by default)
- **U/R** undo/redo an action
- **J** add new layer above the exiting one
- **B** select pencil
- **E** select eraser
- **F** select fill tool
- **I** select color picker tool
- **[/]** scroll through palette


Compiling
---------

SDL2 and SDL2_image dev files are needed for compiling.

```sh
make
```