RigsofRods
Soft-body Physics Simulation
Public Member Functions | Private Member Functions | Private Attributes
RoR::GUI::VehicleButtons Class Reference

#include <GUI_VehicleButtons.h>

Public Member Functions

void Draw (RoR::GfxActor *actorx)
 
bool GetHornButtonState ()
 
std::vector< int > GetCommandEventID ()
 

Private Member Functions

void DrawHeadLightButton (RoR::GfxActor *actorx)
 
void DrawLeftBlinkerButton (RoR::GfxActor *actorx)
 
void DrawRightBlinkerButton (RoR::GfxActor *actorx)
 
void DrawWarnBlinkerButton (RoR::GfxActor *actorx)
 
void DrawHornButton (RoR::GfxActor *actorx)
 
void DrawMirrorButton (RoR::GfxActor *actorx)
 
void DrawRepairButton (RoR::GfxActor *actorx)
 
void DrawParkingBrakeButton (RoR::GfxActor *actorx)
 
void DrawTractionControlButton (RoR::GfxActor *actorx)
 
void DrawAbsButton (RoR::GfxActor *actorx)
 
void DrawPhysicsButton ()
 
void DrawActorPhysicsButton (RoR::GfxActor *actorx)
 
void DrawAxleDiffButton (RoR::GfxActor *actorx)
 
void DrawWheelDiffButton (RoR::GfxActor *actorx)
 
void DrawTransferCaseModeButton (RoR::GfxActor *actorx)
 
void DrawTransferCaseGearRatioButton (RoR::GfxActor *actorx)
 
void DrawParticlesButton (RoR::GfxActor *actorx)
 
void DrawBeaconButton (RoR::GfxActor *actorx)
 
void DrawShiftModeButton (RoR::GfxActor *actorx)
 
void DrawEngineButton (RoR::GfxActor *actorx)
 
void DrawCustomLightButton (RoR::GfxActor *actorx)
 
void DrawCommandButton (RoR::GfxActor *actorx)
 
void DrawLockButton (RoR::GfxActor *actorx)
 
void DrawSecureButton (RoR::GfxActor *actorx)
 
void DrawCruiseControlButton (RoR::GfxActor *actorx)
 
void DrawCameraButton ()
 
void CacheIcons ()
 

Private Attributes

bool m_horn = false
 
std::vector< int > m_id
 
Ogre::Timer m_timer
 
bool m_init = false
 
bool m_icons_cached = false
 
Ogre::TexturePtr m_headlight_icon
 
Ogre::TexturePtr m_left_blinker_icon
 
Ogre::TexturePtr m_right_blinker_icon
 
Ogre::TexturePtr m_warning_light_icon
 
Ogre::TexturePtr m_horn_icon
 
Ogre::TexturePtr m_mirror_icon
 
Ogre::TexturePtr m_repair_icon
 
Ogre::TexturePtr m_parking_brake_icon
 
Ogre::TexturePtr m_traction_control_icon
 
Ogre::TexturePtr m_abs_icon
 
Ogre::TexturePtr m_physics_icon
 
Ogre::TexturePtr m_actor_physics_icon
 
Ogre::TexturePtr m_a_icon
 
Ogre::TexturePtr m_w_icon
 
Ogre::TexturePtr m_m_icon
 
Ogre::TexturePtr m_g_icon
 
Ogre::TexturePtr m_particle_icon
 
Ogre::TexturePtr m_shift_icon
 
Ogre::TexturePtr m_engine_icon
 
Ogre::TexturePtr m_beacons_icon
 
Ogre::TexturePtr m_camera_icon
 
Ogre::TexturePtr m_lock_icon
 
Ogre::TexturePtr m_secure_icon
 
Ogre::TexturePtr m_cruise_control_icon
 

Detailed Description

Definition at line 35 of file GUI_VehicleButtons.h.

Member Function Documentation

◆ CacheIcons()

void VehicleButtons::CacheIcons ( )
private

Definition at line 1293 of file GUI_VehicleButtons.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Draw()

void VehicleButtons::Draw ( RoR::GfxActor actorx)

Definition at line 42 of file GUI_VehicleButtons.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DrawAbsButton()

void VehicleButtons::DrawAbsButton ( RoR::GfxActor actorx)
private

Definition at line 545 of file GUI_VehicleButtons.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DrawActorPhysicsButton()

void VehicleButtons::DrawActorPhysicsButton ( RoR::GfxActor actorx)
private

Definition at line 617 of file GUI_VehicleButtons.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DrawAxleDiffButton()

void VehicleButtons::DrawAxleDiffButton ( RoR::GfxActor actorx)
private

Definition at line 647 of file GUI_VehicleButtons.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DrawBeaconButton()

void VehicleButtons::DrawBeaconButton ( RoR::GfxActor actorx)
private

Definition at line 850 of file GUI_VehicleButtons.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DrawCameraButton()

void VehicleButtons::DrawCameraButton ( )
private

Definition at line 1149 of file GUI_VehicleButtons.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DrawCommandButton()

void VehicleButtons::DrawCommandButton ( RoR::GfxActor actorx)
private

Definition at line 1088 of file GUI_VehicleButtons.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DrawCruiseControlButton()

void VehicleButtons::DrawCruiseControlButton ( RoR::GfxActor actorx)
private

Definition at line 1254 of file GUI_VehicleButtons.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DrawCustomLightButton()

void VehicleButtons::DrawCustomLightButton ( RoR::GfxActor actorx)
private

Definition at line 1039 of file GUI_VehicleButtons.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DrawEngineButton()

void VehicleButtons::DrawEngineButton ( RoR::GfxActor actorx)
private

Definition at line 986 of file GUI_VehicleButtons.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DrawHeadLightButton()

void VehicleButtons::DrawHeadLightButton ( RoR::GfxActor actorx)
private

Definition at line 144 of file GUI_VehicleButtons.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DrawHornButton()

void VehicleButtons::DrawHornButton ( RoR::GfxActor actorx)
private

Definition at line 336 of file GUI_VehicleButtons.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DrawLeftBlinkerButton()

void VehicleButtons::DrawLeftBlinkerButton ( RoR::GfxActor actorx)
private

Definition at line 192 of file GUI_VehicleButtons.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DrawLockButton()

void VehicleButtons::DrawLockButton ( RoR::GfxActor actorx)
private

Definition at line 1166 of file GUI_VehicleButtons.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DrawMirrorButton()

void VehicleButtons::DrawMirrorButton ( RoR::GfxActor actorx)
private

Definition at line 392 of file GUI_VehicleButtons.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DrawParkingBrakeButton()

void VehicleButtons::DrawParkingBrakeButton ( RoR::GfxActor actorx)
private

Definition at line 467 of file GUI_VehicleButtons.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DrawParticlesButton()

void VehicleButtons::DrawParticlesButton ( RoR::GfxActor actorx)
private

Definition at line 811 of file GUI_VehicleButtons.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DrawPhysicsButton()

void VehicleButtons::DrawPhysicsButton ( )
private

Definition at line 584 of file GUI_VehicleButtons.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DrawRepairButton()

void VehicleButtons::DrawRepairButton ( RoR::GfxActor actorx)
private

Definition at line 438 of file GUI_VehicleButtons.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DrawRightBlinkerButton()

void VehicleButtons::DrawRightBlinkerButton ( RoR::GfxActor actorx)
private

Definition at line 240 of file GUI_VehicleButtons.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DrawSecureButton()

void VehicleButtons::DrawSecureButton ( RoR::GfxActor actorx)
private

Definition at line 1215 of file GUI_VehicleButtons.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DrawShiftModeButton()

void VehicleButtons::DrawShiftModeButton ( RoR::GfxActor actorx)
private

Definition at line 898 of file GUI_VehicleButtons.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DrawTractionControlButton()

void VehicleButtons::DrawTractionControlButton ( RoR::GfxActor actorx)
private

Definition at line 506 of file GUI_VehicleButtons.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DrawTransferCaseGearRatioButton()

void VehicleButtons::DrawTransferCaseGearRatioButton ( RoR::GfxActor actorx)
private

Definition at line 769 of file GUI_VehicleButtons.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DrawTransferCaseModeButton()

void VehicleButtons::DrawTransferCaseModeButton ( RoR::GfxActor actorx)
private

Definition at line 727 of file GUI_VehicleButtons.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DrawWarnBlinkerButton()

void VehicleButtons::DrawWarnBlinkerButton ( RoR::GfxActor actorx)
private

Definition at line 288 of file GUI_VehicleButtons.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DrawWheelDiffButton()

void VehicleButtons::DrawWheelDiffButton ( RoR::GfxActor actorx)
private

Definition at line 687 of file GUI_VehicleButtons.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetCommandEventID()

std::vector<int> RoR::GUI::VehicleButtons::GetCommandEventID ( )
inline

Definition at line 40 of file GUI_VehicleButtons.h.

◆ GetHornButtonState()

bool RoR::GUI::VehicleButtons::GetHornButtonState ( )
inline

Definition at line 39 of file GUI_VehicleButtons.h.

Field Documentation

◆ m_a_icon

Ogre::TexturePtr RoR::GUI::VehicleButtons::m_a_icon
private

Definition at line 89 of file GUI_VehicleButtons.h.

◆ m_abs_icon

Ogre::TexturePtr RoR::GUI::VehicleButtons::m_abs_icon
private

Definition at line 86 of file GUI_VehicleButtons.h.

◆ m_actor_physics_icon

Ogre::TexturePtr RoR::GUI::VehicleButtons::m_actor_physics_icon
private

Definition at line 88 of file GUI_VehicleButtons.h.

◆ m_beacons_icon

Ogre::TexturePtr RoR::GUI::VehicleButtons::m_beacons_icon
private

Definition at line 96 of file GUI_VehicleButtons.h.

◆ m_camera_icon

Ogre::TexturePtr RoR::GUI::VehicleButtons::m_camera_icon
private

Definition at line 97 of file GUI_VehicleButtons.h.

◆ m_cruise_control_icon

Ogre::TexturePtr RoR::GUI::VehicleButtons::m_cruise_control_icon
private

Definition at line 100 of file GUI_VehicleButtons.h.

◆ m_engine_icon

Ogre::TexturePtr RoR::GUI::VehicleButtons::m_engine_icon
private

Definition at line 95 of file GUI_VehicleButtons.h.

◆ m_g_icon

Ogre::TexturePtr RoR::GUI::VehicleButtons::m_g_icon
private

Definition at line 92 of file GUI_VehicleButtons.h.

◆ m_headlight_icon

Ogre::TexturePtr RoR::GUI::VehicleButtons::m_headlight_icon
private

Definition at line 77 of file GUI_VehicleButtons.h.

◆ m_horn

bool RoR::GUI::VehicleButtons::m_horn = false
private

Definition at line 70 of file GUI_VehicleButtons.h.

◆ m_horn_icon

Ogre::TexturePtr RoR::GUI::VehicleButtons::m_horn_icon
private

Definition at line 81 of file GUI_VehicleButtons.h.

◆ m_icons_cached

bool RoR::GUI::VehicleButtons::m_icons_cached = false
private

Definition at line 76 of file GUI_VehicleButtons.h.

◆ m_id

std::vector<int> RoR::GUI::VehicleButtons::m_id
private

Definition at line 71 of file GUI_VehicleButtons.h.

◆ m_init

bool RoR::GUI::VehicleButtons::m_init = false
private

Definition at line 73 of file GUI_VehicleButtons.h.

◆ m_left_blinker_icon

Ogre::TexturePtr RoR::GUI::VehicleButtons::m_left_blinker_icon
private

Definition at line 78 of file GUI_VehicleButtons.h.

◆ m_lock_icon

Ogre::TexturePtr RoR::GUI::VehicleButtons::m_lock_icon
private

Definition at line 98 of file GUI_VehicleButtons.h.

◆ m_m_icon

Ogre::TexturePtr RoR::GUI::VehicleButtons::m_m_icon
private

Definition at line 91 of file GUI_VehicleButtons.h.

◆ m_mirror_icon

Ogre::TexturePtr RoR::GUI::VehicleButtons::m_mirror_icon
private

Definition at line 82 of file GUI_VehicleButtons.h.

◆ m_parking_brake_icon

Ogre::TexturePtr RoR::GUI::VehicleButtons::m_parking_brake_icon
private

Definition at line 84 of file GUI_VehicleButtons.h.

◆ m_particle_icon

Ogre::TexturePtr RoR::GUI::VehicleButtons::m_particle_icon
private

Definition at line 93 of file GUI_VehicleButtons.h.

◆ m_physics_icon

Ogre::TexturePtr RoR::GUI::VehicleButtons::m_physics_icon
private

Definition at line 87 of file GUI_VehicleButtons.h.

◆ m_repair_icon

Ogre::TexturePtr RoR::GUI::VehicleButtons::m_repair_icon
private

Definition at line 83 of file GUI_VehicleButtons.h.

◆ m_right_blinker_icon

Ogre::TexturePtr RoR::GUI::VehicleButtons::m_right_blinker_icon
private

Definition at line 79 of file GUI_VehicleButtons.h.

◆ m_secure_icon

Ogre::TexturePtr RoR::GUI::VehicleButtons::m_secure_icon
private

Definition at line 99 of file GUI_VehicleButtons.h.

◆ m_shift_icon

Ogre::TexturePtr RoR::GUI::VehicleButtons::m_shift_icon
private

Definition at line 94 of file GUI_VehicleButtons.h.

◆ m_timer

Ogre::Timer RoR::GUI::VehicleButtons::m_timer
private

Definition at line 72 of file GUI_VehicleButtons.h.

◆ m_traction_control_icon

Ogre::TexturePtr RoR::GUI::VehicleButtons::m_traction_control_icon
private

Definition at line 85 of file GUI_VehicleButtons.h.

◆ m_w_icon

Ogre::TexturePtr RoR::GUI::VehicleButtons::m_w_icon
private

Definition at line 90 of file GUI_VehicleButtons.h.

◆ m_warning_light_icon

Ogre::TexturePtr RoR::GUI::VehicleButtons::m_warning_light_icon
private

Definition at line 80 of file GUI_VehicleButtons.h.


The documentation for this class was generated from the following files: