aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk.c
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2023-08-30 13:38:10 +0400
committerMarc-André Lureau <marcandre.lureau@redhat.com>2023-09-04 14:00:56 +0400
commit1ece6777fe1770f8a26f6887be96b21edfd0e442 (patch)
treefbca6bf3916acadab7367a5720d16038f71c7e6e /ui/gtk.c
parentui/console: declare console types in console.h (diff)
downloadqemu-1ece6777fe1770f8a26f6887be96b21edfd0e442.tar.xz
qemu-1ece6777fe1770f8a26f6887be96b21edfd0e442.zip
ui/console: use QEMU_PIXMAN_COLOR helpers
QEMU_RGB macro is actually defining a pixman color. Make this explicit in the macro name. Move it to qemu-pixman.h so it can be used elsewhere, as done in the following patch. Finally, define QEMU_PIXMAN_COLOR_{BLACK,GRAY}, to avoid need to look up the VGA color table from the QemuConsole placeholder surface rendering. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-Id: <20230830093843.3531473-37-marcandre.lureau@redhat.com>
Diffstat (limited to 'ui/gtk.c')
0 files changed, 0 insertions, 0 deletions