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

#include <TextHelper.h>

Collaboration diagram for RiseTextHelper:
[legend]

Public Member Functions

 RiseTextHelper (Rendering::RenderFont *font, Rendering::RenderSprite *sprite, int height)
void Begin ()
void End ()
void SetInsertionPos (int left, int top)
void SetForegroundColor (Rendering::PackedColor value)
HRESULT DrawTextLine (const wchar_t *text)
HRESULT DrawFormattedTextLine (const wchar_t *format,...)

Private Attributes

Rendering::RenderFont * font
Rendering::RenderSprite * sprite
int height
int x =0
int y =0
Rendering::PackedColor color =0xffffffff

Detailed Description

Definition at line 4 of file TextHelper.h.

Constructor & Destructor Documentation

◆ RiseTextHelper()

RiseTextHelper::RiseTextHelper ( Rendering::RenderFont * font,
Rendering::RenderSprite * sprite,
int height )
inline

Definition at line 7 of file TextHelper.h.

Member Function Documentation

◆ Begin()

void RiseTextHelper::Begin ( )
inline

Definition at line 8 of file TextHelper.h.

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

◆ DrawFormattedTextLine()

HRESULT RiseTextHelper::DrawFormattedTextLine ( const wchar_t * format,
... )
inline

Definition at line 17 of file TextHelper.h.

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

◆ DrawTextLine()

HRESULT RiseTextHelper::DrawTextLine ( const wchar_t * text)
inline

Definition at line 12 of file TextHelper.h.

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

◆ End()

void RiseTextHelper::End ( )
inline

Definition at line 9 of file TextHelper.h.

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

◆ SetForegroundColor()

void RiseTextHelper::SetForegroundColor ( Rendering::PackedColor value)
inline

Definition at line 11 of file TextHelper.h.

Here is the caller graph for this function:

◆ SetInsertionPos()

void RiseTextHelper::SetInsertionPos ( int left,
int top )
inline

Definition at line 10 of file TextHelper.h.

Here is the caller graph for this function:

Member Data Documentation

◆ color

Rendering::PackedColor RiseTextHelper::color =0xffffffff
private

Definition at line 25 of file TextHelper.h.

◆ font

Rendering::RenderFont* RiseTextHelper::font
private

Definition at line 22 of file TextHelper.h.

◆ height

int RiseTextHelper::height
private

Definition at line 24 of file TextHelper.h.

◆ sprite

Rendering::RenderSprite* RiseTextHelper::sprite
private

Definition at line 23 of file TextHelper.h.

◆ x

int RiseTextHelper::x =0
private

Definition at line 24 of file TextHelper.h.

◆ y

int RiseTextHelper::y =0
private

Definition at line 24 of file TextHelper.h.


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