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 - netrick

#46
Installation help / Re: gcc errors in linux
08 July 2013, 23:09:50
Maybe you are using outdated SFML2 version? Download sfml2 current sources and compile it using:

cmake .
make
sudo make install


Also make sure you use the same commands to compile tgui.

(just a guess, I never encountered something like that with tgui on linux)
#47
It's very nice day here in Poland though :P

"Useless post is useless" - Plato 385 BC
#48
General Discussion / Re: Tgui without Boost
07 July 2013, 20:26:57
When you get into C++11, you can develop I think easily 30% faster, C++11 is much more productive and modern. So that would be an advantage for you.

I builded and set to default gcc 4.8 on ubuntu 12.04, but that forced me to rebuild every library and basically broke my system, so... it's very bad idea.

However I have acces to gcc 4.8 on my chakra (also arch based, very fast and kiss-oriented!), but then I wouldn't be able to compile my code on any other distro so I will wait with using gcc 4.8 features until it gets shipped with ubuntu (probably 13.10 I think).
#49
General Discussion / Re: Tgui without Boost
07 July 2013, 20:05:34
The big problem with C++11 is that in g++ 4.6 (which is the one used in ubuntu 12.04 lts) it doesn't support this:


class a
{
int m_var = 0; //default value
};


And you have to manually write big constructor's initializer lists :( Once I discovered this feature I am much more productive when writing new classes (it's so damn easier now). Unfortunately, it forced me to move to (L)ubuntu 13.04 so I have better C++11 support.

Why care about ubuntu? Well a majority of linux users use ubuntu and a majority of ubuntu users use LTS. However in april 2014 with ubuntu 14.04 lts the problem will be automatically fixed :)

The rest of C++11 features I use are available in g++ 4.6 so tgui 0.6 can still use many of c++11 (I'm yet to see modern distro with g++ 4.5 other than centos)

Tdm-gcc 4.7 is standard for Windows (shipped by codeblocks and codelite and generally widely-used) so no problem there.

And well, on those visual c++ users, I think we shouldn't care about them :) It's better to force them to use open and better compilers, with better c++11 support.
#50
Is there any tutorial how exactly file with widget's position etc should look like?

I don't mean a theme file. I mean a file where I can put widget name, type, size, position etc so I can change most basic things without recompilation.

I wanted to create AngelScript wrapper of TGUI so I could handle GUI by scripts, but I found info about loading object positions from file on TGUI's site so I think it may be easier for me. I just can't find info about it.
#51
Help requests / Re: Object layout example
01 July 2013, 19:15:14
I thought Grid was something like layouts in qt. It seems I was wrong. So what is exactly a grid?

Also, the idea with view is a good and easy one - altough that way the text will be stretched :/ And in my game there is a lot of text and I need it to be the same size on every resolution.
#52
Help requests / Object layout example
01 July 2013, 17:56:58
I wanted to ask you about adding basic layouts to tgui (because manually resizing widgets was a PAIN in my code), but I've just realised that they had been added.

Could you write some simple example code how to use them properly?
#53
Thanks.
#54
Is there any documentation for config files? I mean a list of attributes which every object can have.
#55
When will 0.6-testing be merged to master? I think having two development branches is a little confusing.
#56
In file included from TGUI-master/src/TGUI/Group.cpp:26:0:
TGUI-master/include/TGUI/TGUI.hpp:58:25: fatal error: TGUI/Form.hpp: No such file.

Could you solve it? I reinstalled my OS and now I can't get tgui working and compile my project.
#57
Website / Re: A few suggestions
04 May 2013, 10:00:36
Now it looks really good on linux :) I think the colors may easily stay as they are right now, because they are good and you don't clone sfml forum.

It's still worth to have a look at quick register option though. I know it exists for phpbb, however I have no experience on this forum so I can't tell you how to do it. Maybe there is some mod or something.
#58
Website / A few suggestions
03 May 2013, 20:41:47
1) You should change theme completely or install something more used like phpbb which is much more polished. Right now it looks ugly and especially under linux the fonts look really bad (and for example SFML forum looks great under ubuntu).
It looks nice and clean under windows, but not on linux.

2) You should add quick register option next to login - ie without opening new page, just type login, email and password and you are instantly registered.