Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Superdude

Pages: [1]
1
Help requests / Re: Main Window crashes and stuff
« on: 29 August 2013, 23:44:22 »
VC++ 2012

I am pretty sure that that is not the problem.

2
Help requests / Main Window crashes and stuff
« on: 29 August 2013, 21:09:52 »
Here is my code:

Code: [Select]
#include <TGUI/TGUI.hpp>

int main()
{
    // Create the window
    sf::RenderWindow window(sf::VideoMode(1024,576), "Window");
    tgui::Gui gui(window);
gui.loadWidgetsFromFile("form.txt");
 
    // Load the font (you should check the return value to make sure that it is loaded)
    gui.setGlobalFont("fonts/DejaVuSans.ttf");
    while (window.isOpen())
    {
        sf::Event event;
        while (window.pollEvent(event))
        {
            if (event.type == sf::Event::Closed)
                window.close();
 
            // Pass the event to all the widgets (if there would be widgets)
            gui.handleEvent(event);
        }
 
        window.clear();
 
        // Draw all created widgets
        gui.draw();
 
        window.display();
    }
 
    return EXIT_SUCCESS;
}


Pretty much a copy of the tutorial, with some modifications.

So, I build and the console and window comes up(completely white). Pauses for  a few seconds, and stops working.

I have a form.txt and images folder from the form builder app. So I do not know what is wrong.

3
Help requests / Re: Form Builder does not work.
« on: 29 August 2013, 18:15:46 »
I accidentally set the Text size to 10000 and lost all my work... :(

4
Help requests / Re: Form Builder does not work.
« on: 29 August 2013, 17:39:06 »
Is the only button config black?

5
Help requests / Re: Form Builder does not work.
« on: 29 August 2013, 17:20:05 »
Thanks!

6
Help requests / Re: Form Builder does not work.
« on: 29 August 2013, 15:54:44 »
O_o The directory does have form builder.... My mistake then...
But it still does not work. I can move the main window, but the main window is blank, and the other windows are immovable no matter what I do.

Thanks,

Superdude

EDIT: Was the forum/tgui.eu/tgui.net down for a while?

7
Help requests / Form Builder does not work.
« on: 28 August 2013, 05:21:50 »
I recently started using TGUI in my SFML project. I am making a media player. So, I get the pre-compiled VS 2012 binaries and realize that it doesn't come with Form Builder.(You might want to change that. It is frustrating)
So I download the precompiled MinGW 5.2 binaries and it (thankfully) does come with FB. However, when I run the exe, All the windows come up, but they are unmovable and all the buttons are unclickable except for the main X button. I really would like to use this, and I can't use it effectively until FB is working. I hope the FB will be available soon. Can you tell me where/how/when I can get it?

Superdude

Pages: [1]