From: Christian MICHON <christian.michon@gmail.com>
To: Pierre d'Herbemont <stegefin@free.fr>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] Embed QEmu screen on a custom window
Date: Sat, 28 May 2005 15:17:52 +0200 [thread overview]
Message-ID: <46d6db660505280617391444a5@mail.gmail.com> (raw)
In-Reply-To: <41644152-7555-4CD8-A9CC-25DFF8A7B1F1@free.fr>
ok, maybe this needs clarifications. I do not have a Mac, therefore anything
related to cocoa is unknow to me. sorry :(
Let's take an instance of i386-softmmu qemu, which has switched internally
into a 1024x768 graphical mode. To have any gui toolkit AROUND it, the
whole apps, inclusive of the window manager decoration, would need more
than 1024x768 pixels.
When going full screen, as if the qemu machine was the host, we should see
1024x768 pixels only on the screen. The gui toolkit would not be
drawn, therefore
useless unless you switch back to non-fullscreen.
Having the gui toolkit around the instance is ok, provided your native screen
resolution is big enough. But if it's not, you'll need scrollbars, or reduce the
internal graphical mode.
Let's take another concrete example. I have on my desktop a PC with XP
and a LCD 15 inches which support at most 1024x768. When I launch a qemu
instance and the internal softmmu graphical mode is 800x600, how much space
is left on screen, considering the taskbar at the botton and the qemu titlebar ?
100 pixels in height and 200 pixels in x. Not much to integrate a gtk2 toolbars
and a menu, right ? Actually, it will be just nice. only for 800x600
qemu graphic
mode.
My point is: what it the controls could be drawn inside the qemu
graphic windows,
like an On-Screen-Display. You would call a menu, overlapping the
current session,
and you could select the controls you want to change (mostly fda and cdrom, or
load/save vm). The advantage of this being inside the main graphic
window is that
even inside a full-screen mode, we could access it.
But I understand Fabrice's point. After all, this is his "baby". :)
Christian
On 5/27/05, Pierre d'Herbemont <stegefin@free.fr> wrote:
>
> On 26 mai 05, at 23:07, Christian MICHON wrote:
> > I do not know what cocoa.m implementation is, but I've seen
> > screenshots.
>
> cocoa.m is just a qemu video driver which uses natives Mac OS X UI
> Libraries.
>
> > It does require space, and if you go full-screen,
> > you can't do modifications.
>
> I am not sure that you speak about the cocoa driver. The cocoa video
> driver is lighter than the SDL one, since it doesn't require the SDL
> dependencies. And I don't get the full-screen point: cocoa.m still
> need much work, and that is why it doesn't support fullscreen (yet).
> (BTW Mike has been doing some great improvements which will be
> hopefully soon committed in the head cvs repository.)
>
> > Hence the suggestion to go
> > full SDL.
>
> Fabrice would like to see the native GTK, or Win32 qemu video coded.
> Because then a decent UI could be added to qemu. The front ends will
> always be limited, and the previous hack seems a bit crazy, and
> nearly nasty: you can do that directly via a video driver for qemu,
> and moreover it will let you far more control over qemu.
>
> Pierre.
>
next prev parent reply other threads:[~2005-05-28 13:28 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-26 11:42 [Qemu-devel] [PATCH] Embed QEmu screen on a custom window Miguel Angel Fraile
2005-05-26 12:10 ` Christian MICHON
2005-05-26 12:43 ` Oliver Gerlich
2005-05-26 13:22 ` Christian MICHON
2005-05-26 20:03 ` Fabrice Bellard
2005-05-26 20:32 ` gtk [was Re: [Qemu-devel] [PATCH] Embed QEmu screen on a custom window] Jim C. Brown
2005-05-26 21:09 ` Christian MICHON
2005-05-26 22:22 ` Mark Williamson
2005-05-27 6:07 ` Jim C. Brown
2005-05-27 10:59 ` [Qemu-devel] gtk2 driver Sebastien Bechet
2005-05-27 15:28 ` [Qemu-devel] " Jim C. Brown
2005-05-27 18:06 ` Jim C. Brown
2005-05-27 22:29 ` Jim C. Brown
2005-05-26 21:07 ` [Qemu-devel] [PATCH] Embed QEmu screen on a custom window Christian MICHON
2005-05-26 21:55 ` Fabrice Bellard
2005-05-27 14:39 ` Pierre d'Herbemont
2005-05-28 13:17 ` Christian MICHON [this message]
2005-05-28 14:10 ` Oliver Gerlich
2005-05-28 15:35 ` Joe Batt
2005-05-26 21:39 ` Jernej Simončič
-- strict thread matches above, loose matches on Subject: below --
2005-05-26 15:14 Christian Bourque
2005-05-26 19:24 ` Christian MICHON
2005-05-28 12:37 ` Jerome Warnier
2005-05-27 10:50 Miguel Angel Fraile
2005-05-28 7:13 Sylvain Petreolle
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46d6db660505280617391444a5@mail.gmail.com \
--to=christian.michon@gmail.com \
--cc=qemu-devel@nongnu.org \
--cc=stegefin@free.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).