Page 1 of 1

(done) Active/dead zone for hand vs arrow pointer?

Posted: Mon Dec 17, 2018 12:04 am
by Gambit37
I've got my new UI working fully in DSB. I've changed the size and position of many things.

One weird side effect is that DSB now thinks there's "dead" space where there shouldn't be. For example, when I'm moving the mouse cursor around it changes from a hand to an arrow in the wrong place. If there's an item in the mouse hand, this looks especially strange when it disappears. The dead space zone is roughly shown below in purple.

It seems like DSB is not respecting the new height/position of my gui_info.portraits and still expects things in the DM positions. Is it possible to make it so I can specify a height here (which would presumably fix this "dead" zone)???

Image

Re: Active/dead zone for hand vs arrow pointer?

Posted: Mon Dec 17, 2018 11:20 pm
by Sophia
Oh, somehow I missed some hardcoded data. For 0.72 I'll add gui_info.portraits.hand_zone_w and gui_info.portraits.hand_zone_h which will let you specify the size of the area where portraits should draw a hand instead of an arrow.

Re: (done) Active/dead zone for hand vs arrow pointer?

Posted: Mon Dec 17, 2018 11:24 pm
by Gambit37
Perfect, thank you very much :)

Re: (done) Active/dead zone for hand vs arrow pointer?

Posted: Tue Dec 18, 2018 1:15 am
by meadwarrior
Nice!