comparison src/gui.h @ 420:41dbb7a9d5f2 r21-2-18

Import from CVS: tag r21-2-18
author cvs
date Mon, 13 Aug 2007 11:24:09 +0200
parents e804706bfb8c
children 11054d720c21
comparison
equal deleted inserted replaced
419:66615b78f1a5 420:41dbb7a9d5f2
58 Lisp_Object config; /* Anything EQable */ 58 Lisp_Object config; /* Anything EQable */
59 Lisp_Object filter; /* Form */ 59 Lisp_Object filter; /* Form */
60 Lisp_Object style; /* Symbol */ 60 Lisp_Object style; /* Symbol */
61 Lisp_Object selected; /* Form */ 61 Lisp_Object selected; /* Form */
62 Lisp_Object keys; /* String */ 62 Lisp_Object keys; /* String */
63 Lisp_Object accelerator; /* Char or Symbol */
63 }; 64 };
64 65
65 extern Lisp_Object Q_accelerator, Q_active, Q_config, Q_filter, Q_included; 66 extern Lisp_Object Q_accelerator, Q_active, Q_config, Q_filter, Q_included;
66 extern Lisp_Object Q_keys, Q_selected, Q_suffix, Qradio, Qtoggle; 67 extern Lisp_Object Q_keys, Q_selected, Q_suffix, Qradio, Qtoggle;
67 extern Lisp_Object Q_key_sequence, Q_label, Q_callback; 68 extern Lisp_Object Q_key_sequence, Q_label, Q_callback;
72 Lisp_Object gui_parse_item_keywords (Lisp_Object item); 73 Lisp_Object gui_parse_item_keywords (Lisp_Object item);
73 Lisp_Object gui_parse_item_keywords_no_errors (Lisp_Object item); 74 Lisp_Object gui_parse_item_keywords_no_errors (Lisp_Object item);
74 int gui_item_active_p (Lisp_Object); 75 int gui_item_active_p (Lisp_Object);
75 int gui_item_selected_p (Lisp_Object); 76 int gui_item_selected_p (Lisp_Object);
76 int gui_item_included_p (Lisp_Object, Lisp_Object into); 77 int gui_item_included_p (Lisp_Object, Lisp_Object into);
78 Lisp_Object gui_item_accelerator (Lisp_Object gui_item);
79 Lisp_Object gui_name_accelerator (Lisp_Object name);
77 int gui_item_id_hash (Lisp_Object, Lisp_Object gui_item, int); 80 int gui_item_id_hash (Lisp_Object, Lisp_Object gui_item, int);
78 unsigned int gui_item_display_flush_left (Lisp_Object pgui_item, 81 unsigned int gui_item_display_flush_left (Lisp_Object pgui_item,
79 char* buf, Bytecount buf_len); 82 char* buf, Bytecount buf_len);
80 unsigned int gui_item_display_flush_right (Lisp_Object gui_item, 83 unsigned int gui_item_display_flush_right (Lisp_Object gui_item,
81 char* buf, Bytecount buf_len); 84 char* buf, Bytecount buf_len);
87 #define GUI_ITEM_ID_SLOTS 8 90 #define GUI_ITEM_ID_SLOTS 8
88 #define GUI_ITEM_ID_MIN(s) (s * 0x2000) 91 #define GUI_ITEM_ID_MIN(s) (s * 0x2000)
89 #define GUI_ITEM_ID_MAX(s) (0x1FFF + GUI_ITEM_ID_MIN (s)) 92 #define GUI_ITEM_ID_MAX(s) (0x1FFF + GUI_ITEM_ID_MIN (s))
90 #define GUI_ITEM_ID_BITS(x,s) (((x) & 0x1FFF) + GUI_ITEM_ID_MIN (s)) 93 #define GUI_ITEM_ID_BITS(x,s) (((x) & 0x1FFF) + GUI_ITEM_ID_MIN (s))
91 94
95 #define MAX_MENUITEM_LENGTH 128
96
92 #endif /* _XEMACS_GUI_H_ */ 97 #endif /* _XEMACS_GUI_H_ */