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.

Topics - che2a

Pages: [1]
Help requests / [solved] listView and symbols
« on: 28 May 2020, 16:01:11 »
Hello, the ListView widget does not display the € symbol

I tried with sf::String::FromUtf8 and utf16 but it not works

How i can display symbols ?

Thank you

str_annual_wages = std::to_string(drivers_vector[i]->contract->getAnnualWages()) + "€";

vect.push_back(sf::String::fromUtf8(str_annual_wages.begin(), str_annual_wages.end()));

// This is a part of my code, i use vectors to fill the listview columns


Help requests / how get a widget and use it ?
« on: 26 May 2020, 13:37:35 »
Hello, when i get a widget i have a widget::ptr

But i need to get the widget to use moveToFront() because he is displayed behind an another widget

I need to do something like that :
tgui::MenuBar::Ptr widget = gui->get<tgui::MenuBar>("MenuBar");

Thank you

General Discussion / Example: Scalable login screen - Error
« on: 18 May 2020, 16:59:04 »
Hello im  newbie, when i try the code from Scalable login screen for 0.8 version

i get this error (in loop) :

An internal OpenGL call failed in Texture.cpp(98).
Error description:
    The specified operation is not allowed in the current state.

Pages: [1]