artist.c (8cd7325f034e119012dcdf56808a73d0884c706e) artist.c (8e5c952b370b57beb642826882c80e1b66a9cf12)
1/*
2 * QEMU HP Artist Emulation
3 *
4 * Copyright (c) 2019 Sven Schnelle <svens@stackframe.org>
5 *
6 * This work is licensed under the terms of the GNU GPL, version 2 or later.
7 */
8

--- 1339 unchanged lines hidden (view full) ---

1348 buf->width, buf->height);
1349 /*
1350 * no idea whether the cursor is fixed size or not, so assume 32x32 which
1351 * seems sufficient for HP-UX X11.
1352 */
1353 s->cursor_height = 32;
1354 s->cursor_width = 32;
1355
1/*
2 * QEMU HP Artist Emulation
3 *
4 * Copyright (c) 2019 Sven Schnelle <svens@stackframe.org>
5 *
6 * This work is licensed under the terms of the GNU GPL, version 2 or later.
7 */
8

--- 1339 unchanged lines hidden (view full) ---

1348 buf->width, buf->height);
1349 /*
1350 * no idea whether the cursor is fixed size or not, so assume 32x32 which
1351 * seems sufficient for HP-UX X11.
1352 */
1353 s->cursor_height = 32;
1354 s->cursor_width = 32;
1355
1356 s->con = graphic_console_init(DEVICE(dev), 0, &artist_ops, s);
1356 s->con = graphic_console_init(dev, 0, &artist_ops, s);
1357 qemu_console_resize(s->con, s->width, s->height);
1358}
1359
1360static int vmstate_artist_post_load(void *opaque, int version_id)
1361{
1362 artist_invalidate(opaque);
1363 return 0;
1364}

--- 79 unchanged lines hidden ---
1357 qemu_console_resize(s->con, s->width, s->height);
1358}
1359
1360static int vmstate_artist_post_load(void *opaque, int version_id)
1361{
1362 artist_invalidate(opaque);
1363 return 0;
1364}

--- 79 unchanged lines hidden ---