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
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
d6fd637121
(xlwMenuResources): All XtNhighlightCallback.
...
(remap_menubar): Call highlight callback.
2000-01-17 09:10:58 +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
dd7447ccb0
(make_shadow_gcs): Call
...
x_alloc_nearest_color_for_widget.
1999-09-03 18:49:53 +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
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
Karl Heuer
1fb87c7784
Fix FSF address in comment.
1996-07-20 18:10:35 +00:00
Richard M. Stallman
6a21225cd1
(motion_event_is_in_menu): Make x and y signed.
1996-03-01 20:11:49 +00:00
Karl Heuer
908ff139f9
Comment fixes.
1996-01-05 00:45:43 +00:00
Richard M. Stallman
ba624d0f4c
(xlwMenuActionsList): Add "key" and "nothing".
...
(xlwMenuTranslations): Add translations for Key, KeyUp,
and for the modifier keysyms.
(Nothing, Key): New functions.
(XlwMenuSetValues): Do redisplay if non-null contents
get replaced by empty contents.
1995-12-31 19:15:18 +00:00
Richard M. Stallman
4f35820fbc
(display_menu_item): Fix previous change.
1995-11-15 23:00:18 +00:00
Richard M. Stallman
c142163a18
(display_menu_item): Don't treat buttons specially.
1995-11-10 17:43:52 +00:00
Karl Heuer
3c9ce1c4f3
(Drag): Do nothing unless menu.popped_up field is set.
1995-05-29 07:16:27 +00:00
Karl Heuer
a504c8fa20
(XlwMenuInitialize): Cast XCreatePixmapFromBitmapData args.
1995-05-23 03:04:22 +00:00
Richard M. Stallman
ccf589a69c
(size_menu): Make height and label_width unsigned.
...
(fit_to_screen): Make screen_width and screen_height unsigned.
(motion_event_is_in_menu): Make x, y unsigned.
1995-04-15 18:33:29 +00:00
Richard M. Stallman
47d52240aa
(xlwmenu_default_font): New global variable.
...
(XlwMenuInitialize): Use xlwmenu_default_font to default
the font if necessary. Make mw, itself, an argument.
1994-10-29 23:25:10 +00:00
Richard M. Stallman
8400b9ed37
(pop_up_menu): Pass a Display * to x_catch_errors, etc.
1994-10-26 04:57:41 +00:00
Richard M. Stallman
525b823278
(fit_to_screen): Don't put the menu off the left or top.
1994-10-08 04:16:17 +00:00
Paul Reilly
84593cae2f
(display_menu_item): Add support for displaying the title in pop up menus.
1994-10-02 12:14:00 +00:00
Paul Reilly
87a559bff7
Clean up of temporary changes used to try to find a workaround for the
...
X11R4 Xt bug whereby motion events are not generated from submenus.
1994-09-25 23:30:51 +00:00
Paul Reilly
45d91af424
entered into RCS
1994-09-25 17:18:58 +00:00
Paul Reilly
d35cf493ac
*** empty log message ***
1994-09-25 00:22:16 +00:00
Paul Reilly
2289f3f4df
*** empty log message ***
1994-09-24 00:12:06 +00:00
Paul Reilly
4cc76151a7
*** empty log message ***
1994-09-23 21:02:25 +00:00
Paul Reilly
200286b15a
*** empty log message ***
1994-09-17 15:06:37 +00:00
Paul Reilly
d398028fdd
*** empty log message ***
1994-09-17 12:53:30 +00:00
Richard M. Stallman
d97342f3aa
*** empty log message ***
1994-01-21 16:52:12 +00:00
Richard M. Stallman
07bf635fc3
Initial revision
1994-01-18 23:47:41 +00:00