mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-11 22:33:32 -04:00
make functions to get the default rollover and click sounds
This commit is contained in:
parent
8c18b196c3
commit
ac1556a1b4
@ -34,6 +34,12 @@ def setDefaultDrawOrder(newDrawOrder):
|
||||
global drawOrder
|
||||
drawOrder = newDrawOrder
|
||||
|
||||
def getDefaultRolloverSound():
|
||||
return base.loadSfx("phase_3/audio/sfx/GUI_rollover.mp3")
|
||||
|
||||
def getDefaultClickSound():
|
||||
return base.loadSfx("phase_3/audio/sfx/GUI_create_toon_fwd.mp3")
|
||||
|
||||
def getNewRolloverFunctor(sound = None):
|
||||
val = None
|
||||
if sound:
|
||||
|
Loading…
x
Reference in New Issue
Block a user