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 ..
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 MenuQuote 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
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;
}
}
m_tgui->loadWidgetsFromFile("/home/denis/projects/test-sfml/data/themes/test.txt", true);
tgui/src/TGUI/Container.cpp:218: virtual void tgui::Container::add(const Ptr&, const sf::String&): Assertion `widgetPtr != nullptr' failed.