|
| RaceGUIMultitouch (RaceGUIBase *race_gui) |
| The multitouch GUI constructor.
|
|
| ~RaceGUIMultitouch () |
| The multitouch GUI destructor.
|
|
void | draw (const AbstractKart *kart, const core::recti &viewport, const core::vector2df &scaling) |
| Draws the buttons for multitouch race GUI.
|
|
unsigned int | getHeight () |
|
bool | isSpectatorMode () |
|
void | setGuiAction (bool enabled=true) |
|
void | reset () |
| Sets the multitouch race gui to its initial state.
|
|
void | recreate () |
| Recreate multitouch race gui when config was changed.
|
|
|
void | init () |
| Initializes multitouch race gui.
|
|
void | createRaceGUI () |
| Determines the look of multitouch race GUI interface.
|
|
void | createSpectatorGUI () |
| Determines the look of spectator GUI interface.
|
|
void | close () |
| Clears all previously created buttons in the multitouch device.
|
|
|
static void | onCustomButtonPress (unsigned int button_id, bool pressed) |
| Callback function when custom button is pressed.
|
|
|
RaceGUIBase * | m_race_gui |
|
MultitouchDevice * | m_device |
|
bool | m_gui_action |
|
bool | m_is_spectator_mode |
|
unsigned int | m_height |
|
video::ITexture * | m_steering_wheel_tex |
|
video::ITexture * | m_steering_wheel_tex_mask_up |
|
video::ITexture * | m_steering_wheel_tex_mask_down |
|
video::ITexture * | m_accelerator_tex |
|
video::ITexture * | m_accelerator_handle_tex |
|
video::ITexture * | m_pause_tex |
|
video::ITexture * | m_nitro_tex |
|
video::ITexture * | m_nitro_empty_tex |
|
video::ITexture * | m_wing_mirror_tex |
|
video::ITexture * | m_thunderbird_reset_tex |
|
video::ITexture * | m_drift_tex |
|
video::ITexture * | m_bg_button_tex |
|
video::ITexture * | m_bg_button_focus_tex |
|
video::ITexture * | m_gui_action_tex |
|
video::ITexture * | m_up_tex |
|
video::ITexture * | m_down_tex |
|
video::ITexture * | m_screen_tex |
|
◆ draw()
void RaceGUIMultitouch::draw |
( |
const AbstractKart * |
kart, |
|
|
const core::recti & |
viewport, |
|
|
const core::vector2df & |
scaling |
|
) |
| |
Draws the buttons for multitouch race GUI.
- Parameters
-
kart | The kart for which to show the data. |
viewport | The viewport to use. |
scaling | Which scaling to apply to the buttons. |
The documentation for this class was generated from the following files: