Wintermute Engine Forum

Wintermute Engine => Technical forum => Topic started by: Art on December 18, 2005, 07:08:04 PM

Title: Currently selected item in inventory
Post by: Art on December 18, 2005, 07:08:04 PM
Hi.

Is there any way to get index of the item, which is first in inventory box right now?
I'd like to hide prev and next buttons from inventory box, when it's not possible to scroll more left or right.

Thanks in advance..
Title: Re: Currently selected item in inventory
Post by: Mnemonic on December 19, 2005, 01:28:30 PM
No, you can't query the scroll offset. But since the buttons are disabled automatically, you can assign them an empty "disabled" image, which should simulate the effect you want to achieve.
Title: Re: Currently selected item in inventory
Post by: Art on December 19, 2005, 03:26:01 PM
Right :) Thanks Mneminic