aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/facade/SDLContext.h
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2024-12-17 14:16:47 +0100
committerheavydemon21 <nielsstunnebrink1@gmail.com>2024-12-17 14:16:47 +0100
commit68be6b67f79413cb4af0ca15262ca1547a7d0d41 (patch)
tree5bc75deae3bf94d4002428c459f36783f0d74d32 /src/crepe/facade/SDLContext.h
parentdff8c63a5af46fd3b0115e10efe9f0b67e9111b8 (diff)
finalized text rendering
Diffstat (limited to 'src/crepe/facade/SDLContext.h')
-rw-r--r--src/crepe/facade/SDLContext.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/crepe/facade/SDLContext.h b/src/crepe/facade/SDLContext.h
index 066a881..aeace07 100644
--- a/src/crepe/facade/SDLContext.h
+++ b/src/crepe/facade/SDLContext.h
@@ -193,6 +193,11 @@ public:
*/
void draw(const RenderContext & ctx);
+ /**
+ * \brief draws a text to the screen
+ *
+ * \param data Reference to the rendering data needed to draw
+ */
void draw_text(const RenderText & data);
//! Clears the screen, preparing for a new frame.