Rise
The Vieneo Province
ElevatorTrim Class Reference

#include <Instrument.h>

Inheritance diagram for ElevatorTrim:
[legend]
Collaboration diagram for ElevatorTrim:
[legend]

Public Member Functions

 ElevatorTrim (int prmX, int prmY, float prmXScale, float prmYScale, Bus *prmBus, Logger *prmLogger, DeviceObject *prmDevice, std::vector< Font *> prmFonts)
 
void Render () override
 
void FrameMove (float fElapsed) override
 
- Public Member Functions inherited from Instrument
 Instrument (int prmX, int prmY, float prmXScale, float prmYScale, Bus *prmBus, Logger *prmLogger, DeviceObject *prmDevice, std::vector< Font *> prmFonts)
 
void DrawText (const WCHAR *str, int relativeX, int relativeY, float prmZ, int flags, D3DXCOLOR color, int font=-1, std::string elementName="", int width=0, int height=0)
 
virtual bool HandleKeyPress (short key, bool shift)
 
virtual void OnPageChanged ()
 

Private Attributes

Spritebackground = nullptr
 
Spriteindicator = nullptr
 
int yBias = 0
 
WCHAR label [5] = { 0 }
 

Additional Inherited Members

- Protected Attributes inherited from Instrument
int x = 0
 
int y = 0
 
float xScale = 1.0f
 
float yScale = 1.0f
 
DeviceObjectpDevice = nullptr
 
Busbus = nullptr
 
Loggerlogger = nullptr
 
UINT defaultFont = 0
 
int uiRow = 0
 
bool showMenu = false
 
int uiMenuColumn = -1
 

Detailed Description

Definition at line 214 of file Instrument.h.

Constructor & Destructor Documentation

◆ ElevatorTrim()

ElevatorTrim::ElevatorTrim ( int  prmX,
int  prmY,
float  prmXScale,
float  prmYScale,
Bus prmBus,
Logger prmLogger,
DeviceObject prmDevice,
std::vector< Font *>  prmFonts 
)

Definition at line 4 of file ElevatorTrim.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ FrameMove()

void ElevatorTrim::FrameMove ( float  fElapsed)
overridevirtual

Reimplemented from Instrument.

Definition at line 25 of file ElevatorTrim.cpp.

◆ Render()

void ElevatorTrim::Render ( )
overridevirtual

Implements Instrument.

Definition at line 14 of file ElevatorTrim.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ background

Sprite* ElevatorTrim::background = nullptr
private

Definition at line 216 of file Instrument.h.

◆ indicator

Sprite* ElevatorTrim::indicator = nullptr
private

Definition at line 217 of file Instrument.h.

◆ label

WCHAR ElevatorTrim::label[5] = { 0 }
private

Definition at line 219 of file Instrument.h.

◆ yBias

int ElevatorTrim::yBias = 0
private

Definition at line 218 of file Instrument.h.


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