

Definition at line 77 of file gui_x11.cpp.
Public Member Functions | |
| bx_x11_gui_c (CConfigurator *cfg) | |
| virtual void | specific_init (unsigned x_tilesize, unsigned y_tilesize) |
| virtual void | text_update (u8 *old_text, u8 *new_text, unsigned long cursor_x, unsigned long cursor_y, bx_vga_tminfo_t tm_info, unsigned rows) |
| virtual void | graphics_tile_update (u8 *snapshot, unsigned x, unsigned y) |
| virtual void | handle_events (void) |
| virtual void | flush (void) |
| virtual void | clear_screen (void) |
| virtual bool | palette_change (unsigned index, unsigned red, unsigned green, unsigned blue) |
| virtual void | dimension_update (unsigned x, unsigned y, unsigned fheight=0, unsigned fwidth=0, unsigned bpp=8) |
| virtual void | mouse_enabled_changed_specific (bool val) |
| virtual void | exit (void) |
| virtual bx_svga_tileinfo_t * | graphics_tile_info (bx_svga_tileinfo_t *info) |
| virtual u8 * | graphics_tile_get (unsigned x, unsigned y, unsigned *w, unsigned *h) |
| virtual void | graphics_tile_update_in_place (unsigned x, unsigned y, unsigned w, unsigned h) |
| virtual void | get_capabilities (u16 *xres, u16 *yres, u16 *bpp) |
Private Attributes | |
| CConfigurator * | myCfg |
| bx_x11_gui_c::bx_x11_gui_c | ( | CConfigurator * | cfg | ) | [inline] |
| void bx_x11_gui_c::specific_init | ( | unsigned | x_tilesize, | |
| unsigned | y_tilesize | |||
| ) | [virtual] |
Implements bx_gui_c.
Definition at line 363 of file gui_x11.cpp.
References black_pixel, BX_DEBUG, BX_INFO, bx_keymap, BX_PANIC, convertStringToXKeysym(), create_internal_vga_font(), dimension_y, CConfigurator::get_bool_value(), bx_keymap_c::loadKeymap(), MAX_VGA_COLORS, myCfg, bx_gui_c::new_gfx_api, test_alloc_colors(), and text_cols.
| void bx_x11_gui_c::text_update | ( | u8 * | old_text, | |
| u8 * | new_text, | |||
| unsigned long | cursor_x, | |||
| unsigned long | cursor_y, | |||
| bx_vga_tminfo_t | tm_info, | |||
| unsigned | rows | |||
| ) | [virtual] |
Implements bx_gui_c.
Definition at line 1250 of file gui_x11.cpp.
References BX_INFO, BX_PANIC, bx_gui_c::char_changed, bx_gui_c::charmap_updated, bx_vga_tminfo_t::cs_end, bx_vga_tminfo_t::cs_start, dimension_y, CVGA::get_actl_palette_idx(), bx_vga_tminfo_t::h_panning, bx_vga_tminfo_t::line_compare, bx_vga_tminfo_t::line_graphics, bx_vga_tminfo_t::line_offset, bx_vga_tminfo_t::split_hpanning, bx_vga_tminfo_t::start_address, text_cols, theVGA, v_panning, bx_vga_tminfo_t::v_panning, and bx_gui_c::vga_charmap.
| void bx_x11_gui_c::graphics_tile_update | ( | u8 * | snapshot, | |
| unsigned | x, | |||
| unsigned | y | |||
| ) | [virtual] |
Implements bx_gui_c.
Definition at line 1545 of file gui_x11.cpp.
References BX_PANIC, and dimension_y.
| void bx_x11_gui_c::handle_events | ( | void | ) | [virtual] |
Implements bx_gui_c.
Definition at line 680 of file gui_x11.cpp.
References BX_DEBUG, current_y, current_z, FAILURE, bx_gui_c::key_event(), MAX_MAPPED_STRING_LENGTH, prev_y, CVGA::redraw_area(), send_keyboard_mouse_status(), theVGA, and xkeypress().
| void bx_x11_gui_c::flush | ( | void | ) | [virtual] |
| void bx_x11_gui_c::clear_screen | ( | void | ) | [virtual] |
| bool bx_x11_gui_c::palette_change | ( | unsigned | index, | |
| unsigned | red, | |||
| unsigned | green, | |||
| unsigned | blue | |||
| ) | [virtual] |
| void bx_x11_gui_c::dimension_update | ( | unsigned | x, | |
| unsigned | y, | |||
| unsigned | fheight = 0, |
|||
| unsigned | fwidth = 0, |
|||
| unsigned | bpp = 8 | |||
| ) | [virtual] |
Implements bx_gui_c.
Definition at line 1818 of file gui_x11.cpp.
References BX_PANIC, dimension_y, and text_cols.
| void bx_x11_gui_c::mouse_enabled_changed_specific | ( | bool | val | ) | [virtual] |
Implements bx_gui_c.
Definition at line 639 of file gui_x11.cpp.
References BX_DEBUG, BX_INFO, current_y, disable_cursor(), enable_cursor(), and warp_cursor().
| void bx_x11_gui_c::exit | ( | void | ) | [virtual] |
| bx_svga_tileinfo_t * bx_x11_gui_c::graphics_tile_info | ( | bx_svga_tileinfo_t * | info | ) | [virtual] |
Reimplemented from bx_gui_c.
Definition at line 1659 of file gui_x11.cpp.
References bx_svga_tileinfo_t::blue_mask, bx_svga_tileinfo_t::blue_shift, bx_svga_tileinfo_t::bpp, bx_svga_tileinfo_t::green_mask, bx_svga_tileinfo_t::green_shift, bx_svga_tileinfo_t::is_indexed, bx_svga_tileinfo_t::is_little_endian, bx_svga_tileinfo_t::pitch, bx_svga_tileinfo_t::red_mask, and bx_svga_tileinfo_t::red_shift.
| u8 * bx_x11_gui_c::graphics_tile_get | ( | unsigned | x, | |
| unsigned | y, | |||
| unsigned * | w, | |||
| unsigned * | h | |||
| ) | [virtual] |
| void bx_x11_gui_c::graphics_tile_update_in_place | ( | unsigned | x, | |
| unsigned | y, | |||
| unsigned | w, | |||
| unsigned | h | |||
| ) | [virtual] |
CConfigurator* bx_x11_gui_c::myCfg [private] |