Rise
The Vieneo Province
Loading...
Searching...
No Matches
StreetView Class Reference

#include <Instrument.h>

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

Public Member Functions

 StreetView (int prmX, int prmY, float prmXScale, float prmYScale, Bus *prmBus, Logger *prmLogger, DeviceObject *prmDevice, std::vector< Font * > prmFonts, int prmWidth, int prmHeight, TurnByTurn *prmNavigation)
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, RiseMath::Color color, int font=-1, std::string elementName="", int width=0, int height=0) const
virtual bool HandleKeyPress (short key, bool shift)
virtual bool UpdateKeyRepeat (const unsigned char *keys, bool shift, float elapsed)
virtual void OnPageChanged ()

Private Attributes

TurnByTurn * navigation
StreetMapProjection map
Sprite * cityMap = nullptr
Sprite * airplane = nullptr
Sprite * navTarget = nullptr
float width
float height

Additional Inherited Members

Public Attributes inherited from Instrument
std::string profileName = "Instrument"
Protected Attributes inherited from Instrument
int x = 0
int y = 0
float xScale = 1.0f
float yScale = 1.0f
DeviceObject * pDevice = nullptr
Bus * bus = nullptr
Logger * logger = nullptr
UINT defaultFont = 0
bool cacheFixedText = false
int uiRow = 0
bool showMenu = false
int uiMenuColumn = -1

Detailed Description

Definition at line 583 of file Instrument.h.

Constructor & Destructor Documentation

◆ StreetView()

StreetView::StreetView ( int prmX,
int prmY,
float prmXScale,
float prmYScale,
Bus * prmBus,
Logger * prmLogger,
DeviceObject * prmDevice,
std::vector< Font * > prmFonts,
int prmWidth,
int prmHeight,
TurnByTurn * prmNavigation )

Definition at line 5 of file StreetView.cpp.

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

Member Function Documentation

◆ FrameMove()

void StreetView::FrameMove ( float fElapsed)
overridevirtual

Reimplemented from Instrument.

Definition at line 34 of file StreetView.cpp.

Here is the call graph for this function:

◆ Render()

void StreetView::Render ( )
overridevirtual

Implements Instrument.

Definition at line 19 of file StreetView.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ airplane

Sprite* StreetView::airplane = nullptr
private

Definition at line 589 of file Instrument.h.

◆ cityMap

Sprite* StreetView::cityMap = nullptr
private

Definition at line 588 of file Instrument.h.

◆ height

float StreetView::height
private

Definition at line 591 of file Instrument.h.

◆ map

StreetMapProjection StreetView::map
private

Definition at line 586 of file Instrument.h.

◆ navigation

TurnByTurn* StreetView::navigation
private

Definition at line 585 of file Instrument.h.

◆ navTarget

Sprite* StreetView::navTarget = nullptr
private

Definition at line 590 of file Instrument.h.

◆ width

float StreetView::width
private

Definition at line 591 of file Instrument.h.


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