Rise
The Vieneo Province
Scanner Class Reference

#include <Instrument.h>

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

Public Member Functions

 Scanner (int prmX, int prmY, float prmXScale, float prmYScale, Bus *prmBus, Logger *prmLogger, DeviceObject *prmDevice, std::vector< Font *> prmFonts)
 
void Render () override
 
bool HandleKeyPress (short key, bool shift) 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 void FrameMove (float fElapsed)
 
virtual void OnPageChanged ()
 

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 137 of file Instrument.h.

Constructor & Destructor Documentation

◆ Scanner()

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

Definition at line 4 of file Scanner.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ HandleKeyPress()

bool Scanner::HandleKeyPress ( short  key,
bool  shift 
)
overridevirtual

Reimplemented from Instrument.

Definition at line 191 of file Scanner.cpp.

Here is the call graph for this function:

◆ Render()

void Scanner::Render ( )
overridevirtual

Implements Instrument.

Definition at line 11 of file Scanner.cpp.

Here is the call graph for this function:

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