CursorChar patch

Discuss about anything related to the Irrlicht Engine, or read announcements about any significant features or usage changes.
Post Reply
cbrowne
Posts: 2
Joined: Sat Nov 24, 2012 10:50 pm

CursorChar patch

Post by cbrowne »

Hello,

I just submitted my first ever patch, so forgive me if I've done it all wrong.

The patch can be found at: https://sourceforge.net/tracker/index.p ... tid=540678

I also created a feature request for the patch, because it wasn't an active feature request before.

The patch just adds an API for controlling the character used for the cursor. I made it because the _ character isn't always appropriate to use as a cursor, and there's no reason why the API should restrict this.
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: CursorChar patch

Post by CuteAlien »

Yeah, looks good, thanks. Not sure if I find time for Irrlicht before x-mas (I haven't bought presents yet...), but I'll add it (with some minor changes).
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
cbrowne
Posts: 2
Joined: Sat Nov 24, 2012 10:50 pm

Re: CursorChar patch

Post by cbrowne »

Cool. I haven't bought presents yet either! Or ingredients for mince pies...

Merry Christmas!
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: CursorChar patch

Post by CuteAlien »

Ok, it's added to svn trunk now (revision 4418). Also added setCursorBlinkTime which I had missed in the past ;-)
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
Post Reply