Commit Graph

9 Commits

Author SHA1 Message Date
cobrapitz
93610d2f9c - fixed some null error relating to non existing pixels
- added layer highlighting (locked, selected, unselected)
- brush preview enhancements
- removed prints
- fixed color picker tool not picking and adding color
- fixed tool layer not clearing pixels if out of canvas
- added clear active canvas button
- disabled not implemented menu buttons
- workaround for png saving, when files exists
2020-11-08 19:53:33 +01:00
cobrapitz
a46eb96ca7 added pastecut tool 2020-11-03 19:24:15 +01:00
cobrapitz
52b5363c9a update 2020-11-03 19:23:53 +01:00
cobrapitz
fd5907a8b4 fixed layer redo/undo, added redo, fixed duplicate layer 2020-11-02 03:59:25 +01:00
cobrapitz
e51ae47bcf added resize, toggle grid, fix mouse interacting with canvas outside of window, improved performance, only render when changed, using TextureRects' set_pixel instead of drawing rects, canvas size can be changed, load file added ( loadfile and save file might be broken due to change of layer rendering/data structure change) 2020-10-30 12:32:04 +01:00
cobrapitz
af82266561 reimplemented tools, implmemented undo, reimplemented layers 2020-10-27 20:18:11 +01:00
cobrapitz
f1787477fc got action do/undo working, added brush' 2020-10-26 20:31:41 +01:00
cobrapitz
cfd5d9e6ba reimplementd how pixels are drawn, not suing texture but hte draw_rect method which shouldn't take that much performance, also acxcessing the pxiels per idx (1D) with x_pos + y_pos * canvas_width = idx 2020-10-26 17:01:31 +01:00
cobrapitz
6ca768ee8e changed editor to tab editor, ...... 2020-10-25 18:39:10 +01:00