Minor problems with tutorial.

Started by watarok, 30 July 2013, 04:59:43


I just got started with this and am quite pleased with it so far. There are a few errors in the tutorials I'd like to point out, however.

1) In the first tutorial page, second code block, there is the following line:
tgui::Gui gui gui(window);
This isn't right as far as I can tell, and should be:
tgui::Gui gui(window);

2 )On the second page, the second last and last code blocks contain the line:
Which should be changed to:

The first mistake is fixed in the full code at the end of the tutorial, but the second one is still there.
Keep up the good work!

Edit: This is all using version 0.6.


Thanks for pointing out these mistakes. There fixed now.


Also, page three mentions window.setGlobalFont which is actually a function of tgui::Gui.


In the new callback system tutorial, you should also replace boost::bind.