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)???
(done) Active/dead zone for hand vs arrow pointer?
Moderator: Sophia
Forum rules
Please read the Forum rules and policies before posting.
Please read the Forum rules and policies before posting.
- Sophia
- Concise and Honest
- Posts: 4240
- Joined: Thu Sep 12, 2002 9:50 pm
- Location: Nowhere in particular
- Contact:
Re: Active/dead zone for hand vs arrow pointer?
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.
- meadwarrior
- Journeyman
- Posts: 91
- Joined: Sat Dec 01, 2018 1:02 am