mirror of
https://github.com/holub/mame
synced 2025-06-24 21:34:43 +03:00
OS X Cocoa debugger: Autoscroll log window. [Curt Coder]
This commit is contained in:
parent
6ab31a3944
commit
f096bee09b
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
|
|
||||||
// TODO:
|
// TODO:
|
||||||
// * Automatic scrolling for console and log views
|
// * Automatic scrolling for console view
|
||||||
// * Keyboard shortcuts in error log and device windows
|
// * Keyboard shortcuts in error log and device windows
|
||||||
// * Don't accept keyboard input while the game is running
|
// * Don't accept keyboard input while the game is running
|
||||||
// * Interior focus rings - standard/exterior focus rings look really ugly here
|
// * Interior focus rings - standard/exterior focus rings look really ugly here
|
||||||
|
@ -184,7 +184,7 @@ static void debugwin_view_update(debug_view &view, void *osdprivate)
|
|||||||
- (void)typeCharacterAndScrollToCursor:(char)ch {
|
- (void)typeCharacterAndScrollToCursor:(char)ch {
|
||||||
debug_view_xy const oldPos = view->cursor_position();
|
debug_view_xy const oldPos = view->cursor_position();
|
||||||
view->process_char(ch);
|
view->process_char(ch);
|
||||||
if (view->cursor_supported() && view->cursor_visible())
|
if (view->cursor_supported())
|
||||||
{
|
{
|
||||||
debug_view_xy const newPos = view->cursor_position();
|
debug_view_xy const newPos = view->cursor_position();
|
||||||
if ((newPos.x != oldPos.x) || (newPos.y != oldPos.y))
|
if ((newPos.x != oldPos.x) || (newPos.y != oldPos.y))
|
||||||
|
Loading…
Reference in New Issue
Block a user