Started by pbortler, 11 September 2020, 00:06:15
QuoteHow do you connect in 0.9? I used to be able to pass a function to listbox->connect("ItemPressed", cb) but I can no longer do this. listbox->onItemSelect.connect(cb); produces an error, as does passing (&cb).
QuoteI see that setView no longer exists and setRelativeView presumably should be used, but setRelativeView doesn't take a sensible obiect that can be converted into the parameter it desires. I can no longer pass in a sf::View, or even the result of sf::View::getViewport() even though it claims it is looking for a FloatRect (error converting between sf::FloatRect and tgui::FloatRect).
QuoteIt seems that I need to pollute my code with now-necessary type names in order to get your tgui::String to convert into either sf::String or std::string accordingly. This is very ugly.
QuoteCould you backport the fixes to the widgets to 0.8 before proceeding any further with 0.9?
QuoteDocumentation would be really helpful. Do you maybe have a younger brother or a cousin or a neighbour who could do it for you?