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

Messages - CatalinNic

#16
Help requests / Remove widget
13 September 2019, 20:11:50
I saw there is a function "RemoveWidget" and I don't know how to call it properly. Can someone make an example to see how to use it?

And a side note: someone need to add more tutorials. 
#17
Help requests / Re: List view
04 September 2019, 22:08:25
You need to use std=c++17 flag in order to compile and thanks
#18
Help requests / Re: List view
04 September 2019, 20:22:38
So, what are you saying is that the connect function will just do its thing with the item that was just added?
#19
Help requests / List view
04 September 2019, 20:13:07
I want to create a list view and at this moment there are no tutorials covering TGUI and the question is: How I connect each individual items of a list view? For example I wrote this code:
Code (cpp) Select

void Editor::Open_dir(tgui::Gui& Editor_gui)
{
    tgui::ListView::Ptr file_listview = tgui::ListView::create();
    std::string path = "Maps";
    for(const std::filesystem::directory_entry& files : std::filesystem::directory_iterator(path))
    {
        file_listview->addItem(files.path().c_str());
        file_listview->connect("pressed", Open_file /*, ...*/);
    }     
}

or is this incorrect?
#20
Help requests / Open file dialog
03 September 2019, 17:24:03
There is in this library an open file dialog function or something like that? Because i want to create a level editor embedded in my game
#21
Help requests / Function signatures
03 September 2019, 11:46:50
I've tried in past to make a gui from scratch before using this library and i wondered: how the library stores function signature?