Bryan Miller
|
263808a08b
|
Grids now available in a number of different formats. Grid rendering has been moved to the ui/Renderer
|
pirms 5 gadiem |
Bryan Miller
|
54108ae3b8
|
Started some tweaking of CTRLPainter's render system... see if I can speed it up a little?
|
pirms 5 gadiem |
Bryan Miller
|
085e732488
|
CTRLPainter now listens for keyboard shortcuts 'ctrl+z' and 'ctrl+y' to undo and redo (respectively) any drawing on active surfaces.
|
pirms 5 gadiem |
Bryan Miller
|
3d446981c8
|
CTRLPainter can now accept null for surfaces and will render a cleared screen if surface is null.
|
pirms 5 gadiem |
Bryan Miller
|
c282d88cee
|
Updated CTRLPainter and CTRLBanksStore to use the new Renderer system to draw surfaces to the canvas.
|
pirms 5 gadiem |
Bryan Miller
|
2e9302f101
|
Input updated to allow a specific element to watch for mouse events in a more direct way than previously. CTRLPainter updated for the change to Input.
|
pirms 5 gadiem |
Bryan Miller
|
46ed0fddd4
|
CTRLPainter now handles scaling from the UI interface. Also added ability (and UI button) to fit-to-canvas
|
pirms 5 gadiem |
Bryan Miller
|
44a568a401
|
CTRLPainter will now update image when current palette color is changed.
|
pirms 5 gadiem |
Bryan Miller
|
1249dd44a3
|
Fixed issue of mouse move event not checking if a surface is set first.
|
pirms 5 gadiem |
Bryan Miller
|
16df3f71d1
|
NESTile and ISurface are now event emitters. NESTile and by extension NESBank will emit 'data_changed' when there's a change to the data. CTRLPainter updated to utilize the new events.
|
pirms 5 gadiem |
Bryan Miller
|
d100e56f28
|
Grid and Color palette toggle interfaces now working. Bug when drawing in a tile with a different palette.
|
pirms 5 gadiem |
Bryan Miller
|
e5916272ae
|
Rewrote CTRLPainter LineToSurface() function. Lines should be MUCH better now.
|
pirms 5 gadiem |
Bryan Miller
|
9513a05ada
|
CTRLPainter now... paints! May be some issues with lines.
|
pirms 5 gadiem |
Bryan Miller
|
329ff03e61
|
Fixed CTRLPainter scaling artifacts. Now renders grid.
|
pirms 5 gadiem |
Bryan Miller
|
7999fa96f8
|
Much faster rendering. Scaling artifacts exist.
|
pirms 5 gadiem |
Bryan Miller
|
f5b3d77a03
|
CTRLPainter now has VERY rough scaling using mouse wheel
|
pirms 5 gadiem |
Bryan Miller
|
aceb73ceb5
|
CTRLPainter now watches for offset with the combination shift+mouseleft+mousemove
|
pirms 5 gadiem |
Bryan Miller
|
9f77e89b3b
|
Some minor refactoring of CTRLPainter
|
pirms 5 gadiem |
Bryan Miller
|
b16632ef1d
|
CTRLPainter automatically resizes the context when initialized. Render tweaks.
|
pirms 5 gadiem |
Bryan Miller
|
a6c7aad9de
|
Very rough ISurface object rendering now functional.
|
pirms 5 gadiem |
Bryan Miller
|
fe3e65f054
|
CTRLPainter listens for color changes and surface changes. Still mostly doesn't do anything yet.
|
pirms 5 gadiem |
Bryan Miller
|
b65ea61e31
|
CTRLPainter now resizes internal surface to match as close as possible the DOM canvas element size.
|
pirms 6 gadiem |
Bryan Miller
|
6b15932ff0
|
Reorganized files. Adjusted imports to match new locations.
|
pirms 6 gadiem |
Bryan Miller
|
7fe55cd661
|
CTRLPainter watching window resize. Using Debounce.
|
pirms 6 gadiem |
Bryan Miller
|
055d98a185
|
Connected CTRLPainter to main.
|
pirms 6 gadiem |
Bryan Miller
|
fdd555bf8c
|
Moved NESPainter to CTRLPainter. Just a rename at the moment.
|
pirms 6 gadiem |
Bryan Miller
|
2db6070556
|
Minor tweaks to NESPainter
|
pirms 6 gadiem |
Bryan Miller
|
5004631d48
|
Added NESPainter, which will handle the visible canvas drawing. Incorperated changes into main.js
|
pirms 6 gadiem |