Mercurial > emacs
view lwlib/lwlib-Xlw.h @ 93072:e54658ddb618
* w32fns.c (hourglass_timer, hourglass_hwnd): New variables.
(syms_of_w32fns): Initialize them.
(HOURGLASS_ID): New constant.
(x_window_to_frame): Don't check hourglass_window.
(w32_wnd_proc) <WM_TIMER>: Handle hourglass_timer.
(w32_wnd_proc) <WM_EXITMENULOOP>: Set pending hourglass cursor.
(w32_wnd_proc) <WM_SETCURSOR>: Set the hourglass or current cursor.
(w32_wnd_proc) <WM_EMACS_SETCURSOR>: Set frame's current_cursor.
Only change the cursor if hourglass is not active.
(Fx_create_frame): Initialize frame's current_cursor.
(hourglass_atimer): Remove.
(hourglass_started): New function.
(start_hourglass, cancel_hourglass, hide_hourglass): Adapt to w32.
(show_hourglass): Adapt to w32, changing argument to frame.
* w32term.h (struct w32_output): Remove hourglass_window.
Add current_cursor.
* eval.c (call_debugger, Fsignal):
* keyboard.c (recursive_edit_1, cmd_error, Ftop_level)
(command_loop_1, Fread_key_sequence, Fread_key_sequence_vector)
(Fexecute_extended_command, cancel_hourglass_unwind):
* minibuf.c (read_minibuf):
* fns.c (Fy_or_n_p): Enable hourglass when HAVE_WINDOW_SYSTEM.
author | Jason Rumney <jasonr@gnu.org> |
---|---|
date | Wed, 19 Mar 2008 17:02:46 +0000 |
parents | 695cf19ef79e |
children | 375f2633d815 e16f43875a48 |
line wrap: on
line source
#ifndef LWLIB_XLW_H #define LWLIB_XLW_H #include "lwlib-int.h" extern widget_creation_entry xlw_creation_table []; extern widget_creation_function xlw_create_dialog; Boolean lw_lucid_widget_p __P ((Widget widget)); void xlw_update_one_widget __P ((widget_instance* instance, Widget widget, widget_value* val, Boolean deep_p)); void xlw_update_one_value __P ((widget_instance* instance, Widget widget, widget_value* val)); void xlw_destroy_instance __P ((widget_instance* instance)); void xlw_pop_instance __P ((widget_instance* instance, Boolean up)); void xlw_popup_menu __P ((Widget widget, XEvent * event)); #endif /* LWLIB_XLW_H */ /* arch-tag: e5b1511d-8992-4dad-b947-a2440d8f10a2 (do not change this comment) */