Gerd Moellmann
f1c16db4be
Don't include <X11/bitmaps/gray> because that
...
leads to redefinition errors when static is defined as empty in
config.h. Refer to the gray bitmap in xfns.c, instead.
2000-07-19 15:49:28 +00:00
Dave Love
cdefcd82ca
(XtApplyToWidgets): Cast args of lwlib_bcopy.
2000-07-18 12:41:55 +00:00
Dave Love
af5e64bc8e
(xlw_popup_menu): Cast arg of pop_up_menu.
2000-06-23 13:59:33 +00:00
Dave Love
123c6301b3
Include lwlib.h.
2000-06-23 13:57:34 +00:00
Gerd Moellmann
0a2ea2356d
*** empty log message ***
2000-06-16 18:54:24 +00:00
Gerd Moellmann
bba2a92393
(make_shadow_gcs): Set free_top_shadow_color_p
...
and free_top_shadow_color_p flags in the menu widget if
top and bottom shadow colors must be freed.
(release_shadow_gcs): Free colors only if they must be freed.
2000-06-16 18:34:17 +00:00
Gerd Moellmann
457d47f892
(_XlwMenu_part): Add free_top_shadow_color_p and
...
free_bottom_shadow_color_p.
2000-06-16 18:33:58 +00:00
Gerd Moellmann
ed1056b307
*** empty log message ***
2000-06-12 19:12:17 +00:00
Gerd Moellmann
fc8fefedf3
(make_shadow_gcs): Free and copy colors so that
...
color reference counts are right.
(release_shadow_gcs): Free colors.
2000-06-12 19:12:11 +00:00
Dave Love
bb2337f5ad
*** empty log message ***
2000-06-06 14:56:30 +00:00
Dave Love
a57a160552
(x_alloc_nearest_color_for_widget, x_catch_errors, x_uncatch_errors)
...
(x_had_errors_p, x_clear_errors): Add prototypes -- should be moved
into separate header.
(make_shadow_gcs) <x_alloc_nearest_color_for_widget>: Cast first arg.
(Start) <pop_up_menu>: Cast second arg.
2000-06-06 14:21:15 +00:00
Dave Love
fdc4d3cdb9
(P_): Use PROTOTYPES.
...
(safe_strdup): Declare arg const.
(lw_modify_all_widgets) <!info>: Return 0.
2000-06-06 14:15:49 +00:00
Dave Love
200ca4d576
(P_): Use PROTOTYPES.
2000-06-06 14:13:17 +00:00
Dave Love
99570665ff
Enable prototypes.
2000-06-06 14:12:10 +00:00
Dave Love
4374c6b0cb
(xaw_popup_menu): Add EVENT arg.
2000-06-06 14:07:57 +00:00
Dave Love
371b6f31d3
(lwlib.o): Depend on lwlib-Xlw.h.
...
(lwlib-Xlw.o): Depend on lwlib-Xlw.h.
(lwlib-Xaw.o): Depend on lwlib-Xaw.h.
(lwlib-Xm.o): Depend on lwlib-Xm.h.
2000-06-06 14:05:40 +00:00
Gerd Moellmann
9b2f3c3830
*** empty log message ***
2000-03-12 17:01:50 +00:00
Gerd Moellmann
d21cf544f7
(make_menubar) [LESSTIF_VERSION]: Don't set
...
XmNresizeHeight and XmNresizeWidth.
2000-03-12 16:22:19 +00:00
Dave Love
7397acc494
(liblw.a): Don't bother testing for ranlib failing
...
since configure sets it up.
2000-03-08 19:10:01 +00:00
Gerd Moellmann
1d4d17e24a
(make_menubar): Set XmNresizeHeight and
...
XmNresizeWidth resources only if LESSTIF_VERSION is defined.
2000-03-06 22:50:15 +00:00
Gerd Moellmann
566f7ec858
(xm_manage_resizing): Rewritten.
2000-03-05 14:32:02 +00:00
Gerd Moellmann
a17063b5b4
(lw_modify_all_widgets): Return non-zero if widget
...
tree was changed.
(merge_widget_value): Add parameter CHANGE_P. Set *CHANGE_P
to 1 if a change occurs.
2000-03-05 14:31:04 +00:00
Gerd Moellmann
23b4d91d7c
(lw_modify_all_widgets): Change prototype.
2000-03-05 14:30:37 +00:00
Gerd Moellmann
64d739c445
*** empty log message ***
2000-03-04 16:04:15 +00:00
Gerd Moellmann
b0404f9ffc
(make_shadow_gcs): Use the widget's colormap instead
...
of the screen's default colormap.
2000-03-04 16:04:00 +00:00
Gerd Moellmann
b6a22bf83e
*** empty log message ***
2000-02-18 11:35:29 +00:00
Gerd Moellmann
2114e13f51
(merge_widget_value): Fix incorrect assignment of
...
safe_strdup'd help string.
2000-02-18 11:35:16 +00:00
Gerd Moellmann
e12489f9ab
*** empty log message ***
2000-01-25 15:59:42 +00:00
Gerd Moellmann
640438b056
(make_menu_in_widget): Don't add XmNpopdownCallback,
...
add XmNunmapCallback.
(xm_unmap_callback): New function.
(xm_pull_down_callback): Call pre-activate callback only if
parent is the menu bar.
2000-01-25 15:50:53 +00:00
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