|
ShishGL
1.0
A simple modular cross-platform graphics library
|
|
Go to the documentation of this file.
2 #ifndef SHISHGL_SFML_PLATFORM_HPP
3 #define SHISHGL_SFML_PLATFORM_HPP
8 #include <SFML/Graphics.hpp>
41 explicit SfmlContext(
const std::string_view& filename);
46 const Color& color)
override;
58 const Color& color)
override;
78 const double& radius)
override;
94 Align align)
override;
104 bool initDisplay(
int* argc_ptr,
char* argv[])
override;
130 sf::RenderWindow* canvas;
134 sf::Texture* active_texture;
135 std::unordered_map<std::string_view, sf::Texture*> textures;
137 sf::Font* active_font;
138 std::unordered_map<std::string_view, sf::Font*> fonts;
146 #endif //SHISHGL_SFML_PLATFORM_HPP
text
Definition: prettify_colors.py:6
void updateAt(const Vector2< size_t > &pos, const Color &color) override
Definition: Draw.cpp:27
void update(const Color *data) override
Definition: Draw.cpp:23
Definition: CoreApplication.hpp:10
~SfmlContext() override=default
Definition: ResourceManager.hpp:14
Definition: IPlatform.hpp:32
SfmlContext(const Vector2< size_t > &size, const Color &color)
Definition: Draw.cpp:8
Definition: Platform.hpp:35