diff options
author | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-12-16 20:52:43 +0100 |
---|---|---|
committer | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-12-16 20:52:43 +0100 |
commit | 8abc6008880dd9ed0c16a68a126b49f0eb03caa2 (patch) | |
tree | 98bf7773f81d9896df6c17a7d662dd6f4380023f /src/crepe/facade/SDLContext.h | |
parent | 56342ffab9daade7802b015ac83b9c47a8b9b18b (diff) |
fonting
Diffstat (limited to 'src/crepe/facade/SDLContext.h')
-rw-r--r-- | src/crepe/facade/SDLContext.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/crepe/facade/SDLContext.h b/src/crepe/facade/SDLContext.h index efdd6fe..3f9f9ee 100644 --- a/src/crepe/facade/SDLContext.h +++ b/src/crepe/facade/SDLContext.h @@ -20,6 +20,8 @@ namespace crepe { class Texture; +class Text; +class Font; class Mediator; /** @@ -183,6 +185,8 @@ public: */ void draw(const RenderContext & ctx); + void draw_text(const Text & text, const Font & font); + //! Clears the screen, preparing for a new frame. void clear_screen(); |