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 - eugustus

Pages: [1]
1
Help requests / Re: Undefined reference to .connect
« on: 31 December 2020, 15:06:27 »
Are you including TGUI.hpp or are you including Signal.hpp directly? If you don't include TGUI.hpp then you must also include SignalImpl.hpp

It's good to KNOW!!

2
Help requests / Re: How to use file form generated by GUI_BUILDER?
« on: 29 December 2020, 19:27:24 »
Sorry it's OK. I had a typo in the code ...

Thank you for your help!

3
Help requests / Re: How to use file form generated by GUI_BUILDER?
« on: 29 December 2020, 19:22:10 »
So, the generated form looks like this:

Panel."panel-quick" {
    Size = (110, 400);

    Renderer {
        backgroundcolor = #7F7F7F;
        bordercolor = black;
        font = "/home/denis/projects/test-sfml/data/ubuntu_font/Ubuntu-C.ttf";
        padding = (2, 2, 2, 2);
        texturebackground = None;
    }
}


Loading:

m_tgui->loadWidgetsFromFile("/home/denis/projects/test-sfml/data/themes/test.txt", true);

I'm getting this error:

tgui/src/TGUI/Container.cpp:218: virtual void tgui::Container::add(const Ptr&, const sf::String&): Assertion `widgetPtr != nullptr' failed.

:)



         
         

4
Help requests / How to use file form generated by GUI_BUILDER?
« on: 29 December 2020, 18:55:21 »
Hi. I can't find anywhere how to use the form generated by gui_builder.
Is there a guide, an example or maybe someone can tell me, how I can use the generated code?
Thank you.

P.S. I use TGUI version 0.8.8

Pages: [1]