aboutsummaryrefslogtreecommitdiffstats
path: root/src/androidterm.h
diff options
context:
space:
mode:
authorPo Lu2023-03-11 08:34:57 +0800
committerPo Lu2023-03-11 08:34:57 +0800
commite9a879260d791ccd509f031ea4e2f3fd645a9672 (patch)
tree4dee22c74ed47bfff9974f303c495cb4ba2e8074 /src/androidterm.h
parent769a4e7ff51c370b055a964ae96e2ace43fc1936 (diff)
downloademacs-e9a879260d791ccd509f031ea4e2f3fd645a9672.tar.gz
emacs-e9a879260d791ccd509f031ea4e2f3fd645a9672.zip
Implement hourglass cursor on Android
* lisp/term/android-win.el (x-pointer-arrow, x-pointer-left-ptr) (x-pointer-left-side, x-pointer-sb-h-double-arrow) (x-pointer-sb-v-double-arrow, x-pointer-watch, x-pointer-xterm) (x-pointer-invisible): New constants. * src/androidterm.c (android_show_hourglass) (android_hide_hourglass): New functions. (android_toggle_visible_pointer, android_define_frame_cursor): Define or don't define hourglass cursor if x->hourglass. (android_redisplay_interface): Add new functions. * src/androidterm.h (struct android_output): New field `hourglass'.
Diffstat (limited to 'src/androidterm.h')
-rw-r--r--src/androidterm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/androidterm.h b/src/androidterm.h
index 2e59365b56d..9396d5fe315 100644
--- a/src/androidterm.h
+++ b/src/androidterm.h
@@ -209,6 +209,9 @@ struct android_output
209 Emacs_Cursor bottom_edge_cursor; 209 Emacs_Cursor bottom_edge_cursor;
210 Emacs_Cursor bottom_left_corner_cursor; 210 Emacs_Cursor bottom_left_corner_cursor;
211 211
212 /* Whether or not the hourglass cursor is being displayed. */
213 bool hourglass;
214
212 /* This is the Emacs structure for the display this frame is on. */ 215 /* This is the Emacs structure for the display this frame is on. */
213 struct android_display_info *display_info; 216 struct android_display_info *display_info;
214 217