Fully converted to using the lel-guecs library externally now.
This commit is contained in:
parent
7c90eb6da1
commit
74a8599977
30 changed files with 139 additions and 1194 deletions
19
backend.hpp
Normal file
19
backend.hpp
Normal 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();
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue