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
Feature requests / Re: Virtual keyboard
« on: 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
« on: 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
« on: 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
« 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!!

5
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!

6
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:

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