Mercurial > hg > xemacs-beta
annotate src/gui-x.h @ 780:578cb2932d72
[xemacs-hg @ 2002-03-18 10:07:30 by ben]
config.inc.samp, xemacs.mak: Deal with never-ending perl quoting problems.
README: Include a long, long description of the suggested directory layout
for developing XEmacs. This should probably go as part of a
larger document, a "Getting Started with Developing XEmacs". ####
Does such a document exist?
etc\unicode\mule-ucs\*: New directory, containing translation
files for the remaining charsets that are not in
unicode\unicode-consortium but are in mule-ucs.
etc\unicode\other\*: New directory, containing translation
files made up on an ad-hoc basis.
etc\unicode\README: Update.
* Some ChangeLog entries from stuff that got applied long ago
never got checked in, due to the nasty SCCS "oops, i forgot again
..." bug.
mule\lao.el: Convert stuff to XEmacs-style.
mule\thai-xtis.el: Move thai-xtis-chars.el stuff to here, since we can now handle
encountering characters of a charset before the charset is defined.
mule\thai-xtis-chars.el: Removed, moved into thai-xtis.el.
mule\mule-msw-init.el: Move some stuff into mule-msw-init-late.el,
which references charsets and thus needs to be delayed until after
all charsets have been created.
mule\mule-msw-init-late.el: New file, some stuff from
mule-msw-init.el.
dumped-lisp.el: Load the remaining languages -- lao, indian, devanagari, tibetan.
Load new file mule-msw-init-late.
unicode.el: Load the new tables for Ethiopic, Vietnamese, and other languages
extracted from mule-ucs.
mule\lao.el: Convert stuff to XEmacs-style.
mule\thai-xtis.el: Move thai-xtis-chars.el stuff to here, since we can now handle
encountering characters of a charset before the charset is defined.
mule\thai-xtis-chars.el: Removed, moved into thai-xtis.el.
mule\mule-msw-init.el: Move some stuff into mule-msw-init-late.el,
which references charsets and thus needs to be delayed until after
all charsets have been created.
mule\mule-msw-init-late.el: New file, some stuff from
mule-msw-init.el.
mule\lao.el: Convert stuff to XEmacs-style.
mule\thai-xtis.el: Move thai-xtis-chars.el stuff to here, since we can now handle
encountering characters of a charset before the charset is defined.
mule\thai-xtis-chars.el: Removed, moved into thai-xtis.el.
mule\mule-msw-init.el: Move some stuff into mule-msw-init-late.el,
which references charsets and thus needs to be delayed until after
all charsets have been created.
mule\mule-msw-init-late.el: New file, some stuff from
mule-msw-init.el.
dumped-lisp.el: Load the remaining languages -- lao, indian, devanagari, tibetan.
Load new file mule-msw-init-late.
unicode.el: Load the new tables for Ethiopic, Vietnamese, and other languages
extracted from mule-ucs.
mule\lao.el: Convert stuff to XEmacs-style.
mule\thai-xtis.el: Move thai-xtis-chars.el stuff to here, since we can now handle
encountering characters of a charset before the charset is defined.
mule\thai-xtis-chars.el: Removed, moved into thai-xtis.el.
mule\mule-msw-init.el: Move some stuff into mule-msw-init-late.el,
which references charsets and thus needs to be delayed until after
all charsets have been created.
mule\mule-msw-init-late.el: New file, some stuff from
mule-msw-init.el.
fns.c, lread.c: Add variable require-prints-loading-message to cause loading
messages to get printed when a file is loading during a `require',
which normally doesn't happen. This can be set using env var
XEMACSDEBUG to debug problems with non-interactive compilation.
Modify load-internal so it prints "Requiring: ..." instead of
"Loading: ..." when appropriate.
author | ben |
---|---|
date | Mon, 18 Mar 2002 10:07:39 +0000 |
parents | fdefd0186b75 |
children | e38acbeb1cae |
rev | line source |
---|---|
428 | 1 /* General GUI code -- X-specific header file. |
2 Copyright (C) 1993, 1994 Free Software Foundation, Inc. | |
442 | 3 Copyright (C) 1996, 2000 Ben Wing. |
428 | 4 |
5 This file is part of XEmacs. | |
6 | |
7 XEmacs is free software; you can redistribute it and/or modify it | |
8 under the terms of the GNU General Public License as published by the | |
9 Free Software Foundation; either version 2, or (at your option) any | |
10 later version. | |
11 | |
12 XEmacs is distributed in the hope that it will be useful, but WITHOUT | |
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
15 for more details. | |
16 | |
17 You should have received a copy of the GNU General Public License | |
18 along with XEmacs; see the file COPYING. If not, write to | |
19 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, | |
20 Boston, MA 02111-1307, USA. */ | |
21 | |
22 /* Synched up with: Not in FSF. */ | |
23 | |
442 | 24 /* This file Mule-ized by Ben Wing, 7-8-00. */ |
25 | |
440 | 26 #ifndef INCLUDED_gui_x_h_ |
27 #define INCLUDED_gui_x_h_ | |
428 | 28 |
29 #include "../lwlib/lwlib.h" | |
30 | |
31 widget_value *xmalloc_widget_value (void); | |
32 | |
33 LWLIB_ID new_lwlib_id (void); | |
34 | |
35 /* Each frame has one of these, and they are also contained in | |
36 Vpopup_callbacks. | |
37 It doesn't really need to be an lrecord (it's not lisp-accessible) | |
38 but it makes marking slightly more modular. | |
39 */ | |
40 | |
41 struct popup_data | |
42 { | |
43 struct lcrecord_header header; | |
44 | |
45 /* lwlib ID of the tree of widgets corresponding to this popup. | |
46 We pass this to lw_map_widget_values() to retrieve all of our | |
47 Lispy call-data values that need to be GCPRO'd. */ | |
48 LWLIB_ID id; | |
49 | |
50 /* For the frame popup data, this is the last buffer for which the | |
51 menubar was displayed. If the buffer has changed, we may have to | |
52 update things. */ | |
53 Lisp_Object last_menubar_buffer; | |
54 | |
55 /* This flag tells us if the menubar contents are up-to-date with respect | |
56 to the current menubar structure. If we want to actually pull down a | |
57 menu and this is false, then we need to update things. */ | |
58 char menubar_contents_up_to_date; | |
59 }; | |
60 | |
61 DECLARE_LRECORD (popup_data, struct popup_data); | |
62 #define XPOPUP_DATA(x) XRECORD (x, popup_data, struct popup_data) | |
63 #define XSETPOPUP_DATA(x, p) XSETRECORD (x, p, popup_data) | |
617 | 64 #define wrap_popup_data(p) wrap_record (p, popup_data) |
428 | 65 #define POPUP_DATAP(x) RECORDP (x, popup_data) |
66 #define CHECK_POPUP_DATA(x) CHECK_RECORD (x, popup_data) | |
67 | |
68 void gcpro_popup_callbacks (LWLIB_ID id); | |
69 void ungcpro_popup_callbacks (LWLIB_ID id); | |
70 int popup_handled_p (LWLIB_ID id); | |
71 void free_popup_widget_value_tree (widget_value *wv); | |
72 void popup_selection_callback (Widget widget, LWLIB_ID ignored_id, | |
73 XtPointer client_data); | |
442 | 74 Extbyte *add_accel_and_to_external (Lisp_Object string); |
75 int button_item_to_widget_value (Lisp_Object gui_object_instance, | |
76 Lisp_Object gui_item, widget_value *wv, | |
77 int allow_text_field_p, int no_keys_p, | |
78 int menu_entry_p, int accel_p); | |
79 widget_value * gui_items_to_widget_values (Lisp_Object gui_object_instance, | |
80 Lisp_Object items, int accel_p); | |
665 | 81 Extbyte *menu_separator_style_and_to_external (const Intbyte *s); |
428 | 82 Lisp_Object widget_value_unwind (Lisp_Object closure); |
83 | |
440 | 84 #endif /* INCLUDED_gui_x_h_ */ |