RigsofRods
Soft-body Physics Simulation
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Data Fields
RoR::AeroSwitchWidget Struct Reference

#include <OverlayWrapper.h>

+ Inheritance diagram for RoR::AeroSwitchWidget:
+ Collaboration diagram for RoR::AeroSwitchWidget:

Public Member Functions

 ~AeroSwitchWidget ()
 
void Setup (std::string const &elem_name, std::string const &mat_on, std::string const &mat_off)
 
void SetActive (bool value)
 
bool UpdateMouseHover () override
 
Ogre::OverlayElement * GetHoveredElement () const override
 
- Public Member Functions inherited from RoR::AeroInteractiveWidget
virtual ~AeroInteractiveWidget ()=default
 

Data Fields

Ogre::OverlayElement * element
 
Ogre::MaterialPtr on_material
 
Ogre::MaterialPtr off_material
 

Detailed Description

Definition at line 60 of file OverlayWrapper.h.

Constructor & Destructor Documentation

◆ ~AeroSwitchWidget()

AeroSwitchWidget::~AeroSwitchWidget ( )

Definition at line 1129 of file OverlayWrapper.cpp.

Member Function Documentation

◆ GetHoveredElement()

Ogre::OverlayElement * AeroSwitchWidget::GetHoveredElement ( ) const
overridevirtual

Implements RoR::AeroInteractiveWidget.

Definition at line 1154 of file OverlayWrapper.cpp.

◆ SetActive()

void AeroSwitchWidget::SetActive ( bool  value)

Definition at line 1116 of file OverlayWrapper.cpp.

◆ Setup()

void AeroSwitchWidget::Setup ( std::string const &  elem_name,
std::string const &  mat_on,
std::string const &  mat_off 
)

Definition at line 1121 of file OverlayWrapper.cpp.

◆ UpdateMouseHover()

bool AeroSwitchWidget::UpdateMouseHover ( )
overridevirtual

Implements RoR::AeroInteractiveWidget.

Definition at line 1136 of file OverlayWrapper.cpp.

+ Here is the call graph for this function:

Field Documentation

◆ element

Ogre::OverlayElement* RoR::AeroSwitchWidget::element

Definition at line 68 of file OverlayWrapper.h.

◆ off_material

Ogre::MaterialPtr RoR::AeroSwitchWidget::off_material

Definition at line 70 of file OverlayWrapper.h.

◆ on_material

Ogre::MaterialPtr RoR::AeroSwitchWidget::on_material

Definition at line 69 of file OverlayWrapper.h.


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