/[emacs]/emacs/oldXMenu/AddSel.c
ViewVC logotype

Diff of /emacs/oldXMenu/AddSel.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by gerd, Thu Jan 27 15:30:18 2000 UTC revision 1.2.18.1 by miles, Fri Apr 4 06:20:52 2003 UTC
# Line 32  XMenuAddSelection(display, menu, p_num, Line 32  XMenuAddSelection(display, menu, p_num,
32    
33      int label_length;           /* Label lenght in characters. */      int label_length;           /* Label lenght in characters. */
34      int label_width;            /* Label width in pixels. */      int label_width;            /* Label width in pixels. */
35        
36      /*      /*
37       * Check for NULL pointers!       * Check for NULL pointers!
38       */       */
# Line 59  XMenuAddSelection(display, menu, p_num, Line 59  XMenuAddSelection(display, menu, p_num,
59       */       */
60      label_length = strlen(label);      label_length = strlen(label);
61      label_width = XTextWidth(menu->s_fnt_info, label, label_length);      label_width = XTextWidth(menu->s_fnt_info, label, label_length);
62        
63      /*      /*
64       * Fill the XMSelect structure.       * Fill the XMSelect structure.
65       */       */
# Line 81  XMenuAddSelection(display, menu, p_num, Line 81  XMenuAddSelection(display, menu, p_num,
81      select->data = data;      select->data = data;
82      select->parent_p = pane;      select->parent_p = pane;
83      select->help_string = help;      select->help_string = help;
84        
85      /*      /*
86       * Insert the selection at the end of the selection list.       * Insert the selection at the end of the selection list.
87       */       */

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.2.18.1

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26