Converted almost everything to use wstring so that it works better with SFML and the unicode/utf8 usage in the system.
This commit is contained in:
parent
47c6bfd531
commit
72951f308f
17 changed files with 156 additions and 162 deletions
|
@ -3,6 +3,7 @@
|
|||
#include "constants.hpp"
|
||||
#include "guecs.hpp"
|
||||
#include "textures.hpp"
|
||||
#include <fmt/xchar.h>
|
||||
|
||||
using namespace guecs;
|
||||
|
||||
|
@ -19,7 +20,7 @@ TEST_CASE("prototype one gui", "[ecs-gui]") {
|
|||
world.set<lel::Cell>(button, cell);
|
||||
world.set<Rectangle>(button, {});
|
||||
world.set<Clickable>(button, {});
|
||||
world.set<Textual>(button, {name});
|
||||
world.set<Textual>(button, {L"whatever"});
|
||||
}
|
||||
|
||||
gui.init();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue