#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "console.h"
#include "emul.h"
#include "machine.h"
#include "misc.h"
#include "x11.h"
Go to the source code of this file.
Functions | |
void | x11_redraw_cursor (struct machine *m, int i) |
void | x11_redraw (struct machine *m, int x) |
void | x11_putpixel_fb (struct machine *m, int fb, int x, int y, int color) |
void | x11_init (struct machine *machine) |
struct fb_window * | x11_fb_init (int xsize, int ysize, char *name, int scaledown, struct machine *machine) |
void | x11_check_event (struct emul *emul) |
void x11_check_event | ( | struct emul * | emul | ) |
Definition at line 53 of file x11.cc.
References fb_window::bg_color, CHECK_ALLOCATION, console_makeavail(), console_mouse_button(), console_mouse_coordinates(), x11_md::current_display_name_nr, CURSOR_COLOR_INVERT, CURSOR_COLOR_TRANSPARENT, fb_window::cursor_on, fb_window::cursor_pixels, fb_window::cursor_x, fb_window::cursor_xsize, fb_window::cursor_y, fb_window::cursor_ysize, debug, x11_md::display_names, fatal(), fb_window::fb_number, x11_md::fb_windows, fb_window::fb_ximage, fb_window::fg_color, fb_window::host_cursor, fb_window::host_cursor_pixmap, emul::machines, machine::main_console_handle, x11_md::n_display_names, x11_md::n_fb_windows, N_GRAYCOLORS, emul::n_machines, fb_window::OLD_cursor_on, fb_window::OLD_cursor_x, fb_window::OLD_cursor_xsize, fb_window::OLD_cursor_y, fb_window::OLD_cursor_ysize, fb_window::scaledown, x11_check_event(), fb_window::x11_display, fb_window::x11_fb_gc, x11_fb_init(), x11_fb_resize(), fb_window::x11_fb_window, fb_window::x11_fb_winxsize, fb_window::x11_fb_winysize, fb_window::x11_graycolor, x11_init(), machine::x11_md, x11_putimage_fb(), x11_putpixel_fb(), x11_redraw(), x11_redraw_cursor(), fb_window::x11_screen, fb_window::x11_screen_depth, x11_set_standard_properties(), and fb_window::ximage_data.
Referenced by debugger_readchar(), and x11_check_event().
struct fb_window* x11_fb_init | ( | int | xsize, |
int | ysize, | ||
char * | name, | ||
int | scaledown, | ||
struct machine * | machine | ||
) |
Definition at line 50 of file x11.cc.
Referenced by x11_check_event().
void x11_init | ( | struct machine * | machine | ) |
Definition at line 49 of file x11.cc.
Referenced by emul_machine_setup(), and x11_check_event().
void x11_putpixel_fb | ( | struct machine * | m, |
int | fb, | ||
int | x, | ||
int | y, | ||
int | color | ||
) |
Definition at line 48 of file x11.cc.
Referenced by x11_check_event().
void x11_redraw | ( | struct machine * | m, |
int | x | ||
) |
Definition at line 47 of file x11.cc.
Referenced by x11_check_event().
void x11_redraw_cursor | ( | struct machine * | m, |
int | i | ||
) |
Definition at line 46 of file x11.cc.
Referenced by DEVICE_TICK(), and x11_check_event().