Re: [Qemu-devel] [patch v5] ui/cocoa.m: Adds console items to the View menu

2015-05-17 Thread Peter Maydell
On 17 May 2015 at 22:55, Programmingkid wrote: > I think SDL solved this problem some how. I was using a fullscreen program > that used > SDL and it managed to change the resolution without messing up all the > windows. So > I think there is a way to solve this problem. Maybe someone out there m

Re: [Qemu-devel] [patch v5] ui/cocoa.m: Adds console items to the View menu

2015-05-17 Thread Programmingkid
On May 17, 2015, at 5:37 PM, Peter Maydell wrote: > On 17 May 2015 at 21:09, Programmingkid wrote: >> You know how there's a "Zoom To Fit" menu item. What if we added a >> mutually exclusive menu item called "Resize To Fit"? This menu item >> would instead adjust the host screen's resolution to

Re: [Qemu-devel] [patch v5] ui/cocoa.m: Adds console items to the View menu

2015-05-17 Thread Peter Maydell
On 17 May 2015 at 21:09, Programmingkid wrote: > You know how there's a "Zoom To Fit" menu item. What if we added a > mutually exclusive menu item called "Resize To Fit"? This menu item > would instead adjust the host screen's resolution to match that of the > guest screen's resolution. It can be

Re: [Qemu-devel] [patch v5] ui/cocoa.m: Adds console items to the View menu

2015-05-17 Thread Programmingkid
On May 16, 2015, at 5:45 PM, Peter Maydell wrote: > On 11 May 2015 at 16:18, Programmingkid wrote: >> Adds any console that is available to the current emulator as a menu item >> under the View menu. >> >> Signed-off-by: John Arbuckle > > Thanks; I think this version looks pretty good. A min

Re: [Qemu-devel] [patch v5] ui/cocoa.m: Adds console items to the View menu

2015-05-16 Thread Peter Maydell
On 11 May 2015 at 16:18, Programmingkid wrote: > Adds any console that is available to the current emulator as a menu item > under the View menu. > > Signed-off-by: John Arbuckle Thanks; I think this version looks pretty good. A minor improvement: > +static void create_view_menu() > +{ > +

[Qemu-devel] [patch v5] ui/cocoa.m: Adds console items to the View menu

2015-05-11 Thread Programmingkid
Adds any console that is available to the current emulator as a menu item under the View menu. Signed-off-by: John Arbuckle --- Removed the initConsoleVariables() function. Removed global variables. Rewrote how console menu items are added. ui/cocoa.m | 50 ++