X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Fgui.h;h=91f9c6116f9bf4ba06f6c06920b9470933c815a7;hb=c21caf515ba110146faf75e8072768bfbc0ac901;hp=9974c9b88933e71c12e4bb8bd4f086396adc9c3a;hpb=f52a96980ed9280f8f906a20d4b899dc0b027644;p=chise%2Fxemacs-chise.git- diff --git a/src/gui.h b/src/gui.h index 9974c9b..91f9c61 100644 --- a/src/gui.h +++ b/src/gui.h @@ -27,8 +27,9 @@ Boston, MA 02111-1307, USA. */ #ifndef INCLUDED_gui_h_ #define INCLUDED_gui_h_ -int separator_string_p (const char *s); +int separator_string_p (const Bufbyte *s); void get_gui_callback (Lisp_Object, Lisp_Object *, Lisp_Object *); +int gui_item_equal_sans_selected (Lisp_Object obj1, Lisp_Object obj2, int depth); extern int popup_up_p; @@ -63,10 +64,6 @@ DECLARE_LRECORD (gui_item, Lisp_Gui_Item); #define CHECK_GUI_ITEM(x) CHECK_RECORD (x, gui_item) #define CONCHECK_GUI_ITEM(x) CONCHECK_RECORD (x, gui_item) -extern Lisp_Object Q_accelerator, Q_active, Q_config, Q_filter, Q_included; -extern Lisp_Object Q_keys, Q_selected, Q_suffix, Qradio, Qtoggle; -extern Lisp_Object Q_key_sequence, Q_label, Q_callback, Q_callback_ex, Q_value; - void gui_item_add_keyval_pair (Lisp_Object, Lisp_Object key, Lisp_Object val, Error_behavior errb); @@ -75,6 +72,7 @@ Lisp_Object gui_parse_item_keywords_no_errors (Lisp_Object item); void gui_add_item_keywords_to_plist (Lisp_Object plist, Lisp_Object gui_item); int gui_item_active_p (Lisp_Object); int gui_item_selected_p (Lisp_Object); +Lisp_Object gui_item_list_find_selected (Lisp_Object gui_item_list); int gui_item_included_p (Lisp_Object, Lisp_Object into); Lisp_Object gui_item_accelerator (Lisp_Object gui_item); Lisp_Object gui_name_accelerator (Lisp_Object name); @@ -89,6 +87,8 @@ void gui_item_init (Lisp_Object gui_item); Lisp_Object parse_gui_item_tree_children (Lisp_Object list); Lisp_Object copy_gui_item_tree (Lisp_Object arg); +extern Lisp_Object Qmenu_no_selection_hook, Qdelete_dialog_box_hook; + /* this is mswindows biased but reasonably safe I think */ #define GUI_ITEM_ID_SLOTS 8 #define GUI_ITEM_ID_MIN(s) (s * 0x2000)