Pavel Janík
557c29061e
Remove file.
2002-04-25 05:44:56 +00:00
Jan Djärv
6be3e0da26
*** empty log message ***
2002-04-22 18:27:39 +00:00
Jan Djärv
9b7e90fd17
Remove compiler warning
2002-04-22 18:25:55 +00:00
Jan Djärv
4db7db7d55
Add calls to Grab/UngrabKeyboard to remove strange interactions with
...
window managers that steal keypresses.
2002-04-22 18:21:06 +00:00
Pavel Janík
7769818bc9
*** empty log message ***
2002-04-20 13:41:07 +00:00
Pavel Janík
1b8d91abb3
(find_next_selectable): New function.
...
(Down, Up, Right): Use it.
(find_next_selectable): Prevent endless loops when only one item is enabled
in the menu.
2002-04-20 13:39:57 +00:00
Pavel Janík
6ad6535ba3
*** empty log message ***
2002-04-19 19:04:25 +00:00
Pavel Janík
a7e19a2674
(xlwMenuTranslations, xlwMenuActionsList): Add translations for cursor keys
...
and RET.
(find_next_selectable, find_prev_selectable): New functions used for
finding menu-items.
(Down, Up, Left, Right): New functions.
2002-04-19 18:56:51 +00:00
Pavel Janík
e7c9e4455f
Fix typo and whitespaces.
2002-04-19 11:39:17 +00:00
Eli Zaretskii
5e3238f491
*** empty log message ***
2002-04-19 10:35:52 +00:00
Eli Zaretskii
9040fe8b81
(TAGS): Don't use -t, it's the default for
...
etags, so it barfs if invoked with -t.
2002-04-19 10:35:02 +00:00
Richard M. Stallman
6147334f2b
*** empty log message ***
2002-03-18 04:44:05 +00:00
Richard M. Stallman
df5c36cd5c
(P_): Definitions deleted.
2002-03-18 04:33:33 +00:00
Eli Zaretskii
663671d5a8
(P_): Don't define if already defined.
2002-03-16 09:39:48 +00:00
Pavel Janík
7a4b11ca02
*** empty log message ***
2002-01-27 18:25:50 +00:00
Pavel Janík
abf0cb2192
(xaw_update_scrollbar, xaw_scrollbar_scroll)
...
(xaw_scrollbar_jump): Put whole functions in #if 0.
2002-01-27 18:18:38 +00:00
Pavel Janík
ca79970e2a
(xaw_create_dialog): Initialize icon_name to suppress compiler warnings.
2002-01-09 11:01:58 +00:00
Pavel Janík
4521d1fccf
*** empty log message ***
2001-12-18 06:27:15 +00:00
Pavel Janík
4a5301d871
(separator_names): Add missing braces around initializers.
2001-12-18 06:23:17 +00:00
Pavel Janík
03f9f7aeb5
*** empty log message ***
2001-12-08 21:06:01 +00:00
Pavel Janík
6aec6ea8e7
New file.
2001-12-08 20:59:54 +00:00
Richard M. Stallman
656f46bbb4
*** empty log message ***
2001-12-02 05:10:41 +00:00
Richard M. Stallman
2f96293d69
Include ../src/lisp.h.
2001-12-02 05:00:27 +00:00
Richard M. Stallman
0591102a32
(_widget_value): `help' has type Lisp_Object.
2001-12-02 04:55:06 +00:00
Richard M. Stallman
a3bf8a8cfa
Include ../src/lisp.h. Don't declare xmalloc.
...
(free_widget_value_tree): Don't free `help' field.
(copy_widget_value_tree): Copy `help' simply, without safe_strdup.
(merge_widget_value): Compare and copy `help' simply.
2001-12-02 04:52:12 +00:00
Richard M. Stallman
66458f3247
*** empty log message ***
2001-11-29 00:53:52 +00:00
Richard M. Stallman
fe2014cd30
(TAGS): Find the source files in $(srcdir).
2001-11-29 00:45:10 +00:00
Gerd Moellmann
6aa97356aa
*** empty log message ***
2001-10-21 17:41:43 +00:00
Gerd Moellmann
71431a0ea1
*** empty log message ***
2001-10-21 09:04:46 +00:00
Gerd Moellmann
ab952a4f34
*** empty log message ***
2001-10-10 09:43:20 +00:00
Gerd Moellmann
14a3dff75b
*** empty log message ***
2001-10-09 10:18:43 +00:00
Gerd Moellmann
21dd28d479
(xaw_create_scrollbar) [ !0 ]: Return NULL.
...
From Hallvard B Furuseth <h.b.furuseth@usit.uio.no>.
2001-10-09 10:13:44 +00:00
Gerd Moellmann
2a34a036ff
*** empty log message ***
2001-10-06 09:57:20 +00:00
Gerd Moellmann
3e057f36a0
Remove log entries for 20.5 .. 20.7.
2001-05-09 09:50:49 +00:00
Gerd Moellmann
a9793e4573
*** empty log message ***
2001-04-30 15:25:53 +00:00
Gerd Moellmann
2a692ba46f
(xlwmenu_window_p): New function.
2001-04-30 14:34:54 +00:00
Gerd Moellmann
6c29b43cdc
*** empty log message ***
2001-03-23 11:14:13 +00:00
Gerd Moellmann
d3a785fff5
(x_print_complete_resource_name) [0]: New function.
2001-03-23 11:12:25 +00:00
Gerd Moellmann
3c9e997b3c
*** empty log message ***
2001-03-22 19:52:23 +00:00
Gerd Moellmann
388d6c3389
(x_print_complete_resource_name) [0]: New function.
2001-03-22 19:11:33 +00:00
Gerd Moellmann
19b2bb80a3
*** empty log message ***
2001-03-13 16:51:32 +00:00
Gerd Moellmann
667f102ab2
(make_menu_in_widget): Remove code forcing LessTif to
...
recompute centered text; it works fine without with current LessTif.
2001-03-13 16:51:13 +00:00
Gerd Moellmann
f25d58a47c
(make_menu_in_widget): Add an XmNpopdownCallback
...
instead of an XmNunmapCallback.
(xm_unmap_callback): Removed.
2001-03-13 16:30:15 +00:00
Gerd Moellmann
9faaaa523c
*** empty log message ***
2001-03-13 13:16:37 +00:00
Gerd Moellmann
5625f709a4
(make_menubar): Take out code in #if 0.
2001-03-13 12:38:50 +00:00
Gerd Moellmann
3d57dbba1d
(xm_popup_menu): Don't set XmNmenuPost unless
...
necessary. From Rick Scott <rwscott@alumni.uwaterloo.ca>.
2001-03-13 12:31:55 +00:00
Gerd Moellmann
11ef99b90c
*** empty log message ***
2001-02-28 15:06:38 +00:00
Gerd Moellmann
81e3f05877
(xm_arm_callback): Don't compare widgets with `None',
...
use NULL instead.
2001-02-28 15:03:11 +00:00
Gerd Moellmann
2a73ab6066
(xaw_update_one_widget): Use XtSetSensitive instead
...
of setting the value of XtNsensitive.
2001-02-28 14:55:33 +00:00
Gerd Moellmann
2f87cc746e
(xm_update_radiobox, update_one_menu_entry)
...
(xm_update_one_widget): Use XtSetSensitive instead of setting the
value of XmNsensitive. From Rick Scott
<rwscott@alumni.uwaterloo.ca>.
2001-02-28 14:54:54 +00:00
Dave Love
ec9077f26c
*** empty log message ***
2000-12-14 14:17:49 +00:00
Dave Love
5916243b18
(gray_bitmap_bits): Remove `unsigned' from
...
declaration.
2000-12-14 14:11:03 +00:00
Dave Love
2f90328f39
(draw_separator) <SEPARATOR_SHADOW_ETCHED_IN_DASH>:
...
<SEPARATOR_SHADOW_ETCHED_OUT_DASH>: Fix call of draw_separator.
2000-12-11 14:33:47 +00:00
Gerd Moellmann
ae0d748578
*** empty log message ***
2000-12-07 13:27:34 +00:00
Gerd Moellmann
27e3b1a140
(xm_arm_callback): Fix last change.
2000-12-07 12:33:32 +00:00
Gerd Moellmann
edfb795efa
*** empty log message ***
2000-11-30 13:47:34 +00:00
Gerd Moellmann
924e171446
(xm_arm_callback): Handle case that W is null;
...
also see comment there.
2000-11-30 12:50:08 +00:00
Gerd Moellmann
cd913aae53
*** empty log message ***
2000-11-21 22:27:22 +00:00
Gerd Moellmann
f3c9e54407
(xlwmenu_redisplay): New function.
2000-11-21 22:27:08 +00:00
Stefan Monnier
0f3360b0ec
(lw_separator_p): Init separator_p (bug with "-- some text").
2000-09-30 17:03:27 +00:00
Sam Steingold
5c520e0aba
* xlwmenu.c: Before including <X11/Xos.h> on SUN, define SUNOS41
...
to avoid redefining struct timeval and struct timezone.
2000-09-28 20:30:52 +00:00
Gerd Moellmann
6567e9b550
*** empty log message ***
2000-09-25 15:42:25 +00:00
Gerd Moellmann
1b24b88816
*** empty log message ***
2000-09-21 15:08:55 +00:00
Miles Bader
b7fa4a0675
(remap_menubar):
...
Only include the menu-margin in the initial X & Y positions for
horizontal menu-bars.
(fit_to_screen):
If moving a sub-menu to the left-side, increment its x-position by the
shadow-thickness to make it look more attached to the invoking
menu-item (similarly to the way it would be displayed on the right side).
2000-09-04 13:04:49 +00:00
Miles Bader
43aa2f1bef
(XlwMenuSetValues): Pass the correct pointer type to XtIsRealized.
2000-09-04 12:13:34 +00:00
Miles Bader
7a3d0e0ee0
*** empty log message ***
2000-09-04 11:57:57 +00:00
Miles Bader
da353f232d
(XlwMenuSetValues): Only frob the display if the menu is actually displayed.
2000-09-04 11:55:02 +00:00
Miles Bader
a3d35a3982
*** empty log message ***
2000-09-03 11:40:32 +00:00
Miles Bader
65c0ae0523
(x_alloc_lighter_color_for_widget):
...
New extern declaration.
(make_shadow_gcs) [emacs]:
Use x_alloc_lighter_color_for_widget to do shadow calculation.
(make_shadow_gcs):
Remove code that tests whether the top shadow is dimmer than the bottom
shadow--it shouldn't ever happen.
2000-09-03 11:37:45 +00:00
Miles Bader
caccd8f284
*** empty log message ***
2000-08-30 12:11:04 +00:00
Miles Bader
90c7e9f079
(XlwMenuSetValues):
...
If the background color has changed, re-make the shadow-gcs too.
2000-08-30 11:52:37 +00:00
Kenichi Handa
6922b01802
*** empty log message ***
2000-08-21 01:39:25 +00:00
Gerd Moellmann
f4988be716
*** empty log message ***
2000-08-03 20:24:26 +00:00
Gerd Moellmann
8dd095ee45
Use NULL at the end of the
...
variable argument lists of XtVaSetValues and XtVaGetValues
functions because 0 is not sufficient on systems where sizeof
(int) < sizeof (void *).
2000-08-03 20:09:56 +00:00
Gerd Moellmann
47db06aae4
*** empty log message ***
2000-07-19 15:52:13 +00:00
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