Opened 10 years ago

Last modified 10 years ago

#101 new defect

Resume button-moving feature should support any size of Main Menu

Reported by: Iritscen Owned by: Christian
Priority: minor Component: Daodan/Win
Keywords: Cc:

Description

When Oni's Main Menu is not 640x480, e.g. when the HD Screens mod is installed in the AE, the Resume button is way up and to the left of the Options button. The Daodan should be using the coordinates of the Options button to offset the Resume button about 30 pixels to the left of Options, as the Mac Intel build of Oni does.

Change History (1)

comment:1 by Christian, 10 years ago

Tell me how to do so ;)
Currently those two methods are invoked: http://bugs.oni2.net/browser/Daodan/src/Patches/Patches.c#L72
They replace calls to WMrWindow_SetVisible from two locations (see http://bugs.oni2.net/browser/Daodan/src/Patches/Patches.c#L530).
As I don't have any references to the instance of the options-button-"window" I wouldn't know how to get its address.

Note: See TracTickets for help on using tickets.