Gestures! Widgets! And more! – Part 2

Hello, fellow readers!

What has been done since my last post: Like mentioned, the widgets have been adapted to listen to input from touch: right now they can listen to one finger up, one finger down and swiping with one finger. That means one now can scroll lists, such as the list of saves or folders, by dragging the finger over them, and the selection follows the finger perfectly, altough, there is no inertial scrolling right now. To accomplish smooth scrolling, I’ve added some commits from the previous GUI-Improvements, the partial text-rendering from before.

Also, there has been some work on a ScrollableCanvas-widget. It basically functions the same as the partial text-rendering – altough there had to be a lot of changes to make this work, since widgets in master always draw directly on the screen’s surface. Now it is possible to draw them on a separate surface, to only render parts of them.

Hopefully, by the end of this week, I’ll have the scrollable-canvas working (that is, actually make it scrollable!) flawlessly. Picture-Widgets also need to be adapted to work with this widget (right now, only buttons work).

After that is done, there will be a lot more questions to tackle – in the mockups, the touch-based UI has a scrollable canvas with pictures representing each game. The scollable canvas needs to be populated with these pictures – probably these need to be supplied by the user. But I’ll tackle this problem when I get to it!

Until next time!