Dualie
Loading...
Searching...
No Matches
TextBuffer.hpp
1//
2// Created by caleb on 7/20/24.
3//
4
5#ifndef DUALIE_TEXTBUFFER_HPP
6#define DUALIE_TEXTBUFFER_HPP
7#include <citro2d.h>
8
9namespace dl
10{
11
17 {
18
19 C2D_TextBuf m_buffer;
20
21 public:
22 explicit TextBuffer(size_t bufSize);
24
30 void flushBuffer();
31
32 friend class Text;
33 };
34
35}
36#endif //DUALIE_TEXTBUFFER_HPP
Used to contain text objects. This class is required for the Text object to operate.
Definition TextBuffer.hpp:17
void flushBuffer()
flushes the text buffer. This should be done if the text changes frequently, such as a timer or FPS c...
Definition TextBuffer.cpp:17
A class used to handle the transformation and drawing of visible text.
Definition Text.hpp:31