{"id":16,"date":"2008-05-31T17:01:28","date_gmt":"2008-05-31T17:01:28","guid":{"rendered":"https:\/\/blogs.scummvm.org\/smartlikearoboc\/?p=16"},"modified":"2022-05-21T17:01:58","modified_gmt":"2022-05-21T17:01:58","slug":"almost-a-progress-update","status":"publish","type":"post","link":"https:\/\/blogs.scummvm.org\/smartlikearoboc\/2008\/05\/31\/almost-a-progress-update\/","title":{"rendered":"Almost a progress update"},"content":{"rendered":"<p>It\u2019s Saturday already and guess what: I haven\u2019t finished the overview of the VectorRenderer class I promised (only a rough draft of it).<\/p>\n<p>As a note to self, I\u2019ll have to stop promising stuff until I stop sucking at meeting deadlines. Oh well, at least I didn\u2019t spend the whole week procrastinating. Apart from exams, which always keep me busy, I spent the week working on yet another class for the new GUI, the InterfaceManager.<\/p>\n<p>The InterfaceManager class isn\u2019t really a replacement class, because its funcionality isn\u2019t present in the current implementation of the graphical user interface. Right now, the ScummVM interface for the main menu is hooked in its startup function as a new LauncherDialog object which is created and ran as a modal inside the same function.<\/p>\n<p>This approach, however, is not valid with the added complexity of the new GUI, and that\u2019s where the InterfaceManager class comes into play. This class is the core of the extendability of the new interface, since it manages key features such as renderer initialization based on the current platform and settings, generation of dynamic drawing lists (when using dynamic drawing) or of precached shapes for the widgets, and the management of drawing updates for the widgets themselves.<\/p>\n<p>Oh, and to complement this new class, I extended the functionality of the Vector Renderer. See? I told you it wouldn\u2019t take long to change the current implementation, plus I\u2019ve also noticed that it\u2019s missing a key drawing feature to imitate the looks of the actual GUI, beleved borders in square shapes. That\u2019ll be coming next week &#8211; the feature which I added this week are Drawing Steps, which allow to discretize the drawing of a complex vectorial shape in individual steps. Quite convinient for specifying such steps in an external configuration file.<\/p>\n<p>Together with beveled corners, next week I\u2019ll be busy with a lawsuit for sexual harrassment, some modifications to the current INI file parser (maybe a rehaul?), a programming exam, a numerical computation exam (yes, I also wonder what the fuck does numerical computation mean) and writing more progress updates on this blog.<\/p>\n<p>Notice the stupid level of self-reference in stating an update of your TODO list as an item of your TODO list. I find this fact as amusing as Indy 4.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>It\u2019s Saturday already and guess what: I haven\u2019t finished the overview of the VectorRenderer class I promised (only a rough draft of it). As a note to self, I\u2019ll have to stop promising stuff until I stop sucking at meeting deadlines. Oh well, at least I didn\u2019t spend the whole week procrastinating. Apart from exams, [&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-16","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blogs.scummvm.org\/smartlikearoboc\/wp-json\/wp\/v2\/posts\/16","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.scummvm.org\/smartlikearoboc\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.scummvm.org\/smartlikearoboc\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.scummvm.org\/smartlikearoboc\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.scummvm.org\/smartlikearoboc\/wp-json\/wp\/v2\/comments?post=16"}],"version-history":[{"count":1,"href":"https:\/\/blogs.scummvm.org\/smartlikearoboc\/wp-json\/wp\/v2\/posts\/16\/revisions"}],"predecessor-version":[{"id":17,"href":"https:\/\/blogs.scummvm.org\/smartlikearoboc\/wp-json\/wp\/v2\/posts\/16\/revisions\/17"}],"wp:attachment":[{"href":"https:\/\/blogs.scummvm.org\/smartlikearoboc\/wp-json\/wp\/v2\/media?parent=16"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.scummvm.org\/smartlikearoboc\/wp-json\/wp\/v2\/categories?post=16"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.scummvm.org\/smartlikearoboc\/wp-json\/wp\/v2\/tags?post=16"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}