![]() |
Rise
The Vieneo Province
|
#include <Instrument.h>
Public Member Functions | |
| TCASOverlay (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, 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 | |
| Sprite * | noThreat = nullptr |
| Sprite * | proximate = nullptr |
| Sprite * | potentialThreat = nullptr |
| Sprite * | collisionThreat = nullptr |
| float | pixelPerKmX = 0.0f |
| float | pixelPerKmY = 0.0f |
| std::vector< s_network_objects > | targets |
| float | iconOffsetX = 0.0f |
| float | iconOffsetY = 0.0f |
| float | headingTrueRad = 0.0f |
| RiseMath::Vector2 | relativeCenter = RiseMath::Vector2(0, 0) |
| float | rotate = 0.0f |
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 |
Definition at line 686 of file Instrument.h.
| TCASOverlay::TCASOverlay | ( | int | prmX, |
| int | prmY, | ||
| float | prmXScale, | ||
| float | prmYScale, | ||
| Bus * | prmBus, | ||
| Logger * | prmLogger, | ||
| DeviceObject * | prmDevice, | ||
| std::vector< Font * > | prmFonts ) |
Definition at line 5 of file TCASOverlay.cpp.
|
overridevirtual |
Reimplemented from Instrument.
Definition at line 98 of file TCASOverlay.cpp.
|
overridevirtual |
Implements Instrument.
Definition at line 23 of file TCASOverlay.cpp.
|
private |
Definition at line 691 of file Instrument.h.
|
private |
Definition at line 697 of file Instrument.h.
|
private |
Definition at line 695 of file Instrument.h.
|
private |
Definition at line 696 of file Instrument.h.
|
private |
Definition at line 688 of file Instrument.h.
|
private |
Definition at line 692 of file Instrument.h.
|
private |
Definition at line 693 of file Instrument.h.
|
private |
Definition at line 690 of file Instrument.h.
|
private |
Definition at line 689 of file Instrument.h.
|
private |
Definition at line 698 of file Instrument.h.
|
private |
Definition at line 699 of file Instrument.h.
|
private |
Definition at line 694 of file Instrument.h.