mirror of
https://github.com/simh/simh.git
synced 2026-01-25 19:56:25 +00:00
VIDEO: Allow more than one window.
New sim_video APIs have been added to make it possible for a simulator to open multiple windows. Two slightly updated functions are: t_stat vid_open_window (VID_DISPLAY **vptr, DEVICE *dptr, const char *title, uint32 width, uint32 height, int flags); Like vid_open, but return a dynamically allocated VID_DISPLAY struct and return it in *vptr. t_stat vid_close_all (void); Close all currently opened windows. In addition, these new functions correspond completely to the old set of sim_video functions, except the first argument is a VID_DISPLAY pointer: vid_close_window, vid_map_rgb_window, vid_draw_window, vid_refresh_window, vid_set_cursor_window, vid_show_video_window, vid_is_fullscreen_window, vid_set_fullscreen_window, vid_set_cursor_position_window.
This commit is contained in:
751
sim_video.c
751
sim_video.c
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user