aboutsummaryrefslogtreecommitdiff
path: root/include/ResourceLoader.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/ResourceLoader.hpp')
-rw-r--r--include/ResourceLoader.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/ResourceLoader.hpp b/include/ResourceLoader.hpp
index 52f4975..f2b2888 100644
--- a/include/ResourceLoader.hpp
+++ b/include/ResourceLoader.hpp
@@ -1,6 +1,6 @@
#pragma once
-namespace sf {
+namespace mgl {
class Font;
class Texture;
}
@@ -20,10 +20,10 @@ namespace QuickMedia::FontLoader {
};
// Note: not thread-safe
- sf::Font* get_font(FontType font_type);
+ mgl::Font* get_font(FontType font_type, unsigned int character_size);
}
namespace QuickMedia::TextureLoader {
- // Note: not thread-safe
- sf::Texture* get_texture(const char *filepath);
+ // Note: not thread-safe. Filepath is relative to the resource loader root path
+ mgl::Texture* get_texture(const char *filepath, bool pixel_coordinates = false);
} \ No newline at end of file