Public Member Functions | |
| def | __init__ |
| def | draw_pointer |
| def | draw |
| def | on_key_release |
Public Attributes | |
| y | |
| text | |
| activate_func | |
Static Public Attributes | |
| tuple | pointer_color = (.46, 0, 1.) |
| inverted_pointers = False | |
| def unlock.view.asteroids.MenuItem.__init__ | ( | self, | ||
| label, | ||||
| y, | ||||
| activate_func | ||||
| ) |
| def unlock.view.asteroids.MenuItem.draw | ( | self, | ||
| selected | ||||
| ) |
| def unlock.view.asteroids.MenuItem.draw_pointer | ( | self, | ||
| x, | ||||
| y, | ||||
| color, | ||||
flip = False | ||||
| ) |
| def unlock.view.asteroids.MenuItem.on_key_release | ( | self, | ||
| symbol, | ||||
| modifiers | ||||
| ) |
Reimplemented in unlock.view.asteroids.ToggleMenuItem, and unlock.view.asteroids.DifficultyMenuItem.
unlock.view.asteroids.MenuItem.inverted_pointers = False [static] |
Reimplemented in unlock.view.asteroids.ToggleMenuItem, and unlock.view.asteroids.DifficultyMenuItem.
tuple unlock.view.asteroids.MenuItem.pointer_color = (.46, 0, 1.) [static] |
Reimplemented in unlock.view.asteroids.ToggleMenuItem, and unlock.view.asteroids.DifficultyMenuItem.
1.7.1