Avionics
Dropship Simulator
Devices::Printer Class Reference

#include <Printer.h>

Collaboration diagram for Devices::Printer:
[legend]

Public Member Functions

void Initialize (Logger *logger, Bus *prmBus, HWND hWnd)
 
void FrameMove ()
 

Static Private Member Functions

static HDC GetPrinterDC ()
 

Private Attributes

Loggerlogger = nullptr
 
Busbus = nullptr
 
HWND hWnd = nullptr
 
HBITMAP hBitmap = nullptr
 
BITMAP bitmap
 
int bxWidth = 0
 
int bxHeight = 0
 
int flag = 0
 
HDC hdc = nullptr
 
HDC hdcMem = nullptr
 
HMENU menu = nullptr
 
HPALETTE hpal = nullptr
 
int cxsize = 0
 
int cxpage = 0
 
int cysize = 0
 
int cypage = 0
 

Detailed Description

Definition at line 14 of file Printer.h.

Member Function Documentation

◆ FrameMove()

void Devices::Printer::FrameMove ( )

some day when we are caught up the format of the receipt should be in the XML configuration as well as the target printer

Todo:
needs to be drawn from the config file, printer configuration

Definition at line 14 of file Printer.cpp.

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

◆ GetPrinterDC()

HDC Devices::Printer::GetPrinterDC ( )
staticprivate
Todo:
needs to be specified in the configuration file, printer configuration

Definition at line 166 of file Printer.cpp.

Here is the caller graph for this function:

◆ Initialize()

void Devices::Printer::Initialize ( Logger logger,
Bus prmBus,
HWND  hWnd 
)

Definition at line 7 of file Printer.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ bitmap

BITMAP Devices::Printer::bitmap
private

Definition at line 22 of file Printer.h.

◆ bus

Bus* Devices::Printer::bus = nullptr
private

Definition at line 18 of file Printer.h.

◆ bxHeight

int Devices::Printer::bxHeight = 0
private

Definition at line 23 of file Printer.h.

◆ bxWidth

int Devices::Printer::bxWidth = 0
private

Definition at line 23 of file Printer.h.

◆ cxpage

int Devices::Printer::cxpage = 0
private

Definition at line 27 of file Printer.h.

◆ cxsize

int Devices::Printer::cxsize = 0
private

Definition at line 27 of file Printer.h.

◆ cypage

int Devices::Printer::cypage = 0
private

Definition at line 28 of file Printer.h.

◆ cysize

int Devices::Printer::cysize = 0
private

Definition at line 28 of file Printer.h.

◆ flag

int Devices::Printer::flag = 0
private

Definition at line 23 of file Printer.h.

◆ hBitmap

HBITMAP Devices::Printer::hBitmap = nullptr
private

Definition at line 21 of file Printer.h.

◆ hdc

HDC Devices::Printer::hdc = nullptr
private

Definition at line 24 of file Printer.h.

◆ hdcMem

HDC Devices::Printer::hdcMem = nullptr
private

Definition at line 24 of file Printer.h.

◆ hpal

HPALETTE Devices::Printer::hpal = nullptr
private

Definition at line 26 of file Printer.h.

◆ hWnd

HWND Devices::Printer::hWnd = nullptr
private

Definition at line 19 of file Printer.h.

◆ logger

Logger* Devices::Printer::logger = nullptr
private

Definition at line 17 of file Printer.h.

◆ menu

HMENU Devices::Printer::menu = nullptr
private

Definition at line 25 of file Printer.h.


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