Fully converted to using the lel-guecs library externally now.

This commit is contained in:
Zed A. Shaw 2025-05-13 02:48:39 -04:00
parent 7c90eb6da1
commit 74a8599977
30 changed files with 139 additions and 1194 deletions

19
backend.hpp Normal file
View file

@ -0,0 +1,19 @@
#include "guecs/ui.hpp"
namespace sfml {
using std::string;
class Backend : public guecs::Backend {
int $shaders_version = 0;
public:
Backend();
guecs::SpriteTexture texture_get(const string& name);
void sound_play(const string& name);
void sound_stop(const string& name);
std::shared_ptr<sf::Shader> shader_get(const std::string& name);
bool shader_updated();
guecs::Theme theme();
};
}