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

#1
Nice, thanks for the deep insight into this topic  ;)

Just wanted to know which is the right way to go before i start my new project.




AlexAUT
#2
Hello, how do you handle your github repository? Do you upload only kinda stable things like SFML do or should we use the stable releases?



AlexAUT
#3
Nice to hear, and thanks for the quick addition of this feature  :D


AlexAUT
#4
Quote from: texus on 01 February 2014, 20:41:02
but it doesn't fit with the fact that you can set a different font and text size for every line.

Didn't know that this is possible. Nice

Quote from: texus on 01 February 2014, 20:41:02
Setting one line spacing for the whole chatbox is something that I would do

That is what i meant. Because currently it looks kinda ugly when different lines with the same font/charactersize have different space between.




AlexAUT
#5
Makes sense to me  :) Thanks for your work to solve this "issue".

Currently I'm coding for the SFML game jam, but next week I will update tgui on my computer and test it.

Feature request: It would be nice if we could set the spacing between each line manually too.


AlexAUT
#6
Quote from: texus on 22 January 2014, 15:57:35
Looks good.
I played Kroniax some time ago when it was still new, I guess I should look at it again because a lot seems to have changed since then.

Yeah definitly, currently I'm refactoring the whole multiplayer mode and of course the gui  :) (tgui is working great)



AlexAUT
#7
Ok ~15% of the fonts i tested (around 20) didn't work, would be interessting to know why  :) .

But anyways thanks for the great gui and good luck with you exam tomorrow!

Little spoiler ;)




AlexAUT
#8
Quote from: texus on 22 January 2014, 12:47:33
Strange. If I run your code on my pc, then everything looks fine. The only change I made was use the DejaVuSans.ttf which is provided in tgui.

With DejaVuSans it works  :o . Hmm I will test some more font files and report the results later :)


Thanks.

AlexAUT
#9
Ok, here is a minimal example: https://pastebin.com/HARi0diB

The output from saveWidgetsToFile looks right. The line variable's content:
Lines = "(Test\,(0\,0\,0)),(Test2\,(0\,0\,0)),(ASFASF\,(0\,0\,0))"


But I can still only see the first line.



AlexAUT
#10
Help requests / Chatbox only displaying one line?
22 January 2014, 03:01:33
First thanks for this great Gui  :).

To the problem:

I have created a simple form with the form_builder with a chatbox on it. Then I load the form into a panel and because the Form_builder doesn't support it, I add lines to the checkbox manually in the c++ code.



   tgui::ChatBox::Ptr chatbox = panel->get<tgui::ChatBox>("ChatBox1");

   chatbox->addLine("Developed by Alexander Weinrauch (AlexAUT).", sf::Color::White);
   chatbox->addLine("Laurent Gomila for SFML!", sf::Color::White);
   chatbox->addLine("fallahn for sfChat (Chat system)", sf::Color::White);
   chatbox->addLine("MafiaFLairBeatz for the music!", sf::Color::White);
   chatbox->addLine("Machinimasound for the music!", sf::Color::White);
   chatbox->addLine("Alexandre Bodelot", sf::Color::White);
   chatbox->addLine("Lukas Dürrenberger", sf::Color::White);



But only the first line gets rendered  :o? So isn't it implemented yet or did I a misstake?

(I have to add you to the list too  ;) )
AlexAUT