dgui: Add DirectGui events for wheel up and down mouse events

Closes #819
This commit is contained in:
LD 2019-12-21 10:17:20 +01:00 committed by rdb
parent ff1a2632bd
commit 88fd65394b

View File

@ -70,6 +70,8 @@ B3PRESS = PGButton.getPressPrefix() + MouseButton.three().getName() + '-'
B1RELEASE = PGButton.getReleasePrefix() + MouseButton.one().getName() + '-'
B2RELEASE = PGButton.getReleasePrefix() + MouseButton.two().getName() + '-'
B3RELEASE = PGButton.getReleasePrefix() + MouseButton.three().getName() + '-'
WHEELUP = PGButton.getReleasePrefix() + p3d.MouseButton.wheelUp().getName() + '-'
WHEELDOWN = PGButton.getReleasePrefix() + p3d.MouseButton.wheelDown().getName() + '-'
# For DirectEntry widgets
OVERFLOW = PGEntry.getOverflowPrefix()
ACCEPT = PGEntry.getAcceptPrefix() + KeyboardButton.enter().getName() + '-'