Bryan Miller
|
c09222ca01
|
Modal can now be opened with emit args of 'id' to open by element id or 'cls' to open by element class.
|
5 years ago |
Bryan Miller
|
cd37f0a08b
|
Cover and Modal elements have been given a much higher z-index to make sure they fall on top of all other elements.
|
5 years ago |
Bryan Miller
|
8922f21cf5
|
Loading of a project json file now works!
|
5 years ago |
Bryan Miller
|
b56ccb7bcc
|
Continue to attempt to integrate JSON schema validation for project loading process. Not yet working, but application will run.
|
5 years ago |
Bryan Miller
|
fbf13b536d
|
Started writing JSON Schema... not sure if doing right.
|
5 years ago |
Bryan Miller
|
ce88f94994
|
Server uses vendor.js to connect node_modules to the application in a consistent manner.
|
5 years ago |
Bryan Miller
|
8587a63df9
|
Server will now generate version for each request (showing a -X if the current commit is dirty)
|
5 years ago |
Bryan Miller
|
8c3803a08d
|
Added AJV as a project module.
|
5 years ago |
Bryan Miller
|
97c0a73619
|
Hidden File Input reset after loading a project.
|
5 years ago |
Bryan Miller
|
5e5343920c
|
Project can now be exported to a json file. Loading of project json file technically works, but doesn't actually put the loaded json into the data objects... effectively no loading ATM.
|
5 years ago |
Bryan Miller
|
efbeb123db
|
CTRLBanksStore, CTRLPalettesStore, and NESPalette now have an .obj property which returns a java object of the class's underlying data in a form that can be turned into a JSON. Each class's .json property has been modified to use the new .obj property.
|
5 years ago |
Bryan Miller
|
8ce067e1de
|
Added a dropdown menu to the nav bar for loading/saving projects (currently just cosmetic atm). Cleaned up the look of the main logo.
|
5 years ago |
Bryan Miller
|
de620447fa
|
When painting the logo, no longer forces a background color.
|
5 years ago |
Bryan Miller
|
9b1cab3472
|
Last commit needed this file too.
|
5 years ago |
Bryan Miller
|
2410728928
|
Moved any purecss overrides into their own file and connected them to code.scss
|
5 years ago |
Bryan Miller
|
6b2148508f
|
Small fix to anchor text for TABs
|
5 years ago |
Bryan Miller
|
d9ecac6506
|
Moved CTRLPalettesStore and CTRLBanksStore initialization from main to CTRLIO
|
5 years ago |
Bryan Miller
|
df3c2830bb
|
Added the cover element to the HTML and added code to remove it when the page is ready.
|
5 years ago |
Bryan Miller
|
3dd8a85dfd
|
Added elements and mixins for creating a 'cover' that hides the page until all elemets are ready.
|
5 years ago |
Bryan Miller
|
29757a9284
|
Added addEventListeners() and addListenerToEvents() methods. Moved isElement into a first class function then added back to the returned Utils object.
|
5 years ago |
Bryan Miller
|
d706e08883
|
Updated CTRLPalettesStore and CTRLBanksStore (and associative *ListItem.html files to use the new EditableText class.
|
5 years ago |
Bryan Miller
|
d206ec97e0
|
Added ui class EditableText to handle swapping between a <span> and a text <input> element for text that can be changed.
|
5 years ago |
Bryan Miller
|
4954ea9592
|
Added getRegion() and setRegion() to NESBank which will return color information within a defined region.
|
5 years ago |
Bryan Miller
|
181c1d09c8
|
Added the modal window for adding new Banks to the BankStore. NOTE: I'd like to update this method to something a little more universal.
|
5 years ago |
Bryan Miller
|
085e732488
|
CTRLPainter now listens for keyboard shortcuts 'ctrl+z' and 'ctrl+y' to undo and redo (respectively) any drawing on active surfaces.
|
5 years ago |
Bryan Miller
|
24146baf34
|
NESBank.snapshot() was not intended to remain debounced. Method .snapshot() will now clear redo history if any.
|
5 years ago |
Bryan Miller
|
1c0213ac24
|
Tweaks
|
5 years ago |
Bryan Miller
|
698cfa8bae
|
Fixed a bug in Input
|
5 years ago |
Bryan Miller
|
c4efdb74f0
|
ISurface and NESBank updated to handle undo/redo history. Fixed a base64 issue in NESBank.
|
5 years ago |
Bryan Miller
|
1d3024c167
|
Input updated to call the 'mouseup' event last, to remain consistant with all other events.
|
5 years ago |
Bryan Miller
|
3d446981c8
|
CTRLPainter can now accept null for surfaces and will render a cleared screen if surface is null.
|
5 years ago |
Bryan Miller
|
82069a3529
|
Renderer now has a clear() method for clearing the given context with the given color.
|
5 years ago |
Bryan Miller
|
c282d88cee
|
Updated CTRLPainter and CTRLBanksStore to use the new Renderer system to draw surfaces to the canvas.
|
5 years ago |
Bryan Miller
|
1939160fba
|
ui/Renderer created to render Surface objects to canvas.
|
5 years ago |
Bryan Miller
|
71cb5b3380
|
CTRLBanksStore properly renders thumbnail.
|
5 years ago |
Bryan Miller
|
9c6c78941e
|
Fixed issue with bank item list canvas not displaying.
|
5 years ago |
Bryan Miller
|
44c56a74ff
|
Added bankListItem and updated CTRLBanksStore to handle them. Issues with displaying canvas element in bankListItem. Currently renders to black.
|
5 years ago |
Bryan Miller
|
10172b3a19
|
Can now switch between the sprite and tile palettes
|
5 years ago |
Bryan Miller
|
b337184399
|
Palettes can now be added and removed.
|
5 years ago |
Bryan Miller
|
ad3a1a9ecd
|
Small bug fixes to Modal.
|
5 years ago |
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.
|
5 years ago |
Bryan Miller
|
d8b5c14856
|
Work being done to add new items to the asset lists (palette at the moment). Not fully working.
|
5 years ago |
Bryan Miller
|
3df24cc4de
|
Reverted last change to Input. Didn't work.
|
5 years ago |
Bryan Miller
|
305698599c
|
Input should no longer identify mouse as inbounds if target does not have focus.
|
5 years ago |
Bryan Miller
|
46ed0fddd4
|
CTRLPainter now handles scaling from the UI interface. Also added ability (and UI button) to fit-to-canvas
|
5 years ago |
Bryan Miller
|
73e6a359d5
|
Fixed interactions and cleaned code for CTRLBankTools
|
5 years ago |
Bryan Miller
|
32897e5750
|
Rough loading of CHR files into NESBank object via drag and drop into canvas.
|
5 years ago |
Bryan Miller
|
e0646ffc1f
|
Better Bank Tools :)
|
5 years ago |
Bryan Miller
|
2ebe99aa40
|
Lots of bug and general fixes.
|
5 years ago |
Bryan Miller
|
ba63481879
|
Added access_offset_length to NESBank for informational purposes (for UI use).
|
5 years ago |