Commit Graph

12 Commits

Author SHA1 Message Date
Benjamin Popp
f08fba9134 Implement selection
pixels under current selection are remembered
2020-09-15 13:19:42 -05:00
Benjamin Popp
aadec6eb6a start working on selection 2020-09-14 19:39:47 -05:00
Benjamin Popp
396c2c8ca8 Start looking at hover rect during draw 2020-09-14 11:54:20 -05:00
Benjamin Popp
19cd7420c9 Draw improvements 2020-09-14 08:13:17 -05:00
Benjamin Popp
1726f98c9c Make tool work if content repoints
Also, notify the UI after drawing pixels
2020-09-13 22:20:07 -05:00
Benjamin Popp
893b99060b Add views for the Image Editor Tools and Palette
Change "ImageEditor.Tools" to "ImageEditorTools" so I can use them in Xaml
Add debug writelines for draw/pan/zoom interactions, to help with debugging.
Fix bug in Bind. It didn't have the required if statement!
Add Command for changing tools, useful for the View
2020-09-13 21:49:20 -05:00
Benjamin Popp
72bff89415 Allow image editor tab to close 2020-09-12 13:13:55 -05:00
Benjamin Popp
20891bbb50 Add basic UI
Can pan/zoom. No editing controls yet.
2020-09-11 22:36:18 -05:00
Benjamin Popp
ee196ec10b Basic functionality tests
Nothing fancy yet, just some basic logic to get us started.
2020-09-11 21:12:35 -05:00
Benjamin Popp
de6a896c7b ImageEditorTest: Palette_ChangeColor_PixelsUpdate 2020-09-11 07:33:12 -05:00
Benjamin Popp
38d7680081 Introduce testing for Image Editor tab
We don't have a UI for the image editor tab yet. But we can now test the interactions. We've written the first test, and it's now possible to draw a single pixel.

... we'll need a lot more tests for this.
2020-09-10 22:26:18 -05:00
Benjamin Popp
b9eaf34016 Add outline for new ImageEditor tab 2020-09-02 22:14:16 -05:00