Bryan Miller
|
35b1cad2b8
|
Tabs working.
|
5 anos atrás |
Bryan Miller
|
5045de7f90
|
Working on TABs. There's a bug in the event listener at the moment.
|
5 anos atrás |
Bryan Miller
|
9d661281c3
|
Emitters now include the triggering element in the emitted event. Modal updated for the new element.
|
5 anos atrás |
Bryan Miller
|
a801b4f90a
|
Small modification on mouse event triggering.
|
5 anos atrás |
Bryan Miller
|
f598b53dfa
|
Added isMouseInBounds() and lastMousePosition() from Input.
|
5 anos atrás |
Bryan Miller
|
6167e610f1
|
Input mouse event data now includes the 'isCombo' parameter which will be true if the mouse event is part of a combo.
|
5 anos atrás |
Bryan Miller
|
6aa1185522
|
Input can now watch for 'wheelup' and 'wheeldown' for more fine grain event control.
|
5 anos atrás |
Bryan Miller
|
76ed24239f
|
Input now handles 'mousewheel' and 'wheel' events.
|
5 anos atrás |
Bryan Miller
|
d0c8dfcf62
|
Fixed mouse event name generations in Input.
|
5 anos atrás |
Bryan Miller
|
842d93207f
|
Added [untested] code to combine kayboard and mouse events, to allow for keyboard+mouse event combos.
|
5 anos atrás |
Bryan Miller
|
615d171c65
|
Added some mouse button code/name mapping in Input.
|
6 anos atrás |
Bryan Miller
|
a6af0f9dd8
|
Properly preventing default mouse events (right-click).
|
6 anos atrás |
Bryan Miller
|
b86d5b939b
|
Fixed mouse event test for element bounds. Attempting to add 'preventDefault' events.
|
6 anos atrás |
Bryan Miller
|
fd9ec031e2
|
Added Input parameters to access mouse information.
|
6 anos atrás |
Bryan Miller
|
903b1cf2fa
|
Renamed a couple of Input keyboard properties to be more explicit.
|
6 anos atrás |
Bryan Miller
|
7c3595bac9
|
Input class basic mouse events functional. Wheel not handled.
|
6 anos atrás |
Bryan Miller
|
da3b49763a
|
Added initial code for handling mouse. Nothing functional.
|
6 anos atrás |
Bryan Miller
|
862664c6be
|
Input class used for Keyboard and (soon) mouse events and complex combinations.
|
6 anos atrás |
Bryan Miller
|
6b15932ff0
|
Reorganized files. Adjusted imports to match new locations.
|
6 anos atrás |
Bryan Miller
|
7fe55cd661
|
CTRLPainter watching window resize. Using Debounce.
|
6 anos atrás |
Bryan Miller
|
055d98a185
|
Connected CTRLPainter to main.
|
6 anos atrás |
Bryan Miller
|
5590cd01ea
|
Fixed broken code in CTRLPalette. Reworked a but of main
|
6 anos atrás |
Bryan Miller
|
c3e3161bf2
|
Readded GlobalEvents to CTRLPalettes HA!
|
6 anos atrás |
Bryan Miller
|
fdd555bf8c
|
Moved NESPainter to CTRLPainter. Just a rename at the moment.
|
6 anos atrás |
Bryan Miller
|
8430fcbd6f
|
Removed GlobalEvents import from CTRLPalettes. Wasn't needed.
|
6 anos atrás |
Bryan Miller
|
ebb2e53977
|
CTRLPalettes now sets and shows the individual drawing palettes.
|
6 anos atrás |
Bryan Miller
|
61e5c8ca84
|
Added some interface code for working with the drawing palettes. Still WIP.
|
6 anos atrás |
Bryan Miller
|
41ebf58447
|
CTRLPalettes now color button text black or white for better contrast
|
6 anos atrás |
Bryan Miller
|
6b62d11723
|
Building out the Controller system for integrating the HTML with the NESPalette class.
|
6 anos atrás |
Bryan Miller
|
72a47fab3c
|
Now using handler's 'this' instead of event.target... Bubbling works now.
|
6 anos atrás |
Bryan Miller
|
4bd8ea3e11
|
Trying to build out application interface and integrate listener interactions.
|
6 anos atrás |
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 anos atrás |
Bryan Miller
|
6f1599e29f
|
Modal functions.
|
6 anos atrás |
Bryan Miller
|
859ef65079
|
No longer 'freezing' the instance.
|
6 anos atrás |
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 anos atrás |
Bryan Miller
|
cc2464cb77
|
Tweaks to Modal methods. Modal will now listen for a 'modal-open' and 'modal-close' event.
|
6 anos atrás |
Bryan Miller
|
a1263f4b99
|
Initial work on a Modal popup UI.
|
6 anos atrás |
Bryan Miller
|
38bf95034b
|
EventWindow is no longer restricted to window object events only.
|
6 anos atrás |
Bryan Miller
|
0d889a8342
|
Made EventWindow into a singleton.
|
6 anos atrás |
Bryan Miller
|
27be7ec216
|
Added a EventWindow class
|
6 anos atrás |