]> git.eshelyaron.com Git - emacs.git/commit
Simplify Haiku cursor management code
authorPo Lu <luangruo@yahoo.com>
Sun, 15 May 2022 06:23:25 +0000 (06:23 +0000)
committerPo Lu <luangruo@yahoo.com>
Sun, 15 May 2022 06:23:45 +0000 (06:23 +0000)
commit99df11a393e5ba39cb2dc93e5a01de69ae18e91a
treed781d29dcc19b64158e62e2e7ac8e491b2b1c851
parentfef8a3a3cdbfc2aaf1b23a54b8b693178a2485fc
Simplify Haiku cursor management code

* src/haiku_support.cc (BCursor_create_default)
(BCursor_create_modeline, BCursor_from_id, BCursor_create_i_beam)
(BCursor_create_progress_cursor, BCursor_create_grab)
(BCursor_delete): Delete specialized cursor creation functions.
(be_delete_cursor, be_create_cursor_from_id): New functions.
(BView_set_view_cursor): Fix coding style.
* src/haiku_support.h (enum haiku_cursor): Add all cursor IDs.
* src/haikufns.c (haiku_free_custom_cursors):
(haiku_set_mouse_color):
* src/haikuterm.c (haiku_term_init): Adjust accordingly.
src/haiku_support.cc
src/haiku_support.h
src/haikufns.c
src/haikuterm.c