{"id":21,"date":"2013-08-20T19:29:41","date_gmt":"2013-08-20T19:29:41","guid":{"rendered":"https:\/\/blogs.scummvm.org\/rundfunk\/?p=21"},"modified":"2022-05-21T19:30:10","modified_gmt":"2022-05-21T19:30:10","slug":"gestures-widgets-and-more-part-2","status":"publish","type":"post","link":"https:\/\/blogs.scummvm.org\/rundfunk\/2013\/08\/20\/gestures-widgets-and-more-part-2\/","title":{"rendered":"Gestures! Widgets! And more! \u2013 Part 2"},"content":{"rendered":"<p>Hello, fellow readers!<\/p>\n<p>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\u2019ve added some commits from the previous GUI-Improvements, the partial text-rendering from before.<\/p>\n<p>Also, there has been some work on a ScrollableCanvas-widget. It basically functions the same as the partial text-rendering \u2013 altough there had to be a lot of changes to make this work, since widgets in master always draw directly on the screen\u2019s surface. Now it is possible to draw them on a separate surface, to only render parts of them.<\/p>\n<p>Hopefully, by the end of this week, I\u2019ll 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).<\/p>\n<p>After that is done, there will be a lot more questions to tackle \u2013 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 \u2013 probably these need to be supplied by the user. But I\u2019ll tackle this problem when I get to it!<\/p>\n<p>Until next time!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-21","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blogs.scummvm.org\/rundfunk\/wp-json\/wp\/v2\/posts\/21","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.scummvm.org\/rundfunk\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.scummvm.org\/rundfunk\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.scummvm.org\/rundfunk\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.scummvm.org\/rundfunk\/wp-json\/wp\/v2\/comments?post=21"}],"version-history":[{"count":1,"href":"https:\/\/blogs.scummvm.org\/rundfunk\/wp-json\/wp\/v2\/posts\/21\/revisions"}],"predecessor-version":[{"id":22,"href":"https:\/\/blogs.scummvm.org\/rundfunk\/wp-json\/wp\/v2\/posts\/21\/revisions\/22"}],"wp:attachment":[{"href":"https:\/\/blogs.scummvm.org\/rundfunk\/wp-json\/wp\/v2\/media?parent=21"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.scummvm.org\/rundfunk\/wp-json\/wp\/v2\/categories?post=21"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.scummvm.org\/rundfunk\/wp-json\/wp\/v2\/tags?post=21"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}