Lines Matching refs:dcl

76 static void cocoa_update(DisplayChangeListener *dcl,
79 static void cocoa_switch(DisplayChangeListener *dcl,
82 static void cocoa_refresh(DisplayChangeListener *dcl);
83 static void cocoa_mouse_set(DisplayChangeListener *dcl, int x, int y, bool on);
84 static void cocoa_cursor_define(DisplayChangeListener *dcl, QEMUCursor *cursor);
94 static DisplayChangeListener dcl = {
423 unregister_displaychangelistener(&dcl);
425 dcl.con = con;
426 register_displaychangelistener(&dcl);
648 if (!qemu_console_is_graphic(dcl.con)) {
666 update_displaychangelistener(&dcl,
685 dpy_set_ui_info(dcl.con, &info, TRUE);
693 * startup phase -- we haven't yet registered dcl with the QEMU UI
695 * When cocoa_display_init() does register the dcl, the UI layer
825 QemuTextConsole *con = QEMU_TEXT_CONSOLE(dcl.con);
1017 if (qemu_console_is_graphic(dcl.con)) {
1032 if (qemu_console_is_graphic(dcl.con)) {
1057 qemu_input_queue_btn(dcl.con, button, true);
1059 qemu_input_queue_btn(dcl.con, button, false);
1075 qemu_input_queue_btn(dcl.con, button, down);
1093 qemu_input_queue_abs(dcl.con, INPUT_AXIS_X, p.x * d, 0, screen.width);
1094 qemu_input_queue_abs(dcl.con, INPUT_AXIS_Y, screen.height - p.y * d, 0, screen.height);
1096 qemu_input_queue_rel(dcl.con, INPUT_AXIS_X, [event deltaX]);
1097 qemu_input_queue_rel(dcl.con, INPUT_AXIS_Y, [event deltaY]);
1201 return qemu_input_is_absolute(dcl.con);
1236 qemu_input_queue_btn(dcl.con, INPUT_BUTTON_LEFT, false);
1237 qemu_input_queue_btn(dcl.con, INPUT_BUTTON_RIGHT, false);
1238 qemu_input_queue_btn(dcl.con, INPUT_BUTTON_MIDDLE, false);
2052 static void cocoa_update(DisplayChangeListener *dcl,
2063 static void cocoa_switch(DisplayChangeListener *dcl,
2081 static void cocoa_refresh(DisplayChangeListener *dcl)
2086 graphic_hw_update(dcl->con);
2102 static void cocoa_mouse_set(DisplayChangeListener *dcl, int x, int y, bool on)
2109 static void cocoa_cursor_define(DisplayChangeListener *dcl, QEMUCursor *cursor)
2113 [cocoaView setCursor:qemu_console_get_cursor(dcl->con)];
2174 dcl.con = qemu_console_lookup_default();
2175 kbd = qkbd_state_init(dcl.con);
2178 register_displaychangelistener(&dcl);