Added missing headers

0.8
Bruno Van de Velde 2016-09-16 01:45:46 +02:00
parent 3d1b4340b7
commit 58a0787299
9 changed files with 11 additions and 3 deletions

View File

@ -24,6 +24,7 @@
#include <TGUI/TGUI.hpp>
#include <iostream>
int main()
{

View File

@ -24,6 +24,7 @@
#include <TGUI/TGUI.hpp>
#include <iostream>
void login(tgui::EditBox::Ptr username, tgui::EditBox::Ptr password)
{

View File

@ -29,6 +29,7 @@
#include <SFML/System/Vector2.hpp>
#include <TGUI/Config.hpp>
#include <functional>
#include <string>
#include <memory>
#include <vector>
#include <set>

View File

@ -26,6 +26,7 @@
#include <TGUI/Global.hpp>
#include <TGUI/Clipboard.hpp>
#include <TGUI/Exception.hpp>
#include <functional>
#include <sstream>
#include <locale>
#include <cctype> // isspace

View File

@ -235,7 +235,7 @@ namespace tgui
if (m_checked)
{
const constexpr float pi = 3.14159265358979f;
const float pi = 3.14159265358979f;
// Set the clipping for all draw calls that happen until this clipping object goes out of scope
Clipping clipping{target, states, {borders.left, borders.top}, getInnerSize()};

View File

@ -31,7 +31,7 @@
namespace
{
const constexpr float pi = 3.14159265358979f;
const float pi = 3.14159265358979f;
}
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

View File

@ -22,8 +22,10 @@
//
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
#include "catch.hpp"
#include "Tests.hpp"
#include <TGUI/Exception.hpp>
#include <TGUI/Texture.hpp>
#include <TGUI/TextureManager.hpp>
#include <SFML/System/Err.hpp>
TEST_CASE("[Texture]")

View File

@ -24,6 +24,7 @@
#include "catch.hpp"
#include <TGUI/TextureManager.hpp>
#include <TGUI/Exception.hpp>
#include <TGUI/Texture.hpp>
#include <SFML/System/Err.hpp>

View File

@ -24,6 +24,7 @@
#include "Tests.hpp"
#include <TGUI/ToolTip.hpp>
#include <TGUI/TextureManager.hpp>
#include <TGUI/Widgets/Label.hpp>
#include <TGUI/Widgets/Panel.hpp>