HowTo: Add a ScrollWindow class to your project

A forum to store posts deemed exceptionally wise and useful
Post Reply
miko93
Posts: 54
Joined: Sat Nov 12, 2005 5:24 pm
Location: Regensburg, Germany
Contact:

HowTo: Add a ScrollWindow class to your project

Post by miko93 »

Hi all,

after stepping through the very interesting tutorial of the CGUITextBoxclass, I took the code presented there and created my own CGUIexScrollWindow. This one got less functions than CGUITextBox, but might do for some tasks aswell. And, as with TextBox, there is no need to fiddle with the engine source. Tested with current Irrlicht release (0.14.0).

A small tutorial what I did and the source can be found here (bare with me; first time me trying to contribute to the Irrlicht community):

http://www.computer.mikoweb.de/irrlicht1.php

Cheers,
miko
MasterD
Posts: 153
Joined: Sun Feb 15, 2004 4:17 pm
Location: Lübeck, Germany
Contact:

Post by MasterD »

Nice work, looks somehow a bit cleaner then my version :)
YASS - Yet another Space Shooter
under Devolpment, see http://yass-engine.de
miko93
Posts: 54
Joined: Sat Nov 12, 2005 5:24 pm
Location: Regensburg, Germany
Contact:

Post by miko93 »

Please note that the code shown was buggy. Characters like "<" were not shown but treated as html tags. This should be fixed now.

Big sorry, folks.
"Yessir, I'll be happy to make these unnecessary changes to this irrelevant document." (Dilbert)
Post Reply