summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/debugger/osx/debugview.m
diff options
context:
space:
mode:
Diffstat (limited to 'src/osd/modules/debugger/osx/debugview.m')
-rw-r--r--src/osd/modules/debugger/osx/debugview.m15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/osd/modules/debugger/osx/debugview.m b/src/osd/modules/debugger/osx/debugview.m
index 7182ac3ee5c..7e79909ef3b 100644
--- a/src/osd/modules/debugger/osx/debugview.m
+++ b/src/osd/modules/debugger/osx/debugview.m
@@ -286,6 +286,21 @@ static void debugwin_view_update(debug_view &view, void *osdprivate)
}
+- (BOOL)cursorSupported {
+ return view->cursor_supported();
+}
+
+
+- (BOOL)cursorVisible {
+ return view->cursor_visible();
+}
+
+
+- (debug_view_xy)cursorPosition {
+ return view->cursor_position();
+}
+
+
- (void)windowDidBecomeKey:(NSNotification *)notification {
NSWindow *win = [notification object];
if ((win == [self window]) && ([win firstResponder] == self) && view->cursor_supported())