Commit Graph

6 Commits

Author SHA1 Message Date
cobrapitz
257f44dfc6 fixed some null colors in tools, added icon 2020-11-11 02:56:51 +01:00
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
d1e58f7c55 fix load image, fixed layer sort, added lock layer, added show current pixel color 2020-10-31 17:47:56 +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
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