summaryrefslogtreecommitdiff
path: root/lwlib
Commit message (Collapse)AuthorAgeFilesLines
* *** empty log message ***Gerd Moellmann1999-10-061-0/+5
|
* (make_menu_in_widget, update_one_menu_entry): UseGerd Moellmann1999-10-061-4/+4
| | | | widgets instead of gadgets to be able to set colors.
* #Dave Love1999-10-041-0/+24
|
* #Dave Love1999-09-306-0/+1147
|
* (wm_delete_window): Check all the shell's children,Richard M. Stallman1999-09-181-3/+9
| | | | not just the first, to find the dialog box.
* (lw_separator_p): Check for new-style separatorsGerd Moellmann1999-09-141-1/+2
| | | | differently.
* (lw_separator_p): Add `--:space' with the sameGerd Moellmann1999-09-101-0/+1
| | | | meaning as `--:noLine'.
* (lw_separator_p): Add alternative separator type names.Gerd Moellmann1999-09-061-0/+44
|
* (make_shadow_gcs): CallGerd Moellmann1999-09-031-2/+2
| | | | x_alloc_nearest_color_for_widget.
* Add function prototypes.Gerd Moellmann1999-07-211-53/+159
| | | | | | | | | | | | | | | | | | (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.
* (lw_separator_p): New.Gerd Moellmann1999-07-211-0/+78
| | | | | (merge_widget_value): Handle button_type. (copy_widget_value_tree): Copy button_type.
* (enum menu_separator): New.Gerd Moellmann1999-07-211-0/+39
| | | | | (enum button_type): New. (_widget_value): New member button_type.
* (make_shadow_gcs) ]emacs]: Use x_alloc_nearest_color.Gerd Moellmann1999-07-211-77/+465
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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'.
* (_window_state): Add button_width.Gerd Moellmann1999-07-211-0/+3
|
* (lwlib-utils.o, lwlib.o, lwlib-Xlw.o)Richard M. Stallman1998-08-021-7/+7
| | | | | (lwlib-Xaw.o, lwlib-Xm.o, lwlib-Xol.o, lwlib-Xolmb.o): Add dependencies to corresponding .c files. for Solaris 2.x VPATH make.
* Always declare xmalloc.Andreas Schwab1998-04-061-1/+4
| | | | | [USE_XAW]: Include <X11/Xaw/Paned.h>. (lwlib_memset, lwlib_bcopy): Explicitly declare return type.
* (update_one_menu_entry): Add conditional in case XmNpositionIndex is missing.Richard M. Stallman1997-12-201-1/+3
|
* (motion_event_is_in_menu): Extend the left andEMACS_20_2Richard M. Stallman1997-09-201-4/+5
| | | | top windows by the shadow width.
* (display_menu): If an item is disabled,Richard M. Stallman1997-07-261-2/+11
| | | | don't display its submenu (if any).
* (pop_up_menu): Update the call to x_catch_errors.Richard M. Stallman1997-05-021-2/+3
|
* (enriched-translations): Add top' and choice' everywhere so that *Richard M. Stallman1997-01-221-11/+30
| | | | | | | | | 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'.
* (update_one_menu_entry): Fix previous change:Richard M. Stallman1996-08-121-23/+32
| | | | | When XmIsCascadeButton, don't call XmCreateCascadeButtonGadget, just modify the existing one.
* (merge_widget_value): Undo previous change.Richard M. Stallman1996-08-101-0/+2
|
* (update_one_menu_entry): When creating a pulldownRichard M. Stallman1996-08-101-3/+36
| | | | | | 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.
* (make_menubar): Turn off menu accelerator.Richard M. Stallman1996-08-011-1/+9
|
* (merge_widget_value) [USE_MOTIF]: Pass along the change flag fromRichard M. Stallman1996-07-271-0/+3
| | | | merged_contents.
* Fix FSF address in comment.Karl Heuer1996-07-201-2/+3
|
* (xm_update_menu): Fix loop termination test.Karl Heuer1996-07-131-1/+3
|
* Undo previous change.Karl Heuer1996-07-101-3/+0
|
* Undo previous change.Karl Heuer1996-07-073-28/+0
|
* Declare lw_motif_menu_related_event_p.Miles Bader1996-07-041-0/+3
|
* (lw_toolkit_related_event_p): A predicate to identify toolkit-specific events.Miles Bader1996-07-041-0/+13
|
* (lw_motif_menu_related_event_p): A predicate to identify keyboard eventsMiles Bader1996-07-041-0/+12
| | | | intended only for menus.
* Declare lw_toolkit_related_event_p.Miles Bader1996-07-041-0/+3
|
* (make_menu_in_widget): Set mapping delayRichard M. Stallman1996-06-101-1/+4
| | | | for cascade buttons to zero.
* (destroy_all_children): When freeing a cascade button, free its submenu too.Richard M. Stallman1996-04-031-2/+16
| | | | | (make_menu_in_widget): Use a cascade button gadget, not a widget. Include Xm/CascadeBG.h.
* (tags): New target.Richard M. Stallman1996-03-291-0/+2
|
* (TAGS): Renamed from `tags' and fixed to work.Richard M. Stallman1996-03-281-2/+2
|
* (xlwmenu.o): New explicit target.Richard M. Stallman1996-03-261-0/+1
|
* (merge_widget_value): Set the this_one_change field.Richard M. Stallman1996-03-251-1/+5
|
* (struct widget_value): New field this_one_change.Richard M. Stallman1996-03-251-0/+3
|
* (destroy_all_children): New arg first_child_to_destroy.Richard M. Stallman1996-03-251-41/+88
| | | | | | | (make_menu_in_widget): New arg keep_first_children. (xm_update_menu): Preserve the first children even if later ones have a structural change. (update_one_menu_entry): Use this_one_change field.
* (motion_event_is_in_menu): Make x and y signed.Richard M. Stallman1996-03-011-2/+2
|
* (lw_window_is_in_menubar) [USE_MOTIF]:Richard M. Stallman1996-02-251-3/+4
| | | | With Motif, the window WIN can be the menu bar widget itself.
* (free_widget_value_tree, merge_widget_value):Karl Heuer1996-02-211-2/+2
| | | | Use XtFree for the toolkit_data.
* (lw_internal_update_other_instances): Move static varKarl Heuer1996-02-191-7/+8
| | | | outside the function, and rename it to lwlib_updating.
* Update FSF's address in the preamble.Erik Naggum1996-01-159-9/+18
|
* (instantiate_widget_instance): Renamed fromRichard M. Stallman1996-01-121-6/+11
| | | | | | | | instanciate_widget_instance (spelling correction). All callers changed. (merge_widget_value): Treat disappearance of entire contents as a STRUCTURAL_CHANGE.
* Comment fixes.Karl Heuer1996-01-055-7/+7
|
* (xlwMenuActionsList): Add "key" and "nothing".Richard M. Stallman1995-12-311-4/+86
| | | | | | | | | (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.