mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
dgui: Add DirectGui events for wheel up and down mouse events
Closes #819
This commit is contained in:
parent
ff1a2632bd
commit
88fd65394b
@ -70,6 +70,8 @@ B3PRESS = PGButton.getPressPrefix() + MouseButton.three().getName() + '-'
|
|||||||
B1RELEASE = PGButton.getReleasePrefix() + MouseButton.one().getName() + '-'
|
B1RELEASE = PGButton.getReleasePrefix() + MouseButton.one().getName() + '-'
|
||||||
B2RELEASE = PGButton.getReleasePrefix() + MouseButton.two().getName() + '-'
|
B2RELEASE = PGButton.getReleasePrefix() + MouseButton.two().getName() + '-'
|
||||||
B3RELEASE = PGButton.getReleasePrefix() + MouseButton.three().getName() + '-'
|
B3RELEASE = PGButton.getReleasePrefix() + MouseButton.three().getName() + '-'
|
||||||
|
WHEELUP = PGButton.getReleasePrefix() + p3d.MouseButton.wheelUp().getName() + '-'
|
||||||
|
WHEELDOWN = PGButton.getReleasePrefix() + p3d.MouseButton.wheelDown().getName() + '-'
|
||||||
# For DirectEntry widgets
|
# For DirectEntry widgets
|
||||||
OVERFLOW = PGEntry.getOverflowPrefix()
|
OVERFLOW = PGEntry.getOverflowPrefix()
|
||||||
ACCEPT = PGEntry.getAcceptPrefix() + KeyboardButton.enter().getName() + '-'
|
ACCEPT = PGEntry.getAcceptPrefix() + KeyboardButton.enter().getName() + '-'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user