From 9633c6a8608175e9832f6995efc46023deebcf94 Mon Sep 17 00:00:00 2001 From: heavydemon21 Date: Thu, 19 Dec 2024 15:05:56 +0100 Subject: removed absoluut position because file name, renamed functions in sdlcontext --- src/crepe/facade/SDLContext.cpp | 4 ++-- src/crepe/facade/SDLContext.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/crepe/facade') diff --git a/src/crepe/facade/SDLContext.cpp b/src/crepe/facade/SDLContext.cpp index 642aef8..31b0a0b 100644 --- a/src/crepe/facade/SDLContext.cpp +++ b/src/crepe/facade/SDLContext.cpp @@ -24,11 +24,11 @@ #include "api/Transform.h" #include "facade/Font.h" #include "manager/Mediator.h" +#include "util/AbsolutePosition.h" #include "SDLContext.h" #include "Texture.h" #include "types.h" -#include "util/AbsoluutPosition.h" using namespace crepe; using namespace std; @@ -204,7 +204,7 @@ void SDLContext::draw_text(const RenderText & data) { const Text & text = data.text; const Font & font = data.font; - vec2 absoluut_pos = AbsoluutPosition::get_position(data.transform, data.text.offset); + vec2 absoluut_pos = AbsolutePosition::get_position(data.transform, data.text.offset); std::unique_ptr> font_surface; std::unique_ptr> font_texture; diff --git a/src/crepe/facade/SDLContext.h b/src/crepe/facade/SDLContext.h index 1dada74..7f07d34 100644 --- a/src/crepe/facade/SDLContext.h +++ b/src/crepe/facade/SDLContext.h @@ -18,8 +18,8 @@ #include "api/KeyCodes.h" #include "api/Sprite.h" #include "api/Transform.h" -#include "types.h" +#include "types.h" #include "EventData.h" #include "FontFacade.h" -- cgit v1.2.3