Rise
The Vieneo Province
Loading...
Searching...
No Matches
Screen Class Reference

#include <Screen.h>

Collaboration diagram for Screen:
[legend]

Public Member Functions

bool Render ()
 ~Screen ()
bool HandleKeyPress (short key, bool shift)
bool UpdateKeyRepeat (const unsigned char *keys, bool shift, float elapsed)
void FrameMove (float fElapsed)
bool ChangePage (const std::string &pageName)
void OnPageChange (bool sendUpdate=true)
void ChangePage (UINT i)
void RestorePage ()
 Screen ()
 Screen (Bus *prmBus, char *prmVdat)

Public Attributes

UINT currentPage = 0
std::string name
bool bypassVdat = false
std::vector< Page > pages
int width = 0
int height = 0
int x = 0
int y = 0
RECT rect = RECT()

Private Attributes

int lastPage = -1
HRESULT hr = 0
Bus * bus
char * vdat

Detailed Description

Definition at line 5 of file Screen.h.

Constructor & Destructor Documentation

◆ ~Screen()

Screen::~Screen ( )
inline

Definition at line 49 of file Screen.h.

◆ Screen() [1/2]

Screen::Screen ( )
inline

Definition at line 129 of file Screen.h.

Here is the caller graph for this function:

◆ Screen() [2/2]

Screen::Screen ( Bus * prmBus,
char * prmVdat )
inline

Definition at line 135 of file Screen.h.

Member Function Documentation

◆ ChangePage() [1/2]

bool Screen::ChangePage ( const std::string & pageName)
inline

Definition at line 76 of file Screen.h.

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

◆ ChangePage() [2/2]

void Screen::ChangePage ( UINT i)
inline

Definition at line 103 of file Screen.h.

Here is the call graph for this function:

◆ FrameMove()

void Screen::FrameMove ( float fElapsed)
inline

Definition at line 68 of file Screen.h.

◆ HandleKeyPress()

bool Screen::HandleKeyPress ( short key,
bool shift )
inline

Definition at line 54 of file Screen.h.

◆ OnPageChange()

void Screen::OnPageChange ( bool sendUpdate = true)
inline

Definition at line 89 of file Screen.h.

Here is the caller graph for this function:

◆ Render()

bool Screen::Render ( )
inline

Definition at line 35 of file Screen.h.

◆ RestorePage()

void Screen::RestorePage ( )
inline

Definition at line 117 of file Screen.h.

Here is the call graph for this function:

◆ UpdateKeyRepeat()

bool Screen::UpdateKeyRepeat ( const unsigned char * keys,
bool shift,
float elapsed )
inline

Definition at line 61 of file Screen.h.

Member Data Documentation

◆ bus

Bus* Screen::bus
private

Definition at line 14 of file Screen.h.

◆ bypassVdat

bool Screen::bypassVdat = false

Definition at line 26 of file Screen.h.

◆ currentPage

UINT Screen::currentPage = 0

Definition at line 22 of file Screen.h.

◆ height

int Screen::height = 0

Definition at line 30 of file Screen.h.

◆ hr

HRESULT Screen::hr = 0
private

Definition at line 13 of file Screen.h.

◆ lastPage

int Screen::lastPage = -1
private

Definition at line 12 of file Screen.h.

◆ name

std::string Screen::name
Todo
could configure defaultPage

Definition at line 25 of file Screen.h.

◆ pages

std::vector<Page> Screen::pages

Definition at line 27 of file Screen.h.

◆ rect

RECT Screen::rect = RECT()

Definition at line 33 of file Screen.h.

◆ vdat

char* Screen::vdat
private

Definition at line 15 of file Screen.h.

◆ width

int Screen::width = 0

Definition at line 29 of file Screen.h.

◆ x

int Screen::x = 0

Definition at line 31 of file Screen.h.

◆ y

int Screen::y = 0

Definition at line 32 of file Screen.h.


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