Minor problems with tutorial.
« on: 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:
Code: [Select]
tgui::Gui gui gui(window);This isn't right as far as I can tell, and should be:
Code: [Select]
tgui::Gui gui(window);
2 )On the second page, the second last and last code blocks contain the line:
Code: [Select]
editBoxPassword->setPasswordChar('*');Which should be changed to:
Code: [Select]
editBoxPassword->setPasswordCharacter('*');
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.
« Last Edit: 30 July 2013, 05:02:08 by watarok »

*

texus

  • *****
  • 1161
    • View Profile
    • Texus's Blog
Re: Minor problems with tutorial.
« Reply #1 on: 30 July 2013, 10:16:10 »
Thanks for pointing out these mistakes. There fixed now.

Re: Minor problems with tutorial.
« Reply #2 on: 02 August 2013, 04:48:51 »
Great!
Also, page three mentions window.setGlobalFont which is actually a function of tgui::Gui.

*

gupas

  • *
  • 23
    • View Profile
Re: Minor problems with tutorial.
« Reply #3 on: 02 August 2013, 08:34:49 »
In the new callback system tutorial, you should also replace boost::bind.

*

texus

  • *****
  • 1161
    • View Profile
    • Texus's Blog
Re: Minor problems with tutorial.
« Reply #4 on: 02 August 2013, 11:01:07 »
Fixed. Thanks.