Had this idea recently:
scroll_list[<inventory location>;<list name>;<X>,<Y>;<W>,<H>;(starting_index)]
As long as all inventory slots fit into the W,H rectangle, it behaves like a regular list[] element.
As soon as the inventory has more than W*H slots, a scroll bar is added on the right and the list can be scrolled.
Is this difficult to implement, or can it be achieved in finite time?
Further ideas:
- horizontal scroll lists
- scroll containers (for any gui elements) (I think we will not need this)
- we need to make textareas scrollable!!!