diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2013-02-20 07:43:20 -0600 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2013-02-21 16:34:48 -0600 |
commit | a4ccabcf6deaeb42c65d5d6d84ba0ceff8003876 (patch) | |
tree | 026ef8d21f381dd0aeeab50a84ba166d75fdc851 /include/sysemu | |
parent | d82831dbc5471d72785c49b33710436af49bf9ca (diff) | |
download | qemu-a4ccabcf6deaeb42c65d5d6d84ba0ceff8003876.tar.gz qemu-a4ccabcf6deaeb42c65d5d6d84ba0ceff8003876.tar.bz2 qemu-a4ccabcf6deaeb42c65d5d6d84ba0ceff8003876.zip |
ui: add basic GTK gui (v5)
This is minimalistic and just contains the basic widget infrastructure. The GUI
consists of a menu and a GtkNotebook. To start with, the notebook has its tabs
hidden which provides a UI that looks very similar to SDL with the exception of
the menu bar.
The menu bar allows a user to toggle the visibility of the tabs. Cairo is used
for rendering.
I used gtk-vnc as a reference. gtk-vnc solves the same basic problems as QEMU
since it was originally written as a remote display for QEMU. So for the most
part, the approach to rendering and keyboard handling should be pretty solid for
GTK.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-id: 1361367806-4599-4-git-send-email-aliguori@us.ibm.com
Diffstat (limited to 'include/sysemu')
-rw-r--r-- | include/sysemu/sysemu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sysemu/sysemu.h b/include/sysemu/sysemu.h index ae49088d42..b19ec952b4 100644 --- a/include/sysemu/sysemu.h +++ b/include/sysemu/sysemu.h @@ -89,6 +89,7 @@ typedef enum DisplayType DT_DEFAULT, DT_CURSES, DT_SDL, + DT_GTK, DT_NOGRAPHIC, DT_NONE, } DisplayType; |