comparison src/gui.h @ 424:11054d720c21 r21-2-20

Import from CVS: tag r21-2-20
author cvs
date Mon, 13 Aug 2007 11:26:11 +0200
parents 41dbb7a9d5f2
children
comparison
equal deleted inserted replaced
423:28d9c139be4c 424:11054d720c21
39 DECLARE_LRECORD (gui_item, struct Lisp_Gui_Item); 39 DECLARE_LRECORD (gui_item, struct Lisp_Gui_Item);
40 #define XGUI_ITEM(x) \ 40 #define XGUI_ITEM(x) \
41 XRECORD (x, gui_item, struct Lisp_Gui_Item) 41 XRECORD (x, gui_item, struct Lisp_Gui_Item)
42 #define XSETGUI_ITEM(x, p) XSETRECORD (x, p, gui_item) 42 #define XSETGUI_ITEM(x, p) XSETRECORD (x, p, gui_item)
43 #define GUI_ITEMP(x) RECORDP (x, gui_item) 43 #define GUI_ITEMP(x) RECORDP (x, gui_item)
44 #define GC_GUI_ITEMP(x) GC_RECORDP (x, gui_item)
45 #define CHECK_GUI_ITEM(x) CHECK_RECORD (x, gui_item) 44 #define CHECK_GUI_ITEM(x) CHECK_RECORD (x, gui_item)
46 #define CONCHECK_GUI_ITEM(x) CONCHECK_RECORD (x, gui_item) 45 #define CONCHECK_GUI_ITEM(x) CONCHECK_RECORD (x, gui_item)
47 46
48 /* This structure describes gui button, 47 /* This structure describes gui button,
49 menu item or submenu properties */ 48 menu item or submenu properties */
81 unsigned int gui_item_display_flush_left (Lisp_Object pgui_item, 80 unsigned int gui_item_display_flush_left (Lisp_Object pgui_item,
82 char* buf, Bytecount buf_len); 81 char* buf, Bytecount buf_len);
83 unsigned int gui_item_display_flush_right (Lisp_Object gui_item, 82 unsigned int gui_item_display_flush_right (Lisp_Object gui_item,
84 char* buf, Bytecount buf_len); 83 char* buf, Bytecount buf_len);
85 84
86 Lisp_Object allocate_gui_item (); 85 Lisp_Object allocate_gui_item (void);
87 void gui_item_init (Lisp_Object gui_item); 86 void gui_item_init (Lisp_Object gui_item);
87 Lisp_Object parse_gui_item_tree_children (Lisp_Object list);
88 88
89 /* this is mswindows biased but reasonably safe I think */ 89 /* this is mswindows biased but reasonably safe I think */
90 #define GUI_ITEM_ID_SLOTS 8 90 #define GUI_ITEM_ID_SLOTS 8
91 #define GUI_ITEM_ID_MIN(s) (s * 0x2000) 91 #define GUI_ITEM_ID_MIN(s) (s * 0x2000)
92 #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))