diff --git a/sim_video.c b/sim_video.c index ee4f41b4..d7f4fd71 100644 --- a/sim_video.c +++ b/sim_video.c @@ -2616,4 +2616,57 @@ sim_printf ("video support unavailable\n"); return SCPE_OK; } +t_stat vid_open_window (VID_DISPLAY **vptr, DEVICE *dptr, const char *title, uint32 width, uint32 height, int flags) +{ +*vptr = NULL; +return SCPE_NOFNC; +} + +t_stat vid_close_window (VID_DISPLAY *vptr) +{ +return SCPE_OK; +} + +uint32 vid_map_rgb_window (VID_DISPLAY *vptr, uint8 r, uint8 g, uint8 b) +{ +return 0; +} + +void vid_draw_window (VID_DISPLAY *vptr, int32 x, int32 y, int32 w, int32 h, uint32 *buf) +{ +return; +} + +void vid_refresh_window (VID_DISPLAY *vptr) +{ +return; +} + +t_stat vid_set_cursor_window (VID_DISPLAY *vptr, t_bool visible, uint32 width, uint32 height, uint8 *data, uint8 *mask, uint32 hot_x, uint32 hot_y) +{ +return SCPE_NOFNC; +} + +t_bool vid_is_fullscreen_window (VID_DISPLAY *vptr) +{ +sim_printf ("video support unavailable\n"); +return FALSE; +} + +t_stat vid_set_fullscreen_window (VID_DISPLAY *vptr, t_bool flag) +{ +sim_printf ("video support unavailable\n"); +return SCPE_OK; +} + +void vid_set_cursor_position_window (VID_DISPLAY *vptr, int32 x, int32 y) +{ +return; +} + +const char *vid_key_name (int32 key) +{ +return ""; +} + #endif /* defined(USE_SIM_VIDEO) */ diff --git a/sim_video.h b/sim_video.h index 0502cd4d..6e9ebea0 100644 --- a/sim_video.h +++ b/sim_video.h @@ -217,7 +217,6 @@ uint32 vid_map_rgb_window (VID_DISPLAY *vptr, uint8 r, uint8 g, uint8 b); void vid_draw_window (VID_DISPLAY *vptr, int32 x, int32 y, int32 w, int32 h, uint32 *buf); void vid_refresh_window (VID_DISPLAY *vptr); t_stat vid_set_cursor_window (VID_DISPLAY *vptr, t_bool visible, uint32 width, uint32 height, uint8 *data, uint8 *mask, uint32 hot_x, uint32 hot_y); -t_stat vid_show_video_window (VID_DISPLAY *vptr, FILE* st, UNIT* uptr, int32 val, CONST void* desc); t_bool vid_is_fullscreen_window (VID_DISPLAY *vptr); t_stat vid_set_fullscreen_window (VID_DISPLAY *vptr, t_bool flag); void vid_set_cursor_position_window (VID_DISPLAY *vptr, int32 x, int32 y); /* cursor position (set by calling code) */