Bryan Miller
								
							
						 | 
						
							
								24b5db84dd
								
							
						 | 
						
							
								
								Some tweaks to the UI for creating new 'Store' items.
							
							
							
							
						 | 
						6 роки тому | 
					
				
					
						
							
								
								   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.
							
							
							
							
						 | 
						6 роки тому | 
					
				
					
						
							
								
								   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.
							
							
							
							
						 | 
						6 роки тому | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								d206ec97e0
								
							
						 | 
						
							
								
								Added ui class EditableText to handle swapping between a <span> and a text <input> element for text that can be changed.
							
							
							
							
						 | 
						6 роки тому | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								698cfa8bae
								
							
						 | 
						
							
								
								Fixed a bug in Input
							
							
							
							
						 | 
						6 роки тому | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								1d3024c167
								
							
						 | 
						
							
								
								Input updated to call the 'mouseup' event last, to remain consistant with all other events.
							
							
							
							
						 | 
						6 роки тому | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								82069a3529
								
							
						 | 
						
							
								
								Renderer now has a clear() method for clearing the given context with the given color.
							
							
							
							
						 | 
						6 роки тому | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								1939160fba
								
							
						 | 
						
							
								
								ui/Renderer created to render Surface objects to canvas.
							
							
							
							
						 | 
						6 роки тому | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								ad3a1a9ecd
								
							
						 | 
						
							
								
								Small bug fixes to Modal.
							
							
							
							
						 | 
						6 роки тому | 
					
				
					
						
							
								
								   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.
							
							
							
							
						 | 
						6 роки тому | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								d8b5c14856
								
							
						 | 
						
							
								
								Work being done to add new items to the asset lists (palette at the moment). Not fully working.
							
							
							
							
						 | 
						6 роки тому | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								3df24cc4de
								
							
						 | 
						
							
								
								Reverted last change to Input. Didn't work.
							
							
							
							
						 | 
						6 роки тому | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								305698599c
								
							
						 | 
						
							
								
								Input should no longer identify mouse as inbounds if target does not have focus.
							
							
							
							
						 | 
						6 роки тому | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								35b1cad2b8
								
							
						 | 
						
							
								
								Tabs working.
							
							
							
							
						 | 
						6 роки тому | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								5045de7f90
								
							
						 | 
						
							
								
								Working on TABs. There's a bug in the event listener at the moment.
							
							
							
							
						 | 
						6 роки тому | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								9d661281c3
								
							
						 | 
						
							
								
								Emitters now include the triggering element in the emitted event. Modal updated for the new element.
							
							
							
							
						 | 
						6 роки тому | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								a801b4f90a
								
							
						 | 
						
							
								
								Small modification on mouse event triggering.
							
							
							
							
						 | 
						6 роки тому | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								f598b53dfa
								
							
						 | 
						
							
								
								Added isMouseInBounds() and lastMousePosition() from Input.
							
							
							
							
						 | 
						6 роки тому | 
					
				
					
						
							
								
								   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.
							
							
							
							
						 | 
						6 роки тому | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								6aa1185522
								
							
						 | 
						
							
								
								Input can now watch for 'wheelup' and 'wheeldown' for more fine grain event control.
							
							
							
							
						 | 
						6 роки тому | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								76ed24239f
								
							
						 | 
						
							
								
								Input now handles 'mousewheel' and 'wheel' events.
							
							
							
							
						 | 
						6 роки тому | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								d0c8dfcf62
								
							
						 | 
						
							
								
								Fixed mouse event name generations in Input.
							
							
							
							
						 | 
						6 роки тому | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								842d93207f
								
							
						 | 
						
							
								
								Added [untested] code to combine kayboard and mouse events, to allow for keyboard+mouse event combos.
							
							
							
							
						 | 
						6 роки тому | 
					
				
					
						
							
								
								   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 роки тому | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								cc2464cb77
								
							
						 | 
						
							
								
								Tweaks to Modal methods. Modal will now listen for a 'modal-open' and 'modal-close' event.
							
							
							
							
						 | 
						6 роки тому | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								a1263f4b99
								
							
						 | 
						
							
								
								Initial work on a Modal popup UI.
							
							
							
							
						 | 
						6 роки тому |