Page 1 of 1

Undocumented features / functions

Posted: Wed Dec 19, 2018 6:18 pm
by Gambit37
I've noticed there's quite a few undocumented features on the wiki, so I've started adding descriptions for things that I've tested. For example, I've recently added details about dsb_text_size() and dsb_mouse_state().

However, there are many functions which I don't fully understand, so I can't document them accurately. I'm happy to update the wiki on an ad-hoc basis, if I can get some details on these undocumented features. If you're OK with that Sophia?

Can I start by asking what does dsb_mouse_override() do?

Re: Undocumented features / functions

Posted: Wed Dec 19, 2018 8:23 pm
by Sophia
Thanks, that would be very helpful!

You pass dsb_mouse_override a bitmap and DSB will then use that bitmap as the mouse pointer, until you pass it a nil or false or some other bitmap. This is useful if you've got a custom GUI where you want to have more mouse pointer states than just the mouse pointer and the mouse hand.

Re: Undocumented features / functions

Posted: Thu Dec 20, 2018 11:54 am
by Gambit37
Great, thanks.
FYI, I've now added a page about fonts: https://dmwiki.atomas.com/wiki/DSB/Fonts