Dualie
Loading...
Searching...
No Matches
dl::TextBuffer Class Reference

Used to contain text objects. This class is required for the Text object to operate. More...

#include <TextBuffer.hpp>

Public Member Functions

 TextBuffer (size_t bufSize)
 
void flushBuffer ()
 flushes the text buffer. This should be done if the text changes frequently, such as a timer or FPS counter. Note that after this is done all text that use this buffer should be either be updated using Text::updateDynamicText or reset using Text::setString.
 

Friends

class Text
 

Detailed Description

Used to contain text objects. This class is required for the Text object to operate.

Note
Multiple texts can be assigned to a single text buffer so long as they do not overflow the buffer

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