Bryan Miller
|
c3e3161bf2
|
Readded GlobalEvents to CTRLPalettes HA!
|
6 years ago |
Bryan Miller
|
fdd555bf8c
|
Moved NESPainter to CTRLPainter. Just a rename at the moment.
|
6 years ago |
Bryan Miller
|
8430fcbd6f
|
Removed GlobalEvents import from CTRLPalettes. Wasn't needed.
|
6 years ago |
Bryan Miller
|
ebb2e53977
|
CTRLPalettes now sets and shows the individual drawing palettes.
|
6 years ago |
Bryan Miller
|
5c66e788f0
|
Fixed an emitted event name in NESPalette
|
6 years ago |
Bryan Miller
|
61e5c8ca84
|
Added some interface code for working with the drawing palettes. Still WIP.
|
6 years ago |
Bryan Miller
|
59d5722192
|
Fixed a small bug in NESPalette
|
6 years ago |
Bryan Miller
|
ee9875c712
|
Some more interface buildout
|
6 years ago |
Bryan Miller
|
41ebf58447
|
CTRLPalettes now color button text black or white for better contrast
|
6 years ago |
Bryan Miller
|
6b62d11723
|
Building out the Controller system for integrating the HTML with the NESPalette class.
|
6 years ago |
Bryan Miller
|
87429d3b5c
|
Adding some HTML/CSS for the NES System Palette.
|
6 years ago |
Bryan Miller
|
89ac4f642b
|
Playing around with some 'dark mode' colors.
|
6 years ago |
Bryan Miller
|
5284af0dd5
|
Put app title in top bar. Added a little random color effect to the 'Paint' title.
|
6 years ago |
Bryan Miller
|
72a47fab3c
|
Now using handler's 'this' instead of event.target... Bubbling works now.
|
6 years ago |
Bryan Miller
|
4bd8ea3e11
|
Trying to build out application interface and integrate listener interactions.
|
6 years ago |
Bryan Miller
|
57a782e971
|
Completely misunderstood built in Javascript event listeners. EventWindow Removed. EventCaller now exports an instance of itself by default, but classes can still etend from the EventCaller class itself.
|
6 years ago |
Bryan Miller
|
6f1599e29f
|
Modal functions.
|
6 years ago |
Bryan Miller
|
859ef65079
|
No longer 'freezing' the instance.
|
6 years ago |
Bryan Miller
|
4d0ebf35a2
|
Preping for Modal
|
6 years ago |
Bryan Miller
|
7eb56e2374
|
Added tests for EvenWindow's emit attribute ability.
|
6 years ago |
Bryan Miller
|
b43a4ef296
|
EventCaller can now test if a clicked DOM element has an 'emit' and 'emit-args' attribute and process an event emit accordingly.
|
6 years ago |
Bryan Miller
|
6919de7f05
|
Fixed bug that didn't test listener type.
|
6 years ago |
Bryan Miller
|
cc2464cb77
|
Tweaks to Modal methods. Modal will now listen for a 'modal-open' and 'modal-close' event.
|
6 years ago |
Bryan Miller
|
a1263f4b99
|
Initial work on a Modal popup UI.
|
6 years ago |
Bryan Miller
|
38bf95034b
|
EventWindow is no longer restricted to window object events only.
|
6 years ago |
Bryan Miller
|
d595874629
|
Added some test code for EventWindow
|
6 years ago |
Bryan Miller
|
0d889a8342
|
Made EventWindow into a singleton.
|
6 years ago |
Bryan Miller
|
27be7ec216
|
Added a EventWindow class
|
6 years ago |
Bryan Miller
|
162f6a2080
|
Added a read-only property EventCaller.watchedEvents which is an array of event names currently being listened for.
|
6 years ago |
Bryan Miller
|
45c682bac0
|
Fixed a stupid mistake in EventCaller.event_listerner_count()
|
6 years ago |
Bryan Miller
|
f93146fd09
|
Added EventCaller.event_listerner_count()
|
6 years ago |
Bryan Miller
|
a98b2752f9
|
Little bit of app buildout and css additions
|
6 years ago |
Bryan Miller
|
2db6070556
|
Minor tweaks to NESPainter
|
6 years ago |
Bryan Miller
|
21d32a8ca2
|
Added JSDoc comments to NESPalette
|
6 years ago |
Bryan Miller
|
37e56b1cce
|
Added JSDoc documention to the class.
|
6 years ago |
Bryan Miller
|
ed942510b0
|
Modified .gitignore so as NOT to include the /doc folder.
|
6 years ago |
Bryan Miller
|
2eb7cccd73
|
Better handling of the EventCaller.emit() method for argument passing.
|
6 years ago |
Bryan Miller
|
ae381dca08
|
Added test for the EventCalled as part of NESPalette
|
6 years ago |
Bryan Miller
|
521fff0e37
|
Integrated EventCaller into NESPalette.
|
6 years ago |
Bryan Miller
|
fed72f330e
|
Added an Event dispatcher called EventCaller.js
|
6 years ago |
Bryan Miller
|
edde30cdbf
|
Fixed typo in NESPalette.
|
6 years ago |
Bryan Miller
|
f2ee7d464e
|
NESPalette method argument idx renamed to reduce confusion... to me. lol
|
6 years ago |
Bryan Miller
|
5004631d48
|
Added NESPainter, which will handle the visible canvas drawing. Incorperated changes into main.js
|
6 years ago |
Bryan Miller
|
a80ce69b00
|
Added a NES Palette manager/generator which can export to assembler string of the palette data. Main.js has a little test code.
|
6 years ago |
Bryan Miller
|
b100b95ee9
|
Some tweaks before diving in
|
6 years ago |
Bryan Miller
|
7994c578be
|
Fixed stupidity.
|
6 years ago |
Bryan Miller
|
8022d8d8a2
|
Attempted to incorperate entry point... I am, appearently rusty!
|
6 years ago |
Bryan Miller
|
db2e02d303
|
Entry point to application.
|
6 years ago |
Bryan Miller
|
73ac9c8814
|
Dropped Bootstrap. Going with PureCSS
|
6 years ago |
Bryan Miller
|
86287a6a70
|
Somehow missed the .gitignore file. Yay :-/
|
6 years ago |