Main Menu
Menu

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.

Show posts Menu

Messages - eugustus

#1
Feature requests / Re: Virtual keyboard
05 April 2021, 13:21:51
I'll Try to implement something. But it won't be in closely the days, I stumble into a new housing ... But I have to emphasize that I don't have to recall gui.handleEvent(...) inside the event handler again ..
#2
Feature requests / Re: Virtual keyboard
04 April 2021, 22:02:19
I do not want OS-specific keyboard.
I see this so that the keyboard object must 'bind' to the input field. Each time the button is clicked, the input field must be re-focused programmatically. Which would mean that there could be two versions of how the keyboard can be binded to the input field. Either one 'singleton' for all input fields, or one 'no sengleton' for each input field?
#3
Feature requests / Virtual keyboard
30 March 2021, 19:29:14
Hello to everybody. Has anyone implemented a virtual keyboard with tgui? Can he do it at all? :)
#4
Help requests / Re: Undefined reference to .connect
31 December 2020, 15:06:27
Quote from: texus on 19 June 2020, 12:52:46
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!!
#5
Sorry it's OK. I had a typo in the code ...

Thank you for your help!
#6
So, the generated form looks like this:

Code (ini) Select
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:

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

I'm getting this error:

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

:)



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