diff options
author | Gerd Hoffmann | 2013-03-01 13:03:04 +0100 |
---|---|---|
committer | Gerd Hoffmann | 2013-03-18 10:21:59 +0100 |
commit | bc2ed9704fff2c721e4056ab5281f0291718bfa6 (patch) | |
tree | a08cb5357c40ba5a0d29bdfc7eadef8ea64c5942 /include/ui | |
parent | cocoa: stop using DisplayState (diff) | |
download | qemu-bc2ed9704fff2c721e4056ab5281f0291718bfa6.tar.gz qemu-bc2ed9704fff2c721e4056ab5281f0291718bfa6.tar.xz qemu-bc2ed9704fff2c721e4056ab5281f0291718bfa6.zip |
console: zap displaystate from dcl callbacks
Now that nobody depends on DisplayState in DisplayChangeListener
callbacks any more we can remove the parameter from all callbacks.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'include/ui')
-rw-r--r-- | include/ui/console.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/include/ui/console.h b/include/ui/console.h index a35b71aba2..c32c834871 100644 --- a/include/ui/console.h +++ b/include/ui/console.h @@ -150,34 +150,26 @@ void cursor_get_mono_mask(QEMUCursor *c, int transparent, uint8_t *mask); typedef struct DisplayChangeListenerOps { const char *dpy_name; - void (*dpy_refresh)(DisplayChangeListener *dcl, - struct DisplayState *s); + void (*dpy_refresh)(DisplayChangeListener *dcl); void (*dpy_gfx_update)(DisplayChangeListener *dcl, - struct DisplayState *s, int x, int y, int w, int h); void (*dpy_gfx_switch)(DisplayChangeListener *dcl, - struct DisplayState *s, struct DisplaySurface *new_surface); void (*dpy_gfx_copy)(DisplayChangeListener *dcl, - struct DisplayState *s, int src_x, int src_y, + int src_x, int src_y, int dst_x, int dst_y, int w, int h); void (*dpy_text_cursor)(DisplayChangeListener *dcl, - struct DisplayState *s, int x, int y); void (*dpy_text_resize)(DisplayChangeListener *dcl, - struct DisplayState *s, int w, int h); void (*dpy_text_update)(DisplayChangeListener *dcl, - struct DisplayState *s, int x, int y, int w, int h); void (*dpy_mouse_set)(DisplayChangeListener *dcl, - struct DisplayState *s, int x, int y, int on); void (*dpy_cursor_define)(DisplayChangeListener *dcl, - struct DisplayState *s, QEMUCursor *cursor); } DisplayChangeListenerOps; |