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

Topics - che2a

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

Code (cpp) Select

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

#2
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 :
Code (cpp) Select

tgui::MenuBar::Ptr widget = gui->get<tgui::MenuBar>("MenuBar");
widget->moveTofront();


Thank you
#3
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).
Experssion:
    glFlush()
Error description:
    GL_INVALID_OPERATION
    The specified operation is not allowed in the current state.