IGUIEditBox and scrollbars

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
Mloren
Posts: 114
Joined: Mon Aug 07, 2006 2:30 am
Location: Australia
Contact:

IGUIEditBox and scrollbars

Post by Mloren »

I know this has been raised before, I was wondering if there were plans to add scroll bars to IGUIEditBox any time soon. I notice the code has comments throughout it that mention that a scrollbar is planned.

This is basically the only thing missing from my app that's preventing me from releasing it.

Any chance these could be added?
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Post by CuteAlien »

Hm, not my comment - I suppose maybe Bitplane started with that once. But I think he is rather busy with his job right now.

My current todo for IGUIEditBox is/was:
- current cursor-scrolling in multiline editbox is somehow strange.
- scrolling to a certain line (mostly to allow using scrollbars)
- text-marking should be public
- setCursorPos

I think you found the reason for the first one (in your other post). And I have already a patch for the second (just not found time yet to go over it to see if it's clean enough and apply it, it's an old patch).

Not sure when I will find time for that stuff. So if you want to release fast it might be easier to copy the editbox over and just modify it (with a new name) in your project. Or add a patch to you Irrlicht (and post it here afterwards if you want).
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Mloren
Posts: 114
Joined: Mon Aug 07, 2006 2:30 am
Location: Australia
Contact:

Post by Mloren »

FYI I have just implemented most of the stuff on your current todo list :D

The patchfile is here:

http://irrlicht.sourceforge.net/phpBB2/ ... 532#240532
Post Reply