wateret / mengde

A turn-based RPG game engine inspired by 三國志曹操傳.
MIT License
27 stars 10 forks source link

Add scrollbars to ScrollView #53

Open wateret opened 6 years ago

wateret commented 6 years ago

ScrollView is working now but it does not have scrollbars. This means that it can be scrolled by mouse wheel event only.

To support scrolling without a mouse wheel, let's create scrollbars(for both vertical and horizontal).

It would be nice the scrollbar is like these:

wateret commented 6 years ago

@llFreetimell The scrollbars will be used for UI framework such as item list, if user have too many items we should have scrollbars. However those are not for the main game view. I also do not want it to have scrollbars since it will look ugly and there is a minimap for it.