1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-21 10:24:55 +00:00
Commit Graph

154 Commits

Author SHA1 Message Date
Gerd Moellmann
32660797d3 *** empty log message *** 2000-01-17 12:45:41 +00:00
Gerd Moellmann
d36100c99b *** empty log message *** 2000-01-17 09:50:58 +00:00
Gerd Moellmann
1f0cf6ee91 (make_menubar): Set XmNresizeHeight and XmNresizeWidth to False. 2000-01-17 09:29:10 +00:00
Gerd Moellmann
52b8dbf903 *** empty log message *** 2000-01-17 09:16:13 +00:00
Gerd Moellmann
ad45c495f6 (_XlwMenu_part): Add `highlight' callback list. 2000-01-17 09:11:23 +00:00
Gerd Moellmann
0d8f73783c (XtNhighlightCallback): New define. 2000-01-17 09:11:11 +00:00
Gerd Moellmann
d6fd637121 (xlwMenuResources): All XtNhighlightCallback.
(remap_menubar): Call highlight callback.
2000-01-17 09:10:58 +00:00
Gerd Moellmann
6431de0a0e (_widget_value): Add help string. 2000-01-17 09:10:40 +00:00
Gerd Moellmann
98f7f0d7b7 Add prototype for lw_get_widget_instance. 2000-01-17 09:10:21 +00:00
Gerd Moellmann
02512b201f (copy_widget_value_tree): Copy help string.
(free_widget_value_tree): Free help string.
(merge_widget_value): Handle help string.
(allocate_widget_info, lw_register_widget, lw_create_widget): Add
parameter HIGHLIGHT_CB.
(lw_get_widget_instance): New function.
2000-01-17 09:10:05 +00:00
Gerd Moellmann
fa616ec497 (highlight_hook): New function.
(xlw_create_menubar, xlw_create_popup_menu): Add highlight_hook as
callback XtNhighlightCallback.
2000-01-17 09:09:39 +00:00
Gerd Moellmann
d3065ce277 (xm_arm_callback): New function.
(make_menu_in_widget): Set xm_arm_callback as XmNarmCallback and
XmNdisarmCallback for buttons (not supported for other widgets).
2000-01-17 09:09:08 +00:00
Paul Eggert
0f0912e644 Add support for large files, plus some locale improvements.
* dispatch.c, lwlib-Xaw.c, lwlib-Xlw.c, lwlib-Xm.c, lwlib.c, xlwmenu.c,
xrdb-cpp.c, xrdb.c:
Include <config.h> before any system include files.

* lwlib-Xm.c, lwlib.c:
Do not include <stdlib.h> or <string.h>, as <config.h> does this.
1999-10-19 07:21:16 +00:00
Gerd Moellmann
f5737ad232 *** empty log message *** 1999-10-06 23:31:49 +00:00
Gerd Moellmann
e9ec3919bc (make_menu_in_widget, update_one_menu_entry): Use
widgets instead of gadgets to be able to set colors.
1999-10-06 23:25:07 +00:00
Dave Love
387581d8b4 # 1999-10-04 13:10:21 +00:00
Dave Love
a08cb76c5a # 1999-09-30 21:29:02 +00:00
Richard M. Stallman
8dce2ddc9d (wm_delete_window): Check all the shell's children,
not just the first, to find the dialog box.
1999-09-18 03:02:03 +00:00
Gerd Moellmann
46d74a6943 (lw_separator_p): Check for new-style separators
differently.
1999-09-14 15:30:15 +00:00
Gerd Moellmann
61e59c1dd1 (lw_separator_p): Add `--:space' with the same
meaning as `--:noLine'.
1999-09-10 16:19:33 +00:00
Gerd Moellmann
2af98732e6 (lw_separator_p): Add alternative separator type names. 1999-09-06 15:57:51 +00:00
Gerd Moellmann
dd7447ccb0 (make_shadow_gcs): Call
x_alloc_nearest_color_for_widget.
1999-09-03 18:49:53 +00:00
Gerd Moellmann
968aa0ada4 Add function prototypes.
(xm_update_label): Use val->name to look up
a label string from resources.
(all_dashes_p): Removed.
(make_menu_in_widget): Use lw_separator_p.  Set Motif separator
type.
(make_menu_in_widget): Set alignment of menu
title after all widgets have been created.
(xm_update_toggle): Add callback xm_generic_callback
instead of xm_internal_update_other_instances.
(make_menu_in_widget): Do help button before managing
children to get it to the right place.
(make_menu_in_widget): Create toggle buttons.
(update_one_menu_entry): Update toggle buttons.
(make_menu_in_widget): Test for menubar widgets
using XmNrowColumnType.
1999-07-21 21:43:52 +00:00
Gerd Moellmann
da88f59218 (lw_separator_p): New.
(merge_widget_value): Handle button_type.
(copy_widget_value_tree): Copy button_type.
1999-07-21 21:43:52 +00:00
Gerd Moellmann
cedccd2efa (enum menu_separator): New.
(enum button_type): New.
(_widget_value): New member button_type.
1999-07-21 21:43:52 +00:00
Gerd Moellmann
be06a3dffa (make_shadow_gcs) ]emacs]: Use x_alloc_nearest_color.
(all_dashes_p): Removed.
(size_menu_item): Call lw_separator_p.
(display_menu_item): Ditto.
(display_menu): Ditto.
(draw_separator): New.
(display_menu_item): Call it.
(separator_height): New.
(size_menu_item): Call it.
(abort_gracefully): New.
(display_menu): Use it instead of abort.
(size_menu): Ditto.
(xlwMenuResources): Change previously unused
XtNmargin to 4.
(size_menu): Take margin into account.
(display_menu_item): Ditto.
(remap_menubar): Ditto.
(draw_arrow): Draw it 3D.
(radio_button_width): New.
(size_menu_item): Use new functions.
(draw_shadow_rhombus): New.
(draw_radio): Use radio_button_width and draw_shadow_rhombus.
(draw_toggle): Use toggle_button_width.
(size_menu_item): Add parameter button_width.
(size_menu): Compute button_width.
(toggle_button_width): New.
(draw_toggle): New.
(draw_radio): New.
(draw_shadow_rectangle): Add parameter `down_p'.
1999-07-21 21:43:52 +00:00
Gerd Moellmann
7c2eb6d1fd (_window_state): Add button_width. 1999-07-21 21:43:52 +00:00
Richard M. Stallman
8a23f4d8a6 (lwlib-utils.o, lwlib.o, lwlib-Xlw.o)
(lwlib-Xaw.o, lwlib-Xm.o, lwlib-Xol.o, lwlib-Xolmb.o):
Add dependencies to corresponding .c files. for Solaris 2.x VPATH make.
1998-08-02 00:29:05 +00:00
Andreas Schwab
cec17865e8 Always declare xmalloc.
[USE_XAW]: Include <X11/Xaw/Paned.h>.
(lwlib_memset, lwlib_bcopy): Explicitly declare return type.
1998-04-06 10:23:30 +00:00
Richard M. Stallman
bafa64ca78 (update_one_menu_entry): Add conditional in case XmNpositionIndex is missing. 1997-12-20 23:12:09 +00:00
Richard M. Stallman
4f08464cb8 (motion_event_is_in_menu): Extend the left and
top windows by the shadow width.
1997-09-20 04:48:29 +00:00
Richard M. Stallman
ccc1cac016 (display_menu): If an item is disabled,
don't display its submenu (if any).
1997-07-26 01:40:05 +00:00
Richard M. Stallman
5efb61c794 (pop_up_menu): Update the call to x_catch_errors. 1997-05-02 07:27:07 +00:00
Richard M. Stallman
1ba46f7d63 (enriched-translations): Add top' and choice' everywhere so that *
can be entered.
(custom-face-attributes): Don't use top-line'.
(mode-line-format): Replace (:eval mode-line-mode-name)'.
(mode-line-mode-name): New.
(make-mode-line-mouse-sensitive): Don't change default value
of x' are found before files starting with down_p'.
1997-01-22 02:04:17 +00:00
Richard M. Stallman
923f85be1c (update_one_menu_entry): Fix previous change:
When XmIsCascadeButton, don't call XmCreateCascadeButtonGadget,
just modify the existing one.
1996-08-12 18:57:08 +00:00
Richard M. Stallman
61069f2b08 (merge_widget_value): Undo previous change. 1996-08-10 18:51:19 +00:00
Richard M. Stallman
565157eefa (update_one_menu_entry): When creating a pulldown
in an existing but empty menu item, in order to get a new functional
pulldown, the menu item must be switched from an XmPushButtonGadget
into a XmCascadeButtonGadget.
1996-08-10 18:48:18 +00:00
Richard M. Stallman
42de618f8f (make_menubar): Turn off menu accelerator. 1996-08-01 22:25:36 +00:00
Richard M. Stallman
2fe6d204c9 (merge_widget_value) [USE_MOTIF]: Pass along the change flag from
merged_contents.
1996-07-27 16:19:46 +00:00
Karl Heuer
1fb87c7784 Fix FSF address in comment. 1996-07-20 18:10:35 +00:00
Karl Heuer
29a0dc6ce1 (xm_update_menu): Fix loop termination test. 1996-07-13 18:51:11 +00:00
Karl Heuer
d6f8129433 Undo previous change. 1996-07-10 13:47:24 +00:00
Karl Heuer
0d7ed72012 Undo previous change. 1996-07-07 23:00:30 +00:00
Miles Bader
f5bdf293d7 Declare lw_motif_menu_related_event_p. 1996-07-04 05:59:23 +00:00
Miles Bader
0e43e01452 (lw_toolkit_related_event_p): A predicate to identify toolkit-specific events. 1996-07-04 05:50:07 +00:00
Miles Bader
7f76dcc0ad (lw_motif_menu_related_event_p): A predicate to identify keyboard events
intended only for menus.
1996-07-04 05:46:24 +00:00
Miles Bader
d7e4738238 Declare lw_toolkit_related_event_p. 1996-07-04 05:46:22 +00:00
Richard M. Stallman
5efe98b7b6 (make_menu_in_widget): Set mapping delay
for cascade buttons to zero.
1996-06-10 17:31:25 +00:00
Richard M. Stallman
d69fa6b179 (destroy_all_children): When freeing a cascade button, free its submenu too.
(make_menu_in_widget): Use a cascade button gadget, not a widget.
Include Xm/CascadeBG.h.
1996-04-03 17:22:57 +00:00
Richard M. Stallman
6180d6be50 (tags): New target. 1996-03-29 14:52:56 +00:00