

Definition at line 72 of file gui_win32.cpp.
Public Member Functions | |
| bx_win32_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 void | get_capabilities (u16 *xres, u16 *yres, u16 *bpp) |
Private Attributes | |
| CConfigurator * | myCfg |
| bx_win32_gui_c::bx_win32_gui_c | ( | CConfigurator * | cfg | ) | [inline] |
| void bx_win32_gui_c::specific_init | ( | unsigned | x_tilesize, | |
| unsigned | y_tilesize | |||
| ) | [virtual] |
Implements bx_gui_c.
Definition at line 602 of file gui_win32.cpp.
References BX_INFO, bx_keymap, create_vga_font(), sharedThreadInfo::drawCS, EXIT_GMH_FAILURE, CConfigurator::get_bool_value(), sharedThreadInfo::hInstance, sharedThreadInfo::keyCS, sharedThreadInfo::kill, bx_keymap_c::loadKeymap(), sharedThreadInfo::mouseCS, myCfg, sharedThreadInfo::simWnd, terminateEmul(), sharedThreadInfo::UIinited, UIThread(), and y_tilesize.
| void bx_win32_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 1405 of file gui_win32.cpp.
References bx_gui_c::char_changed, bx_gui_c::charmap_updated, bx_vga_tminfo_t::cs_end, bx_vga_tminfo_t::cs_start, DrawBitmap(), DrawChar(), sharedThreadInfo::drawCS, 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, sharedThreadInfo::simWnd, bx_vga_tminfo_t::split_hpanning, bx_vga_tminfo_t::start_address, text_cols, theVGA, sharedThreadInfo::UIinited, v_panning, bx_vga_tminfo_t::v_panning, bx_gui_c::vga_charmap, and yChar.
| void bx_win32_gui_c::graphics_tile_update | ( | u8 * | snapshot, | |
| unsigned | x, | |||
| unsigned | y | |||
| ) | [virtual] |
Implements bx_gui_c.
Definition at line 1759 of file gui_win32.cpp.
References sharedThreadInfo::drawCS, sharedThreadInfo::simWnd, updateUpdated(), and y_tilesize.
| void bx_win32_gui_c::handle_events | ( | void | ) | [virtual] |
Implements bx_gui_c.
Definition at line 1296 of file gui_win32.cpp.
References BX_KEY_RELEASED, deq_key_event(), enq_mouse_event(), CKeyboard::gen_scancode(), QueueEvent::key_event, bx_gui_c::key_event(), sharedThreadInfo::keyCS, sharedThreadInfo::kill, MOUSE_MOTION, MOUSE_PRESSED, tail, terminateEmul(), and theKeyboard.
| void bx_win32_gui_c::flush | ( | void | ) | [virtual] |
Implements bx_gui_c.
Definition at line 1347 of file gui_win32.cpp.
References sharedThreadInfo::drawCS, and sharedThreadInfo::simWnd.
| void bx_win32_gui_c::clear_screen | ( | void | ) | [virtual] |
Implements bx_gui_c.
Definition at line 1367 of file gui_win32.cpp.
References sharedThreadInfo::drawCS, sharedThreadInfo::UIinited, and updateUpdated().
| bool bx_win32_gui_c::palette_change | ( | unsigned | index, | |
| unsigned | red, | |||
| unsigned | green, | |||
| unsigned | blue | |||
| ) | [virtual] |
| void bx_win32_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 1791 of file gui_win32.cpp.
References BX_INFO, bx_gui_c::host_bpp, bx_gui_c::host_xres, bx_gui_c::host_yres, resize_main_window(), text_cols, and yChar.
Referenced by simWndProc().
| void bx_win32_gui_c::mouse_enabled_changed_specific | ( | bool | val | ) | [virtual] |
| void bx_win32_gui_c::exit | ( | void | ) | [virtual] |
Implements bx_gui_c.
Definition at line 1864 of file gui_win32.cpp.
References EXIT_NORMAL, sharedThreadInfo::kill, sharedThreadInfo::mainWnd, and terminateEmul().
CConfigurator* bx_win32_gui_c::myCfg [private] |