55 Ревизии (dev)

Автор SHA1 Съобщение Дата
  Bryan Miller 263808a08b Grids now available in a number of different formats. Grid rendering has been moved to the ui/Renderer преди 5 години
  Bryan Miller 90524054d4 Added a NESTileSurface class accessible through the renderer that will allow for the quick rendering of NESTiles. преди 5 години
  Bryan Miller 24b5db84dd Some tweaks to the UI for creating new 'Store' items. преди 5 години
  Bryan Miller 808079ac24 Switched NESPalette.Default into a function that pulls colors from an array. These default values can now be set with the .SetDefault() function. преди 5 години
  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 години
  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 години
  Bryan Miller 698cfa8bae Fixed a bug in Input преди 5 години
  Bryan Miller 1d3024c167 Input updated to call the 'mouseup' event last, to remain consistant with all other events. преди 5 години
  Bryan Miller 82069a3529 Renderer now has a clear() method for clearing the given context with the given color. преди 5 години
  Bryan Miller 1939160fba ui/Renderer created to render Surface objects to canvas. преди 5 години
  Bryan Miller ad3a1a9ecd Small bug fixes to Modal. преди 5 години
  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 години
  Bryan Miller d8b5c14856 Work being done to add new items to the asset lists (palette at the moment). Not fully working. преди 5 години
  Bryan Miller 3df24cc4de Reverted last change to Input. Didn't work. преди 5 години
  Bryan Miller 305698599c Input should no longer identify mouse as inbounds if target does not have focus. преди 5 години
  Bryan Miller 35b1cad2b8 Tabs working. преди 5 години
  Bryan Miller 5045de7f90 Working on TABs. There's a bug in the event listener at the moment. преди 5 години
  Bryan Miller 9d661281c3 Emitters now include the triggering element in the emitted event. Modal updated for the new element. преди 5 години
  Bryan Miller a801b4f90a Small modification on mouse event triggering. преди 5 години
  Bryan Miller f598b53dfa Added isMouseInBounds() and lastMousePosition() from Input. преди 5 години
  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 години
  Bryan Miller 6aa1185522 Input can now watch for 'wheelup' and 'wheeldown' for more fine grain event control. преди 5 години
  Bryan Miller 76ed24239f Input now handles 'mousewheel' and 'wheel' events. преди 5 години
  Bryan Miller d0c8dfcf62 Fixed mouse event name generations in Input. преди 5 години
  Bryan Miller 842d93207f Added [untested] code to combine kayboard and mouse events, to allow for keyboard+mouse event combos. преди 5 години
  Bryan Miller 615d171c65 Added some mouse button code/name mapping in Input. преди 6 години
  Bryan Miller a6af0f9dd8 Properly preventing default mouse events (right-click). преди 6 години
  Bryan Miller b86d5b939b Fixed mouse event test for element bounds. Attempting to add 'preventDefault' events. преди 6 години
  Bryan Miller fd9ec031e2 Added Input parameters to access mouse information. преди 6 години
  Bryan Miller 903b1cf2fa Renamed a couple of Input keyboard properties to be more explicit. преди 6 години
  Bryan Miller 7c3595bac9 Input class basic mouse events functional. Wheel not handled. преди 6 години
  Bryan Miller da3b49763a Added initial code for handling mouse. Nothing functional. преди 6 години
  Bryan Miller 862664c6be Input class used for Keyboard and (soon) mouse events and complex combinations. преди 6 години
  Bryan Miller 6b15932ff0 Reorganized files. Adjusted imports to match new locations. преди 6 години
  Bryan Miller 7fe55cd661 CTRLPainter watching window resize. Using Debounce. преди 6 години
  Bryan Miller 055d98a185 Connected CTRLPainter to main. преди 6 години
  Bryan Miller 5590cd01ea Fixed broken code in CTRLPalette. Reworked a but of main преди 6 години
  Bryan Miller c3e3161bf2 Readded GlobalEvents to CTRLPalettes HA! преди 6 години
  Bryan Miller fdd555bf8c Moved NESPainter to CTRLPainter. Just a rename at the moment. преди 6 години
  Bryan Miller 8430fcbd6f Removed GlobalEvents import from CTRLPalettes. Wasn't needed. преди 6 години
  Bryan Miller ebb2e53977 CTRLPalettes now sets and shows the individual drawing palettes. преди 6 години
  Bryan Miller 61e5c8ca84 Added some interface code for working with the drawing palettes. Still WIP. преди 6 години
  Bryan Miller 41ebf58447 CTRLPalettes now color button text black or white for better contrast преди 6 години
  Bryan Miller 6b62d11723 Building out the Controller system for integrating the HTML with the NESPalette class. преди 6 години
  Bryan Miller 72a47fab3c Now using handler's 'this' instead of event.target... Bubbling works now. преди 6 години
  Bryan Miller 4bd8ea3e11 Trying to build out application interface and integrate listener interactions. преди 6 години
  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 години
  Bryan Miller 6f1599e29f Modal functions. преди 6 години
  Bryan Miller 859ef65079 No longer 'freezing' the instance. преди 6 години
  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 години