diff options
author | Dmitry Antipov <dmantipov@yandex.ru> | 2013-08-23 08:03:25 +0400 |
---|---|---|
committer | Dmitry Antipov <dmantipov@yandex.ru> | 2013-08-23 08:03:25 +0400 |
commit | 9997ec56be8bf3fb32ac246e5b654ed735ee2c52 (patch) | |
tree | 9005d22fa77dfbf0799c83e094bf510fc877af58 /src/frame.h | |
parent | 7f780da621d462afa3c6e0374590a86de513f863 (diff) |
Minor cleanup for redisplay interface and few related functions.
* frame.h (enum text_cursor_kinds): Move from here...
* dispextern.h (enum text_cursor_kinds): ...to here.
(toplevel): Drop unnecessary declarations.
(struct redisplay_interface): Use bool and enum text_cursor_kinds
in update_window_end_hook and draw_window_cursor functions.
(display_and_set_cursor, x_update_cursor): Adjust prototypes.
* nsterm.m (ns_update_window_end, ns_draw_window_cursor):
* w32term.c (x_update_window_end,w32_draw_window_cursor):
* xterm.c (x_update_window_end, x_draw_window_cursor):
* xdisp.c (display_and_set_cursor, update_window_cursor)
(update_cursor_in_window_tree, x_update_cursor): Use bool and
enum text_cursor_kinds where appropriate.
Diffstat (limited to 'src/frame.h')
-rw-r--r-- | src/frame.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/frame.h b/src/frame.h index e44003b15c..2dcb756252 100644 --- a/src/frame.h +++ b/src/frame.h @@ -56,16 +56,6 @@ enum vertical_scroll_bar_type vertical_scroll_bar_right }; -enum text_cursor_kinds -{ - DEFAULT_CURSOR = -2, - NO_CURSOR = -1, - FILLED_BOX_CURSOR, - HOLLOW_BOX_CURSOR, - BAR_CURSOR, - HBAR_CURSOR -}; - enum fullscreen_type { FULLSCREEN_NONE, |