This website works better with JavaScript.
首頁
探索
說明
登入
ObsidianBlk
/
nespaint
關註
1
收藏
0
複製
0
程式碼
問題管理
0
合併請求
0
版本發佈
0
Wiki
Activity
166
Commit
4
分支
分支:
dev-bank
dev
dev-bank
dev-tmpl
master
分支列表
標籤列表
${ item.name }
Create branch
${ searchTerm }
from 'dev-bank'
${ noResults }
Commit Graph
40 次程式碼提交 (dev-bank)
作者
SHA1
備註
提交日期
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.
5 年之前
Bryan Miller
a6af0f9dd8
Properly preventing default mouse events (right-click).
5 年之前
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 年之前
Bryan Miller
38bf95034b
EventWindow is no longer restricted to window object events only.
6 年之前
Bryan Miller
0d889a8342
Made EventWindow into a singleton.
6 年之前
Bryan Miller
27be7ec216
Added a EventWindow class
6 年之前