![]() |
Avionics
Dropship Simulator
|
Alert Message Stack (CAS) More...
#include <Instrument.h>
Public Member Functions | |
| AlertMessageStack (int prmX, int prmY, float prmXScale, float prmYScale) | |
| void | Initialize (Bus *prmBus, Logger *prmLogger, DEVICE_OBJECT *prmDevice, int prmScreenWidth, int prmScreenHeight, std::vector< Font > *prmFonts, bool prmFlip) override |
| void | Render (float fElapsed) override |
Public Member Functions inherited from Instrument | |
| Instrument (int prmX, int prmY, float prmXScale, float prmYScale) | |
| void | DrawText (const WCHAR *str, int x, int y, int flags, D3DXCOLOR color, int font, std::string elementName) |
| virtual | ~Instrument () |
Private Attributes | |
| Sprite | sprite |
Additional Inherited Members | |
Protected Attributes inherited from Instrument | |
| Bus * | bus = nullptr |
| Logger * | logger = nullptr |
| int | screenWidth = 0 |
| int | screenHeight = 0 |
| DEVICE_OBJECT * | pDevice = nullptr |
| std::vector< Font > * | fonts = nullptr |
| bool | flip = false |
| int | x |
| int | y |
| int | width = 0 |
| int | height = 0 |
| float | xScale |
| float | yScale |
| int | standardWidth = 0 |
| int | standardHeight = 0 |
Alert Message Stack (CAS)
Definition at line 184 of file Instrument.h.
| AlertMessageStack::AlertMessageStack | ( | int | prmX, |
| int | prmY, | ||
| float | prmXScale, | ||
| float | prmYScale | ||
| ) |
Definition at line 3 of file AlertMessageStack.cpp.
|
overridevirtual |
Reimplemented from Instrument.
Definition at line 9 of file AlertMessageStack.cpp.
|
overridevirtual |
purple 1, 0, 1
red 1, 0, 0
amber 1, 1, 0
cyan 0, 1, 1
white 1,1,1
END is always visible
Implements Instrument.
Definition at line 20 of file AlertMessageStack.cpp.
|
private |
Definition at line 187 of file Instrument.h.