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

#include <Text.h>

Collaboration diagram for Text:
[legend]

Public Member Functions

 Text (Logger *prmLogger, Bus *prmBus, DeviceObject *prmpDevice, Rendering::RenderFont *prmFont, int prmX, int prmY, int prmWidth, int prmHeight)
void Draw (WCHAR *str)

Public Attributes

int x
int y
float z
RiseMath::Color color
int width = 0
int height = 0
int flags = DT_NOCLIP | DT_SINGLELINE | DT_EXPANDTABS
WCHAR formattedText [32]
bool hasVar = false
std::string elementName
int font = 0

Private Attributes

RECT rect
Logger * logger = nullptr
Bus * bus = nullptr
DeviceObject * pDevice = nullptr
Rendering::RenderFont * pFont = nullptr
RiseMath::Matrix transform

Detailed Description

Definition at line 50 of file Text.h.

Constructor & Destructor Documentation

◆ Text()

Text::Text ( Logger * prmLogger,
Bus * prmBus,
DeviceObject * prmpDevice,
Rendering::RenderFont * prmFont,
int prmX,
int prmY,
int prmWidth,
int prmHeight )

Definition at line 3 of file Text.cpp.

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

Member Function Documentation

◆ Draw()

void Text::Draw ( WCHAR * str)

Definition at line 35 of file Text.cpp.

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

Member Data Documentation

◆ bus

Bus* Text::bus = nullptr
private

Definition at line 54 of file Text.h.

◆ color

RiseMath::Color Text::color

Definition at line 64 of file Text.h.

◆ elementName

std::string Text::elementName

Definition at line 69 of file Text.h.

◆ flags

int Text::flags = DT_NOCLIP | DT_SINGLELINE | DT_EXPANDTABS

Definition at line 66 of file Text.h.

◆ font

int Text::font = 0

Definition at line 70 of file Text.h.

◆ formattedText

WCHAR Text::formattedText[32]

Definition at line 67 of file Text.h.

◆ hasVar

bool Text::hasVar = false

Definition at line 68 of file Text.h.

◆ height

int Text::height = 0

Definition at line 65 of file Text.h.

◆ logger

Logger* Text::logger = nullptr
private

Definition at line 53 of file Text.h.

◆ pDevice

DeviceObject* Text::pDevice = nullptr
private

Definition at line 55 of file Text.h.

◆ pFont

Rendering::RenderFont* Text::pFont = nullptr
private

Definition at line 57 of file Text.h.

◆ rect

RECT Text::rect
private

Definition at line 52 of file Text.h.

◆ transform

RiseMath::Matrix Text::transform
private

Definition at line 58 of file Text.h.

◆ width

int Text::width = 0

Definition at line 65 of file Text.h.

◆ x

int Text::x

Definition at line 62 of file Text.h.

◆ y

int Text::y

Definition at line 62 of file Text.h.

◆ z

float Text::z

Definition at line 63 of file Text.h.


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