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

Messages - roccio

#46
Help requests / Combobox with many many items
19 August 2016, 16:45:30
Hello, I need a combobox with many items, (say over 1000), but if I add all the creation is very slow and even change item is a pain (better in release, but debug it's unusable). It there a workaround for this? Maybe I can load a little number of items (say 20) and when moving the list reload the correct ones. How can I do something like that? Or if are there better solution...

thank you
#47
Help requests / Re: Crash 32 bit debug
01 August 2016, 11:15:17
It is quite complex, as it it part of a big project. But the error must have been from my side, as I recompiled the whole project and now it works.

Thank you.
#48
Help requests / Re: Crash 32 bit debug
29 July 2016, 17:02:05
No, it seems correct. And doing the same on the 64 bit all works well.
#49
Help requests / Crash 32 bit debug
29 July 2016, 16:42:18
Hello, I am trying to make my application work for 32 bit machines. I use Visual Studio 2015 under win 10. I have downloaded the tgui libs for x86 and I can compile without problems.
Even if I run in release mode all works ok, only when trying to run in debug mode.

Here a very little test

#include <TGUI/TGUI.hpp>

int main()
{
tgui::Theme::Ptr theme = std::make_shared<tgui::Theme>("gui.cfg");
if (theme != nullptr)
tgui::Label::Ptr LABEL_TEMPLATE = theme->load("label");

return 0;
}


and here is the config file

Label {
    TextColor : (10, 10, 10);
}


Any ideas?

Thank you
#50
Help requests / Re: Disable colors
27 June 2016, 17:10:56
That makes sense, thank you.
#51
Help requests / Disable colors
27 June 2016, 16:32:01
Hello,
is possible to define disabled colors for the widget in the theme file?
I was unable to find something.

Thank you.
#52
Help requests / Re: MessageBox problem
24 June 2016, 16:56:06
Thank you very much!
#53
Help requests / Re: MessageBox problem
24 June 2016, 16:43:56
Ok, this way it works. Another question:

is it possible to have the messagebox modal?

how to get the button pressed?

Sorry for so many questions, but I have not found an example of how to use this widget.
#54
Help requests / MessageBox problem
24 June 2016, 12:00:18
Hello again,
I have a problem with the tgui::MessageBox.

I think the problem is with the VisualC++ compiler as it trys to replace MEssageBox with MessageBoxA as it is defined in the macro
#define MessageBox MessageBoxA

Is there a solution for this?
#55
Help requests / Re: Scrollable panel
22 June 2016, 16:22:22
Ok, thank you.

Works perfectly!
#56
Help requests / Scrollable panel
22 June 2016, 16:02:37
Hello, I have a panel I want to scroll and I have taken the code from the "scrollable panel" example. All works well, but I would like to scroll even when I use the mouse wheel over the panel. How can I do this?
#57
General Discussion / Re: Tgui logo?
11 June 2016, 07:51:17
Thank you very much,i will use one of these, maybe with transparent background.
#58
General Discussion / Tgui logo?
11 June 2016, 00:25:56
Hello, i would like to know if there is a tgui logo image (something like the one for sfml) so that i can put it in my project just for credit your library.

Thank you
#59
Help requests / Re: ListBox error
09 June 2016, 12:24:23
Ok, compiled and tested the original problem. Now it works!

Thank you!
#60
Help requests / Re: ListBox error
09 June 2016, 11:54:22
The sfml libs are 64 bit, my generator is Visual Studio 14 2015