aboutsummaryrefslogtreecommitdiff

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.

make