diff --git a/include/guecs/sfml/backend.hpp b/include/guecs/sfml/backend.hpp index fc36f35..e4c2e9f 100644 --- a/include/guecs/sfml/backend.hpp +++ b/include/guecs/sfml/backend.hpp @@ -1,3 +1,4 @@ +#pragma once #include "guecs/ui.hpp" namespace sfml { diff --git a/include/guecs/ui.hpp b/include/guecs/ui.hpp index b25d940..c6c1fa0 100644 --- a/include/guecs/ui.hpp +++ b/include/guecs/ui.hpp @@ -229,7 +229,6 @@ namespace guecs { void show_sprite(const string& region, const string& sprite_name); void show_icon(const string& region, const string& sprite_name); void show_text(const string& region, const wstring& content); - void show_label(const string& region, const wstring& content); }; diff --git a/src/guecs/sfml/components.cpp b/src/guecs/sfml/components.cpp index 45184dd..6e04f14 100644 --- a/src/guecs/sfml/components.cpp +++ b/src/guecs/sfml/components.cpp @@ -137,7 +137,6 @@ namespace guecs { assert(w > 0.0f && "Background.w must be > 0.0f. Forgot $gui.$parser?"); assert(h > 0.0f && "Background.h must be > 0.0f. Forgot $gui.$parser?"); - std::cout << "x=" << x << " y=" << y << " w=" << w << " h=" << h << std::endl; sf::Vector2f size{float(w), float(h)}; if(shape == nullptr) { shape = make_shared(size);