view lwlib/lwlib-Xol.h @ 23679:3d02c8b4b525

Include w32term.h and w32heap.h. (map_keypad_keys): (Vw32_enable_caps_lock): (Vw32_enable_num_lock): (Vw32_pass_lwindow_to_system): (Vw32_pass_rwindow_to_system): (Vw32_lwindow_modifier): (Vw32_rwindow_modifier): (Vw32_apps_modifier): (Vw32_scroll_lock_modifier): (w32_key_to_modifier): Add externs. (w32_kbd_mods_to_emacs): Recognize Windows keys, Apps key, and Scroll Lock as potential modifiers; exclude numpad keys from effect by CapsLock; act on Vw32_enable_caps_lock; remove obsolete code. (is_dead_key): Copy from w32fns.c. (w32_kbd_patch_key): Comment attempt to improve handling of dead-keys, and system bug relating to same on Windows NT. Work around the bug by calling ToUnicode and then converting to the correct codepage. (map_virt_key): Removed obsolete variable. (lispy_function_keys): Add extern. (key_event): Major rework of keyboard input handling: optionally recognize Windows keys and Apps key as modifiers; optionally treat NumLock, CapsLock and ScrollLock as function keys; let system translate keystrokes to characters to avoid system bugs relating to dead-key handling; preserve shift distinction for control characters. Remove some obsolete code.
author Geoff Voelker <voelker@cs.washington.edu>
date Tue, 10 Nov 1998 20:52:20 +0000
parents f999ebca00da
children
line wrap: on
line source

#ifndef LWLIB_XOL_H
#define LWLIB_XOL_H

#include "lwlib-int.h"

extern widget_creation_entry xol_creation_table [];
extern Widget xol_create_dialog (widget_instance *);

Boolean
lw_olit_widget_p (Widget widget);

void
xol_update_one_widget (widget_instance* instance, Widget widget,
		       widget_value* val, Boolean deep_p);

void
xol_update_one_value (widget_instance* instance, Widget widget,
		      widget_value* val);

void
xol_destroy_instance (widget_instance* instance);

void
xol_pop_instance (widget_instance* instance, Boolean up);

void
xol_popup_menu (Widget widget);

#endif /* LWLIB_XOL_H */