A set of named boolean fields representing the visibility of parts of the heads-up-display.
#include
<class_hud_visible_1_1_hud_visible.h>
Public Member Functions |
|
| __init__ () | |
| asTuple () | |
| readPrefs () | |
| Read values from a string in the option
preferences. |
|
| writePrefs () | |
| Write current values as a string to the
option preferences. |
|
| __getitem__ () | |
| __repr__ () | |
| set () | |
| Set one value, return True if the value
changed. |
|
| setAll () | |
| Set all values using a sequence of bools,
return True if anything changed. |
|
| setAllSame () | |
| Set all values to the same bool value,
return True if anything changed. |
|
| anySet () | |
| Return True if any value is True. |
|
| __nonzero__ () | |
| __contains__ () | |
Public Attributes |
|
| string | kInfo = "info" |
| string | kFramerate = "framerate" |
| string | kSpeed = "speed" |
| string | kSession = "session" |
| list | kKeys = [kInfo, kFramerate, kSpeed, kSession] |
| HudVisible.HudVisible.__init__ | ( | ) |
| HudVisible.HudVisible.asTuple | ( | ) |
| HudVisible.HudVisible.readPrefs | ( | ) |
Read values from a string in the option preferences.
| HudVisible.HudVisible.writePrefs | ( | ) |
Write current values as a string to the option preferences.
| HudVisible.HudVisible.__getitem__ | ( | ) |
| HudVisible.HudVisible.__repr__ | ( | ) |
| HudVisible.HudVisible.set | ( | ) |
Set one value, return True if the value changed.
| HudVisible.HudVisible.setAll | ( | ) |
Set all values using a sequence of bools, return True if anything changed.
| HudVisible.HudVisible.setAllSame | ( | ) |
Set all values to the same bool value, return True if anything changed.
| HudVisible.HudVisible.anySet | ( | ) |
Return True if any value is True.
| HudVisible.HudVisible.__nonzero__ | ( | ) |
| HudVisible.HudVisible.__contains__ | ( | ) |
| string HudVisible.HudVisible.kInfo = "info" |
| string HudVisible.HudVisible.kFramerate = "framerate" |
| string HudVisible.HudVisible.kSpeed = "speed" |
| string HudVisible.HudVisible.kSession = "session" |