This is just one tiny thing which currently keeps PureBasic Applications developed with OGRE from being "market-ready": text input!
With CEGUI you can select text in StringGadget3Ds and EditorGadget3Ds as you are used from the User Interface of your Operating System. The problem is, you cannot find out where the text cursor is, so you can only append every KeyboardInkey() to the end of the current 3D Gadget Text.
It's the same with the backspace key. It's just possible to cut off the last letter of the 3D Gadget Text every time the key is pressed, because it's impossible to find out where the text cursor is.
It's unlikely, that users of a game using the current PureBasic CEGUI (with this small "problem") will get along with that more than 2 minutes. For example: if you write a text which is composed of several long sentences, at the end you discover something you want to change right in the first sentence, then you have to delete all the text after that to change it.
And I can't figure out, to get the cursor position with some kind of trick, because it's CEGUI internal: I can't access whatever holds the value.
Oh please... that would be awesome, I guess it's not a big deal to implement*, but a huge improvement. :)
*Ignoring the whole process of recompiling the PureBasic OGRE
Get Gadget3D Text Cursor Position
Get Gadget3D Text Cursor Position
best regards,
Violet
Violet
- Fluid Byte
- Addict
- Posts: 2336
- Joined: Fri Jul 21, 2006 4:41 am
- Location: Berlin, Germany