mirror of
https://github.com/qemu/qemu.git
synced 2026-07-08 17:46:10 +00:00
ui: move FONT_WIDTH/HEIGHT to vgafont.h
Since those values are related to the VGA font, it make sense to move them here. Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
@@ -9,11 +9,6 @@
|
||||
#include "qemu/coroutine.h"
|
||||
#include "qemu/timer.h"
|
||||
|
||||
#include "vgafont.h"
|
||||
|
||||
#define FONT_HEIGHT 16
|
||||
#define FONT_WIDTH 8
|
||||
|
||||
struct QemuConsole {
|
||||
Object parent;
|
||||
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
#include "qemu/option.h"
|
||||
#include "qemu/queue.h"
|
||||
#include "ui/console.h"
|
||||
#include "ui/vgafont.h"
|
||||
|
||||
#include "pixman.h"
|
||||
#include "trace.h"
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
|
||||
#include "qemu/osdep.h"
|
||||
#include "ui/console.h"
|
||||
#include "ui/vgafont.h"
|
||||
#include "hw/core/qdev.h"
|
||||
#include "qapi/error.h"
|
||||
#include "qapi/qapi-commands-ui.h"
|
||||
|
||||
@@ -6,6 +6,10 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
extern const uint8_t vgafont16[256 * 16];
|
||||
/* supports only vga 8x16 */
|
||||
#define FONT_WIDTH 8
|
||||
#define FONT_HEIGHT 16
|
||||
|
||||
extern const uint8_t vgafont16[256 * FONT_HEIGHT];
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user