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.


Messages - texus

Pages: 1 ... 88 89 [90] 91 92
1336
Installation help / Re: Visual studio 2013 compile error
« on: 07 July 2013, 13:54:27 »
Ok, so the version that I just pushed to github should compile then.

Thanks for taking the time to investigate what was wrong.

1337
General Discussion / Re: Tgui without Boost
« on: 06 July 2013, 15:02:31 »
Thanks, I'll use this when I start using c++11.
But once I start using c++11 I won't just get rid of boost, I will also use c++11 for the rest of the code, so this is only a small part of what I eventually will write. For tgui v0.6 I also aim to support at least VC++10 and GCC 4.6. So the use of c++11 will still be limited in v0.6.

1338
Installation help / Re: Visual studio 2013 compile error
« on: 05 July 2013, 14:12:58 »
Did you read the msdn page about the error? Did you try changing optimization?

The error happens on line 2273, but the place that you say it stopped compiling in on a different line. Is this just a mistake or are there errors for other lines than 2273?
EDIT: The line numbers were messed up in my browser for some reason. Now I see that that code is indeed on line 2273.

I don't think I can change the code to solve this, it seems to be a problem with the compiler.

1339
Help requests / Re: Form Builder issues
« on: 04 July 2013, 18:54:25 »
While debugging with VS2010 I only found an assertion when selection the text from any edit box.
So you might want to try and remove the '-1' from the end of line 1711 in EditBox.cpp.

If this doesn't fix your issue then it would indeed be best to debug it yourself. I currently have to borrow a laptop from someone to test on windows and I can't do much either when I can't reproduce it or when I don't have a call stack.

1340
Help requests / Re: Callback help!
« on: 04 July 2013, 14:56:51 »
I didn't look at the code in detail, but you aren't calling window.handleEvent in your event loop which is probably the problem.

In tgui v0.5 the headers aren't installed and you have to either copy the folder yourself like you did or set the path to the include folder in your code blocks settings (or as '-I' parameter to the compiler when using g++ directly).
In tgui v0.6 I have already changed it so that the files are installed correctly when calling "make install".

1341
Help requests / Re: Form Builder issues
« on: 04 July 2013, 11:14:07 »
Strange, I can't reproduce that.

Edit: tested on linux and on windows with GCC/MinGW for both the previous version and the latest version. I doesn't crash here.

1342
Help requests / Re: Form Builder issues
« on: 03 July 2013, 21:08:19 »
It has been fixed now.
I deleted the width and height properties from label some time ago and apparently they were still used when changing the text or text size.

1343
Help requests / Re: Loading object position etc from file
« on: 03 July 2013, 18:00:45 »
There is a small explanation on object files on the old site (which means outdated, but still usable).

You should also take a look at the FormObjectsWindow.txt in the Form Builder folder. It only gives an example for Picture and Button, but it always has the latest syntax (e.g. uses ConfigFile instead of Pathname).

1344
Help requests / Re: Form Builder issues
« on: 03 July 2013, 00:21:58 »
It is supposed to be working. I don't test it much, but there shouldn't be problems with it.
I recently build the one that is included with the latest 0.6 version, and I didn't see a problem at first sight (I only quickly added some objects and moved them around).

Could you be a little more specific about what version you have downloaded?
Did you download tgui v0.5 or v0.6-dev? If v0.6 then did you just download it or a did you download it few days ago (so that I know if it is the latest version or one from a few days old)?

Just in case that it would be OS specific, can you also tell me what OS you use and which compiler? Then I can make the test in the same circumstances.

Edit: Can I safely assume that drawing images with sfml isn't a problem and that it really is the form builder? I don't want to start debugging only to find out later that it was just a driver issue.

1345
Help requests / Re: Object layout example
« on: 01 July 2013, 20:05:47 »
Grid will place your objects next to each other, so you don't have to set an exact position.
With the addToRow function you add the object to the right of the previous object and you can use addRow to go to the next row. The addToRow function also optionally takes borders as parameter to put some space between objects. So Grid can be used to make a menu screen by placing buttons beneath each other, without you having to worry about the exact position of the buttons. But Grid doesn't change the size of the objects, you have to set the size yourself.

Although Grid can be compared with the layouts from qt, it still has a lot of limitations.
Support for real layouts is pretty hard. I mostly have to consider how it will be designed, which functions it will have, ...
So this can't be expected before v0.7.

The stretched text is indeed problematic. Depending on where the text is you could draw it with sfml directly with a different view than the gui, but that isn't a great solution either.

1346
Help requests / Re: Object layout example
« on: 01 July 2013, 18:22:02 »
What exactly are you talking about? I didn't add layouts.

There is only Grid so far, but this doesn't help against manually resizing.

Depending on what you want to do, you should use a different view to draw the gui. This will allow you to zoom without manually resizing objects.

1347
Help requests / Re: Documentation for TGUI config files
« on: 30 June 2013, 18:05:18 »
Not yet, but almost all possible options are already used in the Black.conf file.

I've created the list, you can find it in the new config file turorial.
There are no explanations of what every option does (I'll add that later), so you'd still have to take a look at the Black.conf file to see how they are used.

1348
General Discussion / Re: 0.6-testing merge to master
« on: 28 June 2013, 21:45:38 »
It was merged into master a little more than one week ago, I just forgot to delete the branch.

I can't do that now, but I'll remove the branch in the next few days to make sure there is no more confusion.

1349
You are using an older sfml version.
The problems should go away when using the latest version.

1350
Help requests / Re: static tgui::Window problem
« on: 12 June 2013, 21:09:53 »
I've only saw an error like that happen when linking the debug library in release mode.

Pages: 1 ... 88 89 [90] 91 92