Avionics
Dropship Simulator
Printer.h
Go to the documentation of this file.
1
4
#pragma once
5
6
#include "../Bus.h"
7
8
//#include <Winspool.h>
9
//#include <CommDlg.h>
10
//#include <fstream>
11
12
namespace
Devices
13
{
14
class
Printer
15
{
16
private
:
17
Logger
*
logger
=
nullptr
;
18
Bus
*
bus
=
nullptr
;
// needs a pointer because it is two-way (digital in or sensor can add, commands removed can trigger digital out)
19
HWND
hWnd
=
nullptr
;
20
21
HBITMAP
hBitmap
=
nullptr
;
22
BITMAP
bitmap
;
23
int
bxWidth
= 0,
bxHeight
= 0,
flag
= 0;
24
HDC
hdc
=
nullptr
,
hdcMem
=
nullptr
;
25
HMENU
menu
=
nullptr
;
26
HPALETTE
hpal
=
nullptr
;
27
int
cxsize
= 0,
cxpage
= 0;
28
int
cysize
= 0,
cypage
= 0;
29
30
31
static
HDC
GetPrinterDC
();
32
33
34
public
:
35
//Printer() {};
36
void
Initialize
(
Logger
*
logger
,
Bus
* prmBus, HWND
hWnd
);
37
void
FrameMove
();
38
//~Printer() {};
39
};
40
}
Devices::Printer::hBitmap
HBITMAP hBitmap
Definition:
Printer.h:21
Devices::Printer::bitmap
BITMAP bitmap
Definition:
Printer.h:22
Devices::Printer::flag
int flag
Definition:
Printer.h:23
Logger
Definition:
Logger.h:5
Devices::Printer::hpal
HPALETTE hpal
Definition:
Printer.h:26
Devices::Printer::GetPrinterDC
static HDC GetPrinterDC()
Definition:
Printer.cpp:166
Devices::Printer
Definition:
Printer.h:14
Devices::Printer::bxWidth
int bxWidth
Definition:
Printer.h:23
Devices::Printer::cypage
int cypage
Definition:
Printer.h:28
Devices
okay, the portable keyboard numbers don't work like the outside keypad because the outside keypad is ...
Definition:
Analog.cpp:3
Bus
Definition:
Bus.h:12
Devices::Printer::FrameMove
void FrameMove()
Definition:
Printer.cpp:14
Devices::Printer::cysize
int cysize
Definition:
Printer.h:28
Devices::Printer::Initialize
void Initialize(Logger *logger, Bus *prmBus, HWND hWnd)
Definition:
Printer.cpp:7
Devices::Printer::hdcMem
HDC hdcMem
Definition:
Printer.h:24
Devices::Printer::hWnd
HWND hWnd
Definition:
Printer.h:19
Devices::Printer::cxpage
int cxpage
Definition:
Printer.h:27
Devices::Printer::bxHeight
int bxHeight
Definition:
Printer.h:23
Devices::Printer::menu
HMENU menu
Definition:
Printer.h:25
Devices::Printer::hdc
HDC hdc
Definition:
Printer.h:24
Devices::Printer::logger
Logger * logger
Definition:
Printer.h:17
Devices::Printer::bus
Bus * bus
Definition:
Printer.h:18
Devices::Printer::cxsize
int cxsize
Definition:
Printer.h:27
Devices
Printer.h
Generated on Sat Feb 13 2021 09:30:41 for Avionics by
1.8.14