Removed the setFont calls in the example codes

0.8
Bruno Van de Velde 2016-01-04 20:11:57 +01:00
parent 843f602a4e
commit 1dfc621c3c
4 changed files with 0 additions and 6 deletions

View File

@ -23,7 +23,6 @@ int main(int argc, char *argv[])
sf::RenderWindow window(sf::VideoMode::getDesktopMode(), "");
tgui::Gui gui(window);
gui.setFont("fonts/DejaVuSans.ttf");
auto theme = std::make_shared<tgui::Theme>("widgets/Black.txt");
auto picLandscape = std::make_shared<tgui::Picture>("Background-Landscape.png");

View File

@ -7,7 +7,6 @@ int main()
window.setFramerateLimit(60);
tgui::Gui gui(window);
gui.setFont("../../fonts/DejaVuSans.ttf");
tgui::Theme::Ptr theme = std::make_shared<tgui::Theme>("../../widgets/Black.txt");

View File

@ -54,9 +54,6 @@ int main()
try
{
// Load the font
gui.setFont("../../fonts/DejaVuSans.ttf");
// Load the widgets
loadWidgets(gui);
}

View File

@ -4,7 +4,6 @@ int main()
{
sf::RenderWindow window(sf::VideoMode(400, 300), "TGUI window");
tgui::Gui gui(window);
gui.setFont("../../fonts/DejaVuSans.ttf");
// Create the background image
gui.add(std::make_shared<tgui::Picture>("../Linux.jpg"));