{"id":62,"date":"2022-08-22T22:20:59","date_gmt":"2022-08-22T22:20:59","guid":{"rendered":"https:\/\/blogs.scummvm.org\/raikou\/?p=62"},"modified":"2022-08-22T22:20:59","modified_gmt":"2022-08-22T22:20:59","slug":"week-10-popupmenuxobj-and-diving-deeper-into-32bpp-button-text-bug","status":"publish","type":"post","link":"https:\/\/blogs.scummvm.org\/raikou\/2022\/08\/22\/week-10-popupmenuxobj-and-diving-deeper-into-32bpp-button-text-bug\/","title":{"rendered":"WEEK 10: popUpMenuXObj and diving deeper into 32bpp button text bug"},"content":{"rendered":"<p>This week, I was mainly working on 2 things: popUpMenuXObj and the 32bpp button text bug I mentioned in the last post.<\/p>\n<p>Clearly, the hack I mentioned in the last post shouldn&#8217;t be on the master upstream. Substituting 0x000000FF with 0x010101FF is a bad idea. I and sev delved deeper into the issue tonight, and this would be resolved as a lot of details were gathered from our investigations. A lot of functions related to drawing stuff on the screen don&#8217;t use uint32 for their colors, and this is one of the things to fix.<\/p>\n<p>This week, I have also started work on the popUpMenuXObj, which is a Mac XObject used in Meet Mediaband and the Apartment movies. The popUp menu is similar to the existing MacMenu in looks (just constrained to 1 submenu and can be drawn anywhere on the screen instead of just at the top)<\/p>\n<p>Currently the MacPopUp is resolving the menuLists and saves it in the relevant object, making an entry in the _windows hashmap. The next step is to actually draw the menu on screen whenever it is called.<\/p>\n<p>Next week, I would be focussing on completing these tasks at the earliest and then resolving the palette issues of The Seven Colours and Windows movies.<\/p>\n<p>Goodnight \ud83d\ude00<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This week, I was mainly working on 2 things: popUpMenuXObj and the 32bpp button text bug I mentioned in the last post. Clearly, the hack I mentioned in the last post shouldn&#8217;t be on the master upstream. Substituting 0x000000FF with 0x010101FF is a bad idea. I and sev delved deeper into the issue tonight, and [&hellip;]<\/p>\n","protected":false},"author":11,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-62","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blogs.scummvm.org\/raikou\/wp-json\/wp\/v2\/posts\/62","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.scummvm.org\/raikou\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.scummvm.org\/raikou\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.scummvm.org\/raikou\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.scummvm.org\/raikou\/wp-json\/wp\/v2\/comments?post=62"}],"version-history":[{"count":1,"href":"https:\/\/blogs.scummvm.org\/raikou\/wp-json\/wp\/v2\/posts\/62\/revisions"}],"predecessor-version":[{"id":63,"href":"https:\/\/blogs.scummvm.org\/raikou\/wp-json\/wp\/v2\/posts\/62\/revisions\/63"}],"wp:attachment":[{"href":"https:\/\/blogs.scummvm.org\/raikou\/wp-json\/wp\/v2\/media?parent=62"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.scummvm.org\/raikou\/wp-json\/wp\/v2\/categories?post=62"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.scummvm.org\/raikou\/wp-json\/wp\/v2\/tags?post=62"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}