Avionics
Dropship Simulator
Page.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "../Instruments/Instrument.h"
4
#include "
Element.h
"
5
6
class
Page
7
{
8
private
:
9
Bus
*
bus
;
10
Logger
*
logger
;
11
DEVICE_OBJECT
*
pDevice
;
12
bool
flip
;
13
14
public
:
15
int
id
;
16
std::string
name
;
17
std::vector<Instrument*>
instruments
;
18
std::vector<Element>
elements
;
19
20
void
Initialize
(
Bus
* prmBus,
Logger
* prmLogger,
DEVICE_OBJECT
* prmpDevice,
int
screenWidth,
int
screenHeight, std::vector<Font>* fonts,
bool
flip
);
21
void
Render
(
float
fElapsed);
22
void
Destroy
();
23
};
Page::elements
std::vector< Element > elements
Definition:
Page.h:18
DEVICE_OBJECT
Definition:
DeviceObject.h:5
Logger
Definition:
Logger.h:5
Page::id
int id
Definition:
Page.h:15
Page::name
std::string name
Definition:
Page.h:16
Element.h
Bus
Definition:
Bus.h:12
Page
Definition:
Page.h:6
Page::bus
Bus * bus
Definition:
Page.h:9
Page::Render
void Render(float fElapsed)
Definition:
Page.cpp:42
Page::flip
bool flip
Definition:
Page.h:12
Page::logger
Logger * logger
Definition:
Page.h:10
Page::pDevice
DEVICE_OBJECT * pDevice
Definition:
Page.h:11
Page::Initialize
void Initialize(Bus *prmBus, Logger *prmLogger, DEVICE_OBJECT *prmpDevice, int screenWidth, int screenHeight, std::vector< Font > *fonts, bool flip)
Definition:
Page.cpp:3
Page::Destroy
void Destroy()
Definition:
Page.cpp:56
Page::instruments
std::vector< Instrument * > instruments
Definition:
Page.h:17
Rendering
Page.h
Generated on Sat Feb 13 2021 09:30:43 for Avionics by
1.8.14