"""
Fastgame的常量及快捷方式。
"""

WHEN_START = 'when-start'
WHEN_END = 'when-end'
ON_MOUSE_DOWN = 'on-mouse-down'
ON_MOUSE_UP = 'on-mouse-up'
ON_MOUSE_MOVE = 'on-mouse-move'

ON_KEY_DOWN = 'on-key-down'
ON_KEY_UP = 'on-key-up'

UPDATE = 'update'
JUDGE = 'judge'

MUSIC = 'pygame.mixer.music'
MIXER = 'pygame.mixer'

MOMO = 1
STEREO = 2

# Window styles
FULLSCREEN = -2147483648
RESIZEABLE = 16
NO_FRAME = 32
NORMAL = 0

# Color types
RGB = 'RGB'
RGBA = 'RGBA'
CMYK = 'CMYK'
HEX = 'HEX'
HSV = 'HSV'
HSVA = 'HSVA'
HSL = 'HSL'
HSLA = 'HSLA'

OPEN = 'open'
NEW = 'new'
NEW_TAB = 'new-tab'

# Mouse buttons
LEFT_BUTTON = 1
RIGHT_BUTTON = 3
MIDDLE_BUTTON = 2
ROLLING_UP = 4
ROLLING_DOWN = 5

# Events
RESIZE = 32769
ACTIVATE = 32768

# Joystick Events
EMPTY = 'empty'
LOW = 'low'
MEDIUM = 'medium'
FULL = 'full'
WIRED = 'wired'
MAX = 'max'
UNKNOWN = 'unknown'

# FPS modes
BEFORE = 'before'
AFTER = 'after'

"""
Fastgame的常量及快捷方式。
"""

WHEN_START = 'when-start'
WHEN_END = 'when-end'
ON_MOUSE_DOWN = 'on-mouse-down'
ON_MOUSE_UP = 'on-mouse-up'
ON_MOUSE_MOVE = 'on-mouse-move'

ON_KEY_DOWN = 'on-key-down'
ON_KEY_UP = 'on-key-up'

UPDATE = 'update'
JUDGE = 'judge'

MUSIC = 'pygame.mixer.music'
MIXER = 'pygame.mixer'

MOMO = 1
STEREO = 2

# Window styles
FULLSCREEN = -2147483648
RESIZEABLE = 16
NO_FRAME = 32
NORMAL = 0

# Color types
RGB = 'RGB'
RGBA = 'RGBA'
CMYK = 'CMYK'
HEX = 'HEX'
HSV = 'HSV'
HSVA = 'HSVA'
HSL = 'HSL'
HSLA = 'HSLA'

OPEN = 'open'
NEW = 'new'
NEW_TAB = 'new-tab'

# Mouse buttons
LEFT_BUTTON = 1
RIGHT_BUTTON = 3
MIDDLE_BUTTON = 2
ROLLING_UP = 4
ROLLING_DOWN = 5

# Events
RESIZE = 32769
ACTIVATE = 32768

# Joystick Events
EMPTY = 'empty'
LOW = 'low'
MEDIUM = 'medium'
FULL = 'full'
WIRED = 'wired'
MAX = 'max'
UNKNOWN = 'unknown'

# FPS modes
BEFORE = 'before'
AFTER = 'after'

Fastgame的常量及快捷方式。 # Window styles # Color types # Mouse buttons # Events # Joystick Events # FPS modes