Home > Archive > Fortran > November 2005 > X11 libraries for FORTRAN on OSX or Linux?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
X11 libraries for FORTRAN on OSX or Linux?
|
|
|
| Hi there,
I'm porting a fortran applicaton from openVMS to OS X and Linux, and its
include has something called "sys$library:decw$xlibdef", for ploting. Anyone
knows what is it and what's the corresponding library in OS X, or Linux?
I googled it but got no clue. Thank you very much for your help!
Owen
| |
| Richard Maine 2005-11-15, 4:00 am |
| <wob96@yahoo.com> wrote:
> I'm porting a fortran applicaton from openVMS to OS X and Linux, and its
> include has something called "sys$library:decw$xlibdef", for ploting. Anyone
> knows what is it and what's the corresponding library in OS X, or Linux?
I have no idea what that particular VMS thing is, but I see that your
subject line refers to X11.
If the library in question is the X11 library (note the "if" there - I'm
basing this on your subject line rather than on independnet knowledge),
then the X11 libraries are part of pretty much any Linux distribution
you are likely to run into, usually in someplace like /usr/X11R6 (often
symlinked as /usr/X11).
And the X11 stuff is available in OS X, but isn't installed by default.
There is one trick to installing it on OS X - it is on the OS
installation DVD, but you must scroll down the wondow to see it. I know
that sounds trivial, but I've lost track of the number of people who
failed to notice the scroll bar. I was one of them :-( And I've had to
get quite insistent with several others who were 100% sure they had
tried that, but then later thanked me for insisting that they relook. It
will install in /usr/X11R6, just like most Linuxes.
Also, X11 doesn't launch by default on OS X and Terminal.app doesn't by
default to defining a DISPLAY variable. The simplest way to handle that
is to just launch and run from an XTerm, though there are other ways
depending on personal preference. (For example, I personally prefer
Terminal.app,so I configure it to work, but that takes a little lnger to
explain).
--
Richard Maine | Good judgement comes from experience;
email: last name at domain . net | experience comes from bad judgement.
domain: summertriangle | -- Mark Twain
| |
| Dr Ivan D. Reid 2005-11-15, 4:00 am |
| On Mon, 14 Nov 2005 19:13:38 -0800, Richard Maine <nospam@see.signature>
wrote in <1h6163v.70kz3bq1ptj4N%nospam@see.signature>:
><wob96@yahoo.com> wrote:
>
>
> I have no idea what that particular VMS thing is, but I see that your
> subject line refers to X11.
>
> If the library in question is the X11 library (note the "if" there - I'm
> basing this on your subject line rather than on independnet knowledge),
> then the X11 libraries are part of pretty much any Linux distribution
> you are likely to run into, usually in someplace like /usr/X11R6 (often
> symlinked as /usr/X11).
>
> And the X11 stuff is available in OS X, but isn't installed by default.
> There is one trick to installing it on OS X - it is on the OS
> installation DVD, but you must scroll down the wondow to see it. I know
> that sounds trivial, but I've lost track of the number of people who
> failed to notice the scroll bar. I was one of them :-( And I've had to
> get quite insistent with several others who were 100% sure they had
> tried that, but then later thanked me for insisting that they relook. It
> will install in /usr/X11R6, just like most Linuxes.
It almost certainly contains the Fortran bindings for the
definitions in /usr/X11R6/include/X11/Xlib.h[1] -- compare DECW$XLIBDEF
from your VMS machine (I couldn't find a copy on-line in a quick google)
with this file. You'll probably find that multi-language support is
much better on VMS than other O/Ss.
[1] ...or similar, that's where it lives in cygwin.
--
Ivan Reid, Electronic & Computer Engineering, ___ CMS Collaboration,
Brunel University. Ivan.Reid@[brunel.ac.uk|cern.ch] Room 40-1-B12, CERN
KotPT -- "for stupidity above and beyond the call of duty".
| |
|
| Dr Reid,
Thanks a lot! I think it's equavalent to Xlib.h. But the naming fommats of
varibles and functions are somewhat different, e.g. the one opening a
display is x$open_display, where in Xlib.h of X11R6 it is XOpenDisplay, is
this a difference between X11R5 and X11R6, replacing _ with captical
letters? Hopefully that's the only difference or it'd kill me...
Attached below is the "sys$library:decw$xlibdef" if you wish to take a look
:)
Best,
Owen
========================================
(***************************************
****************************************
****************************************
*********)
(* Created: 12-MAR-1996 16:10:52 by OpenVMS SDL EV1-18 *)
(* Source: 22-MAR-1988 11:51:17 DECW$LIBSRESD:[XLIB.SRC]DECW$XLIBDEF.SDL;1
*)
(***************************************
****************************************
****************************************
*********)
(* MODULE DECW$XLIBDEF ; *)
[HIDDEN] TYPE (**** Pre-declared data types ****)
$BYTE = [BYTE] -128..127;
$WORD = [WORD] -32768..32767;
$QUAD = [QUAD,UNSAFE] RECORD
L0:UNSIGNED; L1:INTEGER; END;
$OCTA = [OCTA,UNSAFE] RECORD
L0,L1,L2:UNSIGNED; L3:INTEGER; END;
$UBYTE = [BYTE] 0..255;
$UWORD = [WORD] 0..65535;
$UQUAD = [QUAD,UNSAFE] RECORD
L0,L1:UNSIGNED; END;
$UOCTA = [OCTA,UNSAFE] RECORD
L0,L1,L2,L3:UNSIGNED; END;
$UOCTAQUAD = [OCTA(2),UNSAFE] RECORD
L0,L1,L2,L3,L4,L5,L6,L7:UNSIGNED; END;
$PACKED_DEC = [BIT(4),UNSAFE] 0..15;
$DEFTYP = [UNSAFE] INTEGER;
$DEFPTR = [UNSAFE] ^$DEFTYP;
$BOOL = [BIT(1),UNSAFE] BOOLEAN;
$BIT2 = [BIT(2),UNSAFE] 0..3;
$BIT3 = [BIT(3),UNSAFE] 0..7;
$BIT4 = [BIT(4),UNSAFE] 0..15;
$BIT5 = [BIT(5),UNSAFE] 0..31;
$BIT6 = [BIT(6),UNSAFE] 0..63;
$BIT7 = [BIT(7),UNSAFE] 0..127;
$BIT8 = [BIT(8),UNSAFE] 0..255;
$BIT9 = [BIT(9),UNSAFE] 0..511;
$BIT10 = [BIT(10),UNSAFE] 0..1023;
$BIT11 = [BIT(11),UNSAFE] 0..2047;
$BIT12 = [BIT(12),UNSAFE] 0..4095;
$BIT13 = [BIT(13),UNSAFE] 0..8191;
$BIT14 = [BIT(14),UNSAFE] 0..16383;
$BIT15 = [BIT(15),UNSAFE] 0..32767;
$BIT16 = [BIT(16),UNSAFE] 0..65535;
$BIT17 = [BIT(17),UNSAFE] 0..131071;
$BIT18 = [BIT(18),UNSAFE] 0..262143;
$BIT19 = [BIT(19),UNSAFE] 0..524287;
$BIT20 = [BIT(20),UNSAFE] 0..1048575;
$BIT21 = [BIT(21),UNSAFE] 0..2097151;
$BIT22 = [BIT(22),UNSAFE] 0..4194303;
$BIT23 = [BIT(23),UNSAFE] 0..8388607;
$BIT24 = [BIT(24),UNSAFE] 0..16777215;
$BIT25 = [BIT(25),UNSAFE] 0..33554431;
$BIT26 = [BIT(26),UNSAFE] 0..67108863;
$BIT27 = [BIT(27),UNSAFE] 0..134217727;
$BIT28 = [BIT(28),UNSAFE] 0..268435455;
$BIT29 = [BIT(29),UNSAFE] 0..536870911;
$BIT30 = [BIT(30),UNSAFE] 0..1073741823;
$BIT31 = [BIT(31),UNSAFE] 0..2147483647;
$BIT32 = [BIT(32),UNSAFE] UNSIGNED;
(*** MODULE $xlibdef IDENT V1-00 ***)
(***************************************
*************************************
*)
(*
* *)
(* COPYRIGHT (c) 1986 BY
* *)
(* DIGITAL EQUIPMENT CORPORATION, MAYNARD, MASSACHUSETTS.
* *)
(* ALL RIGHTS RESERVED.
* *)
(*
* *)
(* THIS SOFTWARE IS FURNISHED UNDER A LICENSE AND MAY BE USED AND COPIED
* *)
(* ONLY IN ACCORDANCE WITH THE TERMS OF SUCH LICENSE AND WITH THE
* *)
(* INCLUSION OF THE ABOVE COPYRIGHT NOTICE. THIS SOFTWARE OR ANY OTHER
* *)
(* COPIES THEREOF MAY NOT BE PROVIDED OR OTHERWISE MADE AVAILABLE TO ANY
* *)
(* OTHER PERSON. NO TITLE TO AND OWNERSHIP OF THE SOFTWARE IS HEREBY
* *)
(* TRANSFERRED.
* *)
(*
* *)
(* THE INFORMATION IN THIS SOFTWARE IS SUBJECT TO CHANGE WITHOUT NOTICE
* *)
(* AND SHOULD NOT BE CONSTRUED AS A COMMITMENT BY DIGITAL EQUIPMENT
* *)
(* CORPORATION.
* *)
(*
* *)
(* DIGITAL ASSUMES NO RESPONSIBILITY FOR THE USE OR RELIABILITY OF ITS
* *)
(* SOFTWARE ON EQUIPMENT WHICH IS NOT SUPPLIED BY DIGITAL.
* *)
(*
* *)
(*
* *)
(***************************************
*************************************
*)
CONST x$c_protocol = 11;
x$c_protocol_revision = 0;
x$c_none = 0; (* universal null resource or null atom *)
x$c_parent_relative = 1; (* background pixmap in CreateWindlow *)
(* and ChangeWindowAttributes
*)
CONST x$c_copy_from_parent = 0; (* border pixmap in CreateWindow *)
(* and ChangeWindowAttributes
*)
(* special VisualID and special window
*)
(* class passed to CreateWindow
*)
CONST x$c_pointer_window = 0; (* destination window in SendEvent *)
x$c_input_focus = 1; (* destination window in SendEvent *)
x$c_pointer_root = 1; (* focus window in SetInputFocus *)
x$c_any_property_type = 0; (* special Atom, passed to GetProperty *)
x$c_any_key = 0; (* special Key Code, passed to GrabKey *)
x$c_any_button = 0; (* special Button Code, passed to Grab
Button *)
x$c_all_temporary = 0; (* special Resource DI passed to KillClient
*)
x$c_current_time = 0; (* special Time *)
x$c_no_symbol = 0; (* special KeySym *)
x$m_no_event = 0;
x$m_key_press = 1;
x$m_key_release = 2;
x$m_button_press = 4;
x$m_button_release = 8;
x$m_enter_window = 16;
x$m_leave_window = 32;
x$m_pointer_motion = 64;
x$m_pointer_motion_hint = 128;
x$m_button1_motion = 256;
x$m_button2_motion = 512;
x$m_button3_motion = 1024;
x$m_button4_motion = 2048;
x$m_button5_motion = 4096;
x$m_button_motion = 8192;
x$m_keymap_state = 16384;
x$m_exposure = 32768;
x$m_visibility_change = 65536;
x$m_structure_notify = 131072;
x$m_resize_redirect = 262144;
x$m_substructure_notify = 524288;
x$m_substructure_redirect = 1048576;
x$m_focus_change = 2097152;
x$m_property_change = 4194304;
x$m_colormap_change = 8388608;
x$m_owner_grab_button = 16777216;
TYPE x$event_masks = RECORD
x$v_key_press : [POS(0)] $BOOL;
x$v_key_release : [POS(1)] $BOOL;
x$v_button_press : [POS(2)] $BOOL;
x$v_button_release : [POS(3)] $BOOL;
x$v_enter_window : [POS(4)] $BOOL;
x$v_leave_window : [POS(5)] $BOOL;
x$v_pointer_motion : [POS(6)] $BOOL;
x$v_pointer_motion_hint : [POS(7)] $BOOL;
x$v_button1_motion : [POS(8)] $BOOL;
x$v_button2_motion : [POS(9)] $BOOL;
x$v_button3_motion : [POS(10)] $BOOL;
x$v_button4_motion : [POS(11)] $BOOL;
x$v_button5_motion : [POS(12)] $BOOL;
x$v_button_motion : [POS(13)] $BOOL;
x$v_keymap_state : [POS(14)] $BOOL;
x$v_exposure : [POS(15)] $BOOL;
x$v_visibility_change : [POS(16)] $BOOL;
x$v_structure_notify : [POS(17)] $BOOL;
x$v_resize_redirect : [POS(18)] $BOOL;
x$v_substructure_notify : [POS(19)] $BOOL;
x$v_substructure_redirect : [POS(20)] $BOOL;
x$v_focus_change : [POS(21)] $BOOL;
x$v_property_change : [POS(22)] $BOOL;
x$v_colormap_change : [POS(23)] $BOOL;
x$v_owner_grab_button : [POS(24)] $BOOL;
x$v_event_fill : [POS(25)] $BIT7;
END;
(* Event names. Used in "type" field in XEvent structures. Not to be
*)
(* with event masks above. They start from 2 because 0 and 1
*)
(* are reserved in the protocol for errors and replies.
*)
CONST x$c_key_press = 2;
x$c_key_release = 3;
x$c_button_press = 4;
x$c_button_release = 5;
x$c_motion_notify = 6;
x$c_enter_notify = 7;
x$c_leave_notify = 8;
x$c_focus_in = 9;
x$c_focus_out = 10;
x$c_keymap_notify = 11;
x$c_expose = 12;
x$c_graphics_expose = 13;
x$c_no_expose = 14;
x$c_visibility_notify = 15;
x$c_create_notify = 16;
x$c_destroy_notify = 17;
x$c_unmap_notify = 18;
x$c_map_notify = 19;
x$c_map_request = 20;
x$c_reparent_notify = 21;
x$c_configure_notify = 22;
x$c_configure_request = 23;
x$c_gravity_notify = 24;
x$c_resize_request = 25;
x$c_circulate_notify = 26;
x$c_circulate_request = 27;
x$c_property_notify = 28;
x$c_selection_clear = 29;
x$c_selection_request = 30;
x$c_selection_notify = 31;
x$c_colormap_notify = 32;
x$c_client_message = 33;
x$c_mapping_notify = 34;
x$c_last_event = 35; (* must be bigger than any event # *)
(* modifier names. Used to build a SetModifierMapping request or
*)
(* to read a GetModifierMapping request. These correspond to the
*)
(* masks defined above.
*)
CONST x$c_shift_map_index = 0;
x$c_lock_map_index = 1;
x$c_control_map_index = 2;
x$c_mod1_map_index = 3;
x$c_mod2_map_index = 4;
x$c_mod3_map_index = 5;
x$c_mod4_map_index = 6;
x$c_mod5_map_index = 7;
(* Key masks. Used as modifiers to GrabButton and GrabKey, results of
QueryPointer, *)
(* state in various key-, mouse-, and button-related events.
*)
(* button masks. Used in same manner as Key masks above. Not to be 
*)
(* with button names below.
*)
CONST x$m_shift = 1;
x$m_caps_lock = 2;
x$m_control = 4;
x$m_mod1 = 8;
x$m_mod2 = 16;
x$m_mod3 = 32;
x$m_mod4 = 64;
x$m_mod5 = 128;
x$m_button1 = 256;
x$m_button2 = 512;
x$m_button3 = 1024;
x$m_button4 = 2048;
x$m_button5 = 4096;
x$M_FILL = 24576;
x$m_any_modifier = 32768;
TYPE x$button_n_key_masks = RECORD
x$v_shift : [POS(0)] $BOOL;
x$v_caps_lock : [POS(1)] $BOOL;
x$v_control : [POS(2)] $BOOL;
x$v_mod1 : [POS(3)] $BOOL;
x$v_mod2 : [POS(4)] $BOOL;
x$v_mod3 : [POS(5)] $BOOL;
x$v_mod4 : [POS(6)] $BOOL;
x$v_mod5 : [POS(7)] $BOOL;
x$v_button1 : [POS(8)] $BOOL;
x$v_button2 : [POS(9)] $BOOL;
x$v_button3 : [POS(10)] $BOOL;
x$v_button4 : [POS(11)] $BOOL;
x$v_button5 : [POS(12)] $BOOL;
x$V_FILL : [POS(13)] $BIT2; (* filler *)
x$v_any_modifier : [POS(15)] $BOOL;
x$v_but_key_fill : [POS(16)] $BIT16;
END;
(* button names. Used as arguments to GrabButton and as detail in
ButtonPress *)
(* and ButtonRelease events. Not to be with button masks above.
*)
(* Note that 0 is already CONSTANTd above as "AnyButton".
*)
CONST x$c_button1 = 1;
x$c_button2 = 2;
x$c_button3 = 3;
x$c_button4 = 4;
x$c_button5 = 5;
(* Notify modes
*)
CONST x$c_notify_normal = 0;
x$c_notify_grab = 1;
x$c_notify_ungrab = 2;
x$c_notify_while_grabbed = 3;
x$c_notify_hint = 1; (* for MotionNotify events *)
(* Notify detail
*)
CONST x$c_notify_ancestor = 0;
x$c_notify_virtual = 1;
x$c_notify_inferior = 2;
x$c_notify_nonlinear = 3;
x$c_notify_nonlinear_virtual = 4;
x$c_notify_pointer = 5;
x$c_notify_pointer_root = 6;
x$c_notify_detail_none = 7;
(* Visibility notify
*)
CONST x$c_visibility_unobscured = 0;
x$c_visibility_part_obscured = 1;
x$c_visibility_fully_obscured = 2;
(* Circulation request
*)
CONST x$c_place_on_top = 0;
x$c_place_on_bottom = 1;
(* protocol families
*)
CONST x$c_family_internet = 0;
x$c_family_decnet = 1;
x$c_family_chaos = 2;
x$c_family_generic = 128;
(* Property notification
*)
CONST x$c_property_new_value = 0;
x$c_property_delete = 1;
(* Color Map notification
*)
CONST x$c_colormap_uninstalled = 0;
x$c_colormap_installed = 1;
(* GrabPointer, GrabButton, GrabKeyboard, GrabKey Modes
*)
CONST x$c_grab_mode_sync = 0;
x$c_grab_mode_async = 1;
(* GrabPointer, GrabKeyboard reply status
*)
CONST x$c_grab_success = 0;
x$c_already_grabbed = 1;
x$c_grab_invalid_time = 2;
x$c_grab_not_viewable = 3;
x$c_grab_frozen = 4;
(* AllowEvents modes
*)
CONST x$c_async_pointer = 0;
x$c_sync_pointer = 1;
x$c_replay_pointer = 2;
x$c_async_keyboard = 3;
x$c_sync_keyboard = 4;
x$c_replay_keyboard = 5;
x$c_async_both = 6;
x$c_sync_both = 7;
(* Used in SetInputFocus, GetInputFocus
*)
CONST x$c_revert_to_none = 0;
x$c_revert_to_pointer_root = 1;
x$c_revert_to_parent = 2;
(* Used in EventsQueued
*)
CONST x$c_queued_already = 0;
x$c_queued_after_reading = 1;
x$c_queued_after_flush = 2;
x$c_success = 0; (* everything's okay *)
x$c_bad_request = 1; (* bad request code *)
x$c_bad_value = 2; (* int parameter out of range *)
x$c_bad_window = 3; (* parameter not a Window *)
x$c_bad_pixmap = 4; (* parameter not a Pixmap *)
x$c_bad_atom = 5; (* parameter not an Atom *)
x$c_bad_cursor = 6; (* parameter not a Cursor *)
x$c_bad_font = 7; (* parameter not a Font *)
x$c_bad_match = 8; (* parameter mismatch *)
x$c_bad_drawable = 9; (* parameter not a Pixmap or Window *)
x$c_bad_access = 10; (* depending on context: *)
(*- key/button already grabbed
*)
(*- attempt to free an illegal
*)
(* cmap entry
*)
(*- attempt to store into a read-only
*)
(* color map entry.
*)
(*- attempt to modify the access control
*)
(* list from other than the local host.
*)
CONST x$c_bad_alloc = 11; (* insufficient resources *)
x$c_bad_color = 12; (* no such colormap *)
x$c_bad_gc = 13; (* parameter not a GC *)
x$c_bad_id_choice = 14; (* choice not in range or already used *)
x$c_bad_name = 15; (* font or color name doesn't exist *)
x$c_bad_property = 16; (* property doesn't exist for window *)
x$c_bad_length = 17; (* Request length incorrect *)
x$c_bad_implementation = 18; (* server is defective *)
x$c_first_extension_error = 128;
x$c_last_extension_error = 255;
(* Window classes used by CreateWindow
*)
(* Note that CopyFromParent is already CONSTANTd as 0 above
*)
CONST x$c_input_output = 1;
x$c_input_only = 2;
(* Window attributes for CreateWindow and ChangeWindowAttributes
*)
CONST x$m_cw_back_pixmap = 1;
x$m_cw_back_pixel = 2;
x$m_cw_border_pixmap = 4;
x$m_cw_border_pixel = 8;
x$m_cw_bit_gravity = 16;
x$m_cw_win_gravity = 32;
x$m_cw_backing_store = 64;
x$m_cw_backing_planes = 128;
x$m_cw_backing_pixel = 256;
x$m_cw_override_redirect = 512;
x$m_cw_save_under = 1024;
x$m_cw_event_mask = 2048;
x$m_cw_dont_propagate = 4096;
x$m_cw_colormap = 8192;
x$m_cw_cursor = 16384;
TYPE x$window_masks = RECORD
x$v_cw_back_pixmap : [POS(0)] $BOOL;
x$v_cw_back_pixel : [POS(1)] $BOOL;
x$v_cw_border_pixmap : [POS(2)] $BOOL;
x$v_cw_border_pixel : [POS(3)] $BOOL;
x$v_cw_bit_gravity : [POS(4)] $BOOL;
x$v_cw_win_gravity : [POS(5)] $BOOL;
x$v_cw_backing_store : [POS(6)] $BOOL;
x$v_cw_backing_planes : [POS(7)] $BOOL;
x$v_cw_backing_pixel : [POS(8)] $BOOL;
x$v_cw_override_redirect : [POS(9)] $BOOL;
x$v_cw_save_under : [POS(10)] $BOOL;
x$v_cw_event_mask : [POS(11)] $BOOL;
x$v_cw_dont_propagate : [POS(12)] $BOOL;
x$v_cw_colormap : [POS(13)] $BOOL;
x$v_cw_cursor : [POS(14)] $BOOL;
x$v_window_fill : [POS(15)] $BIT17;
END;
(* ConfigureWindow structure
*)
CONST x$m_cw_x = 1;
x$m_cw_y = 2;
x$m_cw_width = 4;
x$m_cw_height = 8;
x$m_cw_border_width = 16;
x$m_cw_sibling = 32;
x$m_cw_stack_mode = 64;
TYPE x$configure_masks = RECORD
x$v_cw_x : [POS(0)] $BOOL;
x$v_cw_y : [POS(1)] $BOOL;
x$v_cw_width : [POS(2)] $BOOL;
x$v_cw_height : [POS(3)] $BOOL;
x$v_cw_border_width : [POS(4)] $BOOL;
x$v_cw_sibling : [POS(5)] $BOOL;
x$v_cw_stack_mode : [POS(6)] $BOOL;
x$v_config_fill : [POS(7)] $BIT25;
END;
(* Bit Gravity
*)
CONST x$c_forget_gravity = 0;
x$c_north_west_gravity = 1;
x$c_north_gravity = 2;
x$c_north_east_gravity = 3;
x$c_west_gravity = 4;
x$c_center_gravity = 5;
x$c_east_gravity = 6;
x$c_south_west_gravity = 7;
x$c_south_gravity = 8;
x$c_south_east_gravity = 9;
x$c_static_gravity = 10;
(* Window gravity + bit gravity above
*)
CONST x$c_unmap_gravity = 0;
(* Used in CreateWindow for backing-store hint
*)
CONST x$c_not_useful = 0;
x$c_when_mapped = 1;
x$c_always = 2;
(* Used in GetWindowAttributes reply
*)
CONST x$c_is_unmapped = 0;
x$c_is_unviewable = 1;
x$c_is_viewable = 2;
(* Used in ChangeSaveSet
*)
CONST x$c_set_mode_insert = 0;
x$c_set_mode_delete = 1;
(* Used in ChangeCloseDownMode
*)
CONST x$c_destroy_all = 0;
x$c_retain_permanent = 1;
x$c_retain_temporary = 2;
(* Window stacking method in configureWindow
*)
CONST x$c_above = 0;
x$c_below = 1;
x$c_top_if = 2;
x$c_bottom_if = 3;
x$c_opposite = 4;
(* Circulation direction
*)
CONST x$c_raise_lowest = 0;
x$c_lower_highest = 1;
(* Property modes
*)
CONST x$c_prop_mode_replace = 0;
x$c_prop_mode_prepend = 1;
x$c_prop_mode_append = 2;
(* graphics functions, as in GC.alu
*)
CONST x$c_gx_clear = 0;
x$c_gx_and = 1; (* src AND dst *)
x$c_gx_and_reverse = 2; (* src AND NOT dst *)
x$c_gx_copy = 3; (* src *)
x$c_gx_and_inverted = 4; (* NOT src AND dst *)
x$c_gx_noop = 5; (* dst *)
x$c_gx_xor = 6; (* src XOR dst *)
x$c_gx_or = 7; (* src OR dst *)
x$c_gx_nor = 8; (* NOT src AND NOT dst *)
x$c_gx_equiv = 9; (* NOT src XOR dst *)
x$c_gx_invert = 10; (* NOT dst *)
x$c_gx_or_reverse = 11; (* src OR NOT dst *)
x$c_gx_copy_inverted = 12; (* NOT src *)
x$c_gx_or_inverted = 13; (* NOT src OR dst *)
x$c_gx_nand = 14; (* NOT src OR NOT dst *)
x$c_gx_set = 15; (* 1 *)
(* LineStyle
*)
CONST x$c_line_solid = 0;
x$c_line_on_off_dash = 1;
x$c_line_double_dash = 2;
(* capStyle
*)
CONST x$c_cap_not_last = 0;
x$c_cap_butt = 1;
x$c_cap_round = 2;
x$c_cap_projecting = 3;
(* joinStyle
*)
CONST x$c_join_miter = 0;
x$c_join_round = 1;
x$c_join_bevel = 2;
(* fillStyle
*)
CONST x$c_fill_solid = 0;
x$c_fill_tiled = 1;
x$c_fill_stippled = 2;
x$c_fill_opaque_stippled = 3;
(* fillRule
*)
CONST x$c_even_odd_rule = 0;
x$c_winding_rule = 1;
(* subwindow mode
*)
CONST x$c_clip_by_children = 0;
x$c_include_inferiors = 1;
(* SetClipRectangles ordering
*)
CONST x$c_unsorted = 0;
x$c_y_sorted = 1;
x$c_yx_sorted = 2;
x$c_yx_banded = 3;
(* CoordinateMode for drawing routines
*)
CONST x$c_coord_mode_origin = 0; (* relative to the origin *)
x$c_coord_mode_previous = 1; (* relative to previous point *)
(* Polygon shapes
*)
CONST x$c_polycomplex = 0; (* paths may intersect *)
x$c_nonconvex = 1; (* no paths intersect, but not convex *)
x$c_convex = 2; (* wholly convex *)
(* Arc modes for PolyFillArc
*)
CONST x$c_arc_chord = 0; (* join endpoints of arc *)
x$c_arc_pie_slice = 1; (* join endpoints to center of arc *)
(* GC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into
*)
(* GC.stateChanges
*)
CONST x$m_gc_function = 1;
x$m_gc_plane_mask = 2;
x$m_gc_foreground = 4;
x$m_gc_background = 8;
x$m_gc_line_width = 16;
x$m_gc_line_style = 32;
x$m_gc_cap_style = 64;
x$m_gc_join_style = 128;
x$m_gc_fill_style = 256;
x$m_gc_fill_rule = 512;
x$m_gc_tile = 1024;
x$m_gc_stipple = 2048;
x$m_gc_tile_stip_x_origin = 4096;
x$m_gc_tile_stip_y_origin = 8192;
x$m_gc_font = 16384;
x$m_gc_subwindow_mode = 32768;
x$m_gc_graphics_exposures = 65536;
x$m_gc_clip_x_origin = 131072;
x$m_gc_clip_y_origin = 262144;
x$m_gc_clip_mask = 524288;
x$m_gc_dash_offset = 1048576;
x$m_gc_dash_list = 2097152;
x$m_gc_arc_mode = 4194304;
TYPE x$gc_masks = RECORD
x$v_gc_function : [POS(0)] $BOOL;
x$v_gc_plane_mask : [POS(1)] $BOOL;
x$v_gc_foreground : [POS(2)] $BOOL;
x$v_gc_background : [POS(3)] $BOOL;
x$v_gc_line_width : [POS(4)] $BOOL;
x$v_gc_line_style : [POS(5)] $BOOL;
x$v_gc_cap_style : [POS(6)] $BOOL;
x$v_gc_join_style : [POS(7)] $BOOL;
x$v_gc_fill_style : [POS(8)] $BOOL;
x$v_gc_fill_rule : [POS(9)] $BOOL;
x$v_gc_tile : [POS(10)] $BOOL;
x$v_gc_stipple : [POS(11)] $BOOL;
x$v_gc_tile_stip_x_origin : [POS(12)] $BOOL;
x$v_gc_tile_stip_y_origin : [POS(13)] $BOOL;
x$v_gc_font : [POS(14)] $BOOL;
x$v_gc_subwindow_mode : [POS(15)] $BOOL;
x$v_gc_graphics_exposures : [POS(16)] $BOOL;
x$v_gc_clip_x_origin : [POS(17)] $BOOL;
x$v_gc_clip_y_origin : [POS(18)] $BOOL;
x$v_gc_clip_mask : [POS(19)] $BOOL;
x$v_gc_dash_offset : [POS(20)] $BOOL;
x$v_gc_dash_list : [POS(21)] $BOOL;
x$v_gc_arc_mode : [POS(22)] $BOOL;
x$v_gc_fill : [POS(23)] $BIT9;
END;
CONST x$c_gc_last_bit = 22;
(* used in QueryFont -- draw direction
*)
CONST x$c_font_left_to_right = 0;
x$c_font_right_to_left = 1;
x$c_font_bottom_to_top = 2;
x$c_font_top_to_bottom = 3;
x$c_font_change = 255;
(* ImageFormat -- PutImage, GetImage
*)
CONST x$c_xy_bitmap = 0; (* depth 1, XYFormat *)
x$c_xy_pixmap = 1; (* depth == drawable depth *)
x$c_z_pixmap = 2; (* depth == drawable depth *)
(* For CreateColormap
*)
CONST x$c_alloc_none = 0; (* create map with no entries *)
x$c_alloc_all = 1; (* allocate entire map writeable *)
(* Flags used in StoreNamedColor, StoreColors
*)
CONST x$m_do_red = 1;
x$m_do_green = 2;
x$m_do_blue = 4;
TYPE x$color_masks = RECORD
x$v_do_red : [POS(0)] $BOOL;
x$v_do_green : [POS(1)] $BOOL;
x$v_do_blue : [POS(2)] $BOOL;
x$v_color_fill : [POS(3)] $BIT29;
END;
(* QueryBestSize Class
*)
CONST x$c_cursor_shape = 0; (* largest size that can be displayed
*)
x$c_tile_shape = 1; (* size tiled fastest *)
x$c_stipple_shape = 2; (* size stippled fastest *)
x$c_auto_repeat_mode_off = 0;
x$c_auto_repeat_mode_on = 1;
x$c_auto_repeat_mode_default = 2;
x$c_device_null = 0;
x$c_device_mouse = 1;
x$c_device_keyboard = 2;
x$c_device_tablet = 3;
x$c_device_3d_tablet = 4;
x$c_device_button_box = 5;
x$c_device_knob = 6;
x$c_device_joystick = 7;
x$c_device_3d_joystick = 8;
x$c_device_thumbwheel = 9;
x$c_device_touch_screen = 10;
x$c_led_mode_off = 0;
x$c_led_mode_on = 1;
(* masks for ChangeKeyboardControl
*)
CONST x$m_kb_key_click_percent = 1;
x$m_kb_bell_percent = 2;
x$m_kb_bell_pitch = 4;
x$m_kb_bell_duration = 8;
x$m_kb_led = 16;
x$m_kb_led_mode = 32;
x$m_kb_key = 64;
x$m_kb_auto_repeat_mode = 128;
TYPE x$keyboard_masks = RECORD
x$v_kb_key_click_percent : [POS(0)] $BOOL;
x$v_kb_bell_percent : [POS(1)] $BOOL;
x$v_kb_bell_pitch : [POS(2)] $BOOL;
x$v_kb_bell_duration : [POS(3)] $BOOL;
x$v_kb_led : [POS(4)] $BOOL;
x$v_kb_led_mode : [POS(5)] $BOOL;
x$v_kb_key : [POS(6)] $BOOL;
x$v_kb_auto_repeat_mode : [POS(7)] $BOOL;
x$v_keybd_fill : [POS(8)] $BIT24;
END;
CONST x$c_mapping_success = 0;
x$c_mapping_busy = 1;
x$c_mapping_failed = 2;
x$c_mapping_modifier = 0;
x$c_mapping_keyboard = 1;
x$c_mapping_pointer = 2;
x$c_dont_prefer_blanking = 0;
x$c_prefer_blanking = 1;
x$c_default_blanking = 2;
x$c_disable_screen_saver = 0;
x$c_disable_screen_interval = 0;
x$c_dont_allow_exposures = 0;
x$c_allow_exposures = 1;
x$c_default_exposures = 2;
(* for ForceScreenSaver
*)
CONST x$c_screen_saver_reset = 0;
x$c_screen_saver_active = 1;
(* for ChangeHosts
*)
CONST x$c_host_insert = 0;
x$c_host_delete = 1;
(* for ChangeAccessControl
*)
CONST x$c_enable_access = 1;
x$c_disable_access = 0;
(* Display classes used in opening the connection
*)
(* Note that the statically allocated ones are even numbered and the
*)
(* dynamically changeable ones are odd numbered
*)
CONST x$c_static_gray = 0;
x$c_gray_scale = 1;
x$c_static_color = 2;
x$c_pseudo_color = 3;
x$c_true_color = 4;
x$c_direct_color = 5;
(* Byte order used in imageByteOrder and bitmapBitOrder
*)
CONST x$c_lsb_first = 0;
x$c_msb_first = 1;
(* *)
(* Bitmask returned by XParseGeometry. Each bit tells if the corresponding
*)
(* value x, y, width, height was found in the parsed string.
*)
(*
*)
CONST x$m_no_value = 1;
x$m_x_value = 2;
x$m_y_value = 4;
x$m_width_value = 8;
x$m_height_value = 16;
x$m_all_values = 32;
x$m_x_negative_value = 64;
x$m_y_negative_value = 128;
TYPE x$parse_geom_masks = RECORD
x$v_no_value : [POS(0)] $BOOL;
x$v_x_value : [POS(1)] $BOOL;
x$v_y_value : [POS(2)] $BOOL;
x$v_width_value : [POS(3)] $BOOL;
x$v_height_value : [POS(4)] $BOOL;
x$v_all_values : [POS(5)] $BOOL;
x$v_x_negative_value : [POS(6)] $BOOL;
x$v_y_negative_value : [POS(7)] $BOOL;
x$v_p_geom_fill : [POS(8)] $BIT24;
END;
(*
*)
(* The next block of definitions are for window manager properties that
*)
(* clients and applications use for communication.
*)
(*
*)
(* flags argument in size hints
*)
CONST x$m_old_p_all_hints = 252;
x$m_p_all_hints = 1020;
x$m_us_position = 1;
x$m_us_size = 2;
x$m_p_position = 4;
x$m_p_size = 8;
x$m_p_min_size = 16;
x$m_p_max_size = 32;
x$m_p_resize_inc = 64;
x$m_p_aspect = 128;
x$m_p_base_width = 256;
x$m_p_base_height = 512;
x$m_p_win_gravity = 1024;
TYPE x$size_hints_masks = RECORD
x$v_us_position : [POS(0)] $BOOL; (* user specified x, y *)
x$v_us_size : [POS(1)] $BOOL; (* user specified width, height *)
x$v_p_position : [POS(2)] $BOOL; (* program specified position *)
x$v_p_size : [POS(3)] $BOOL; (* program specified size *)
x$v_p_min_size : [POS(4)] $BOOL; (* program specified minimum size *)
x$v_p_max_size : [POS(5)] $BOOL; (* program specified maximum size *)
x$v_p_resize_inc : [POS(6)] $BOOL; (* program specified resize
increments *)
x$v_p_aspect : [POS(7)] $BOOL; (* program specified min and max aspect
ratios *)
x$v_p_base_width : [POS(8)] $BOOL;
x$v_p_base_height : [POS(9)] $BOOL;
x$v_p_win_gravity : [POS(10)] $BOOL;
x$v_size_fill : [POS(11)] $BIT21;
END;
(* definition for flags of XWMHints
*)
CONST x$m_all_hints = 31;
x$m_input_hint = 1;
x$m_state_hint = 2;
x$m_icon_pixmap_hint = 4;
x$m_icon_window_hint = 8;
x$m_icon_position_hint = 16;
TYPE x$wm_hints_masks = RECORD
x$v_input_hint : [POS(0)] $BOOL;
x$v_state_hint : [POS(1)] $BOOL;
x$v_icon_pixmap_hint : [POS(2)] $BOOL;
x$v_icon_window_hint : [POS(3)] $BOOL;
x$v_icon_position_hint : [POS(4)] $BOOL;
x$v_wm_fill : [POS(5)] $BIT27;
END;
(* Obsolete states no longer defined by ICCCM
*)
CONST x$c_dont_care_state = 0; (* don't know or care *)
x$c_zoom_state = 2; (* application wants to start zoomed *)
x$c_inactive_state = 4; (* application believes it is seldom used;
some *)
(* wm's may put it on inactive menu
*)
(* definitions for initial window state
*)
CONST x$c_withdrawn_state = 0; (* for windows that are not mapped *)
x$c_normal_state = 1; (* most applications want to start this way
*)
x$c_iconic_state = 3; (* application wants to start as an icon
*)
(* Return values from XRectInRegion()
*)
CONST x$c_rectangle_out = 0;
x$c_rectangle_in = 1;
x$c_rectangle_part = 2;
x$c_visual_no_mask = 0;
x$c_visual_id_mask = 1;
x$c_visual_screen_mask = 2;
x$c_visual_depth_mask = 4;
x$c_visual_class_mask = 8;
x$c_visual_red_mask_mask = 16;
x$c_visual_green_mask_mask = 32;
x$c_visual_blue_mask_mask = 64;
x$c_visual_colormap_size_mask = 128;
x$c_visual_bits_per_rgb_mask = 256;
x$c_visual_all_mask = 511;
(* return codes for XReadBitmapFile and XWriteBitmapFile
*)
CONST x$c_bitmap_success = 0;
x$c_bitmap_open_failed = 1;
x$c_bitmap_file_invalid = 2;
x$c_bitmap_no_memory = 3;
x$c_num_glyphs_cursor = 154;
x$c_X_cursor = 0;
x$c_arrow_cursor = 2;
x$c_based_arrow_down_cursor = 4;
x$c_based_arrow_up_cursor = 6;
x$c_boat_cursor = 8;
x$c_bogosity_cursor = 10;
x$c_bottom_left_corner_cursor = 12;
x$c_bottom_right_corner_cursor = 14;
x$c_bottom_side_cursor = 16;
x$c_bottom_tee_cursor = 18;
x$c_box_spiral_cursor = 20;
x$c_center_ptr_cursor = 22;
x$c_circle_cursor = 24;
x$c_clock_cursor = 26;
x$c_coffee_mug_cursor = 28;
x$c_cross_cursor = 30;
x$c_cross_reverse_cursor = 32;
x$c_cross_hair_cursor = 34;
x$c_diamond_cross_cursor = 36;
x$c_dot_cursor = 38;
x$c_dot_box_cursor = 40;
x$c_double_arrow_cursor = 42;
x$c_draft_large_cursor = 44;
x$c_draft_small_cursor = 46;
x$c_draped_box_cursor = 48;
x$c_exchange_cursor = 50;
x$c_fleur_cursor = 52;
x$c_gobbler_cursor = 54;
x$c_gumby_cursor = 56;
x$c_hand_cursor = 58;
x$c_hand1_cursor = 60;
x$c_heart_cursor = 62;
x$c_icon_cursor = 64;
x$c_iron_cross_cursor = 66;
x$c_left_ptr_cursor = 68;
x$c_left_side_cursor = 70;
x$c_left_tee_cursor = 72;
x$c_left_button_cursor = 74;
x$c_ll_angle_cursor = 76;
x$c_lr_angle_cursor = 78;
x$c_man_cursor = 80;
x$c_middle_button_cursor = 82;
x$c_mouse_cursor = 84;
x$c_pencil_cursor = 86;
x$c_pirate_cursor = 88;
x$c_plus_cursor = 90;
x$c_question_arrow_cursor = 92;
x$c_right_ptr_cursor = 94;
x$c_right_side_cursor = 96;
x$c_right_tee_cursor = 98;
x$c_right_button_cursor = 100;
x$c_rtl_logo_cursor = 102;
x$c_sailboat_cursor = 104;
x$c_sb_down_arrow_cursor = 106;
x$c_sb_h_double_arrow_cursor = 108;
x$c_sb_left_arrow_cursor = 110;
x$c_sb_right_arrow_cursor = 112;
x$c_sb_up_arrow_cursor = 114;
x$c_sb_v_double_arrow_cursor = 116;
x$c_shuttle_cursor = 118;
x$c_sizing_cursor = 120;
x$c_spider_cursor = 122;
x$c_spraycan_cursor = 124;
x$c_star_cursor = 126;
x$c_target_cursor = 128;
x$c_t_cross_cursor = 130;
x$c_top_left_arrow_cursor = 132;
x$c_top_left_corner_cursor = 134;
x$c_top_right_corner_cursor = 136;
x$c_top_side_cursor = 138;
x$c_top_tee_cursor = 140;
x$c_trek_cursor = 142;
x$c_ul_angle_cursor = 144;
x$c_umbrella_cursor = 146;
x$c_ur_angle_cursor = 148;
x$c_watch_cursor = 150;
x$c_xterm_cursor = 152;
decw$c_num_glyphs = 54;
decw$c_select_cursor = 0;
decw$c_leftselect_cursor = 0;
decw$c_help_select_cursor = 2;
decw$c_wait_cursor = 4;
decw$c_inactive_cursor = 6;
decw$c_resize_cursor = 8;
decw$c_vpane_cursor = 10;
decw$c_hpane_cursor = 12;
decw$c_text_insertion_cursor = 14;
decw$c_text_insertion_bl_cursor = 16;
decw$c_cross_hair_cursor = 18;
decw$c_draw_cursor = 20;
decw$c_pencil_cursor = 22;
decw$c_rpencil_cursor = 22;
decw$c_center_cursor = 24;
decw$c_rightselect_cursor = 26;
decw$c_wselect_cursor = 28;
decw$c_eselect_cursor = 30;
decw$c_x_cursor = 32;
decw$c_circle_cursor = 34;
decw$c_mouse_cursor = 36;
decw$c_lpencil_cursor = 38;
decw$c_leftgrab_cursor = 40;
decw$c_grabhand_cursor = 42;
decw$c_rightgrab_cursor = 44;
decw$c_leftpointing_cursor = 46;
decw$c_uppointing_cursor = 48;
decw$c_rightpointing_cursor = 50;
decw$c_check_cursor = 52;
(* Keysyms
*)
(*
*)
(* TTY Functions, cleverly chosen to map to ascii, for convenience of
*)
(* programming, but could have been arbitrary (at the cost of lookup
*)
(* tables in client code.
*)
(*
*)
CONST x$c_backspace = 65288; (* back space, back char, ... *)
x$c_tab = 65289;
x$c_clear = 65291;
x$c_line_feed = 65290; (* Linefeed, LF *)
x$c_return = 65293; (* Return, enter *)
x$c_pause = 65299; (* Pause, hold, scroll lock, ... *)
x$c_escape = 65307;
x$c_delete = 65535; (* Delete <>, rubout (previous char) *)
(* International & multi-key character composition
*)
CONST x$c_multi_key = 65312; (* Multi-key character compose *)
x$c_kanji = 65313; (* Kanji split-space, Kanji convert, ...
*)
(* Cursor control & motion
*)
CONST x$c_home = 65360;
x$c_left = 65361; (* Move left, left arrow *)
x$c_up = 65362; (* Move up, up arrow *)
x$c_right = 65363; (* Move right, right arrow *)
x$c_down = 65364; (* Move down, down arrow *)
x$c_prior = 65365; (* Prior, previous <> *)
x$c_next = 65366; (* Next <> *)
x$c_end = 65367; (* EOL *)
x$c_begin = 65368; (* BOL *)
(* Misc Functions
*)
CONST x$c_select = 65376; (* Select, mark *)
x$c_print = 65377;
x$c_execute = 65378; (* Execute, run, do *)
x$c_insert = 65379; (* Insert, insert here *)
x$c_undo = 65381; (* Undo, oops *)
x$c_redo = 65382; (* redo, again *)
x$c_menu = 65383;
x$c_find = 65384; (* Find, search *)
x$c_cancel = 65385; (* Cancel, stop, abort, exit *)
x$c_help = 65386; (* Help, ? *)
x$c_break = 65387;
x$c_mode_switch = 65406; (* Kana switch, Hebrew switch *)
x$c_script_switch = 65406; (* alias for mode switch *)
x$c_num_lock = 65407;
(* Keypad Functions, keypad numbers cleverly chosen to map to ascii
*)
CONST x$c_kp_space = 65408; (* space *)
x$c_kp_tab = 65417;
x$c_kp_enter = 65421; (* enter *)
x$c_kp_f1 = 65425; (* PF1, kp_... *)
x$c_kp_f2 = 65426;
x$c_kp_f3 = 65427;
x$c_kp_f4 = 65428;
x$c_kp_equal = 65469; (* equals *)
x$c_kp_multiply = 65450;
x$c_kp_add = 65451;
x$c_kp_separator = 65452; (* separator, often comma *)
x$c_kp_subtract = 65453;
x$c_kp_decimal = 65454;
x$c_kp_divide = 65455;
x$c_kp_0 = 65456;
x$c_kp_1 = 65457;
x$c_kp_2 = 65458;
x$c_kp_3 = 65459;
x$c_kp_4 = 65460;
x$c_kp_5 = 65461;
x$c_kp_6 = 65462;
x$c_kp_7 = 65463;
x$c_kp_8 = 65464;
x$c_kp_9 = 65465;
(* Auxilliary Functions
*)
CONST x$c_f1 = 65470;
x$c_f2 = 65471;
x$c_f3 = 65472;
x$c_f4 = 65473;
x$c_f5 = 65474;
x$c_f6 = 65475;
x$c_f7 = 65476;
x$c_f8 = 65477;
x$c_f9 = 65478;
x$c_f10 = 65479;
x$c_f11 = 65480;
x$c_l1 = 65480;
x$c_f12 = 65481;
x$c_l2 = 65481;
x$c_f13 = 65482;
x$c_l3 = 65482;
x$c_f14 = 65483;
x$c_l4 = 65483;
x$c_f15 = 65484;
x$c_l5 = 65484;
x$c_f16 = 65485;
x$c_l6 = 65485;
x$c_f17 = 65486;
x$c_l7 = 65486;
x$c_f18 = 65487;
x$c_l8 = 65487;
x$c_f19 = 65488;
x$c_l9 = 65488;
x$c_f20 = 65489;
x$c_f21 = 65490;
x$c_r1 = 65490;
x$c_f22 = 65491;
x$c_r2 = 65491;
x$c_f23 = 65492;
x$c_r3 = 65492;
x$c_f24 = 65493;
x$c_r4 = 65493;
x$c_f25 = 65494;
x$c_r5 = 65494;
x$c_f26 = 65495;
x$c_r6 = 65495;
x$c_f27 = 65496;
x$c_r7 = 65496;
x$c_f28 = 65497;
x$c_r8 = 65497;
x$c_f29 = 65498;
x$c_r9 = 65498;
x$c_f30 = 65499;
x$c_r10 = 65499;
x$c_f31 = 65500;
x$c_r11 = 65500;
x$c_f32 = 65501;
x$c_r12 = 65501;
x$c_f33 = 65502;
x$c_r13 = 65502;
x$c_f34 = 65503;
x$c_r14 = 65503;
x$c_f35 = 65504;
x$c_r15 = 65504;
(* Modifiers
*)
CONST x$c_shift_l = 65505; (* Left shift *)
x$c_shift_r = 65506; (* Right shift *)
x$c_control_l = 65507; (* Left control *)
x$c_control_r = 65508; (* Right control *)
x$c_caps_lock = 65509; (* Caps lock *)
x$c_shift_lock = 65510; (* Shift lock *)
x$c_meta_l = 65511; (* Left meta *)
x$c_meta_r = 65512; (* Right meta *)
x$c_alt_l = 65513; (* Left alt *)
x$c_alt_r = 65514; (* Right alt *)
x$c_super_l = 65515; (* Left super *)
x$c_super_r = 65516; (* Right super *)
x$c_hyper_l = 65517; (* Left hyper *)
x$c_hyper_r = 65518; (* Right hyper *)
(*
*)
(* Latin 1
*)
(* Byte 3 = 0
*)
(*
*)
CONST x$c_space = 32;
x$c_exclam = 33;
x$c_quoted_bl = 34;
x$c_number_sign = 35;
x$c_dollar = 36;
x$c_percent = 37;
x$c_ampersand = 38;
x$c_quote_right = 39;
x$c_paren_left = 40;
x$c_paren_right = 41;
x$c_asterisk = 42;
x$c_plus = 43;
x$c_comma = 44;
x$c_minus = 45;
x$c_period = 46;
x$c_slash = 47;
x$c_0 = 48;
x$c_1 = 49;
x$c_2 = 50;
x$c_3 = 51;
x$c_4 = 52;
x$c_5 = 53;
x$c_6 = 54;
x$c_7 = 55;
x$c_8 = 56;
x$c_9 = 57;
x$c_colon = 58;
x$c_semicolon = 59;
x$c_less = 60;
x$c_equal = 61;
x$c_greater = 62;
x$c_question = 63;
x$c_at = 64;
x$c_u_a = 65;
x$c_u_b = 66;
x$c_u_c = 67;
x$c_u_d = 68;
x$c_u_e = 69;
x$c_u_f = 70;
x$c_u_g = 71;
x$c_u_h = 72;
x$c_u_i = 73;
x$c_u_j = 74;
x$c_u_k = 75;
x$c_u_l = 76;
x$c_u_m = 77;
x$c_u_n = 78;
x$c_u_o = 79;
x$c_u_p = 80;
x$c_u_q = 81;
x$c_u_r = 82;
x$c_u_s = 83;
x$c_u_t = 84;
x$c_u_u = 85;
x$c_u_v = 86;
x$c_u_w = 87;
x$c_u_x = 88;
x$c_u_y = 89;
x$c_u_z = 90;
x$c_bracket_left = 91;
x$c_bacslash = 92;
x$c_bracket_right = 93;
x$c_ascii_circum = 94;
x$c_underscore = 95;
x$c_quote_left = 96;
x$c_l_a = 97;
x$c_l_b = 98;
x$c_l_c = 99;
x$c_l_d = 100;
x$c_l_e = 101;
x$c_l_f = 102;
x$c_l_g = 103;
x$c_l_h = 104;
x$c_l_i = 105;
x$c_l_j = 106;
x$c_l_k = 107;
x$c_l_l = 108;
x$c_l_m = 109;
x$c_l_n = 110;
x$c_l_o = 111;
x$c_l_p = 112;
x$c_l_q = 113;
x$c_l_r = 114;
x$c_l_s = 115;
x$c_l_t = 116;
x$c_l_u = 117;
x$c_l_v = 118;
x$c_l_w = 119;
x$c_l_x = 120;
x$c_l_y = 121;
x$c_l_z = 122;
x$c_brace_left = 123;
x$c_bar = 124;
x$c_brace_right = 125;
x$c_ascii_tilde = 126;
x$c_no_breakspace = 160;
x$c_exclam_down = 161;
x$c_cent = 162;
x$c_sterling = 163;
x$c_currency = 164;
x$c_yen = 165;
x$c_broken_bar = 166;
x$c_section = 167;
x$c_diaeresis = 168;
x$c_copyright = 169;
x$c_ord_feminine = 170;
x$c_guillemot_left = 171;
x$c_logical_not = 172;
x$c_hyphen = 173;
x$c_registered = 174;
x$c_macron = 175;
x$c_degree = 176;
x$c_plus_minus = 177;
x$c_two_superior = 178;
x$c_three_superior = 179;
x$c_acute = 180;
x$c_mu = 181;
x$c_paragraph = 182;
x$c_period_centered = 183;
x$c_cedilla = 184;
x$c_one_superior = 185;
x$c_masculine = 186;
x$c_guillemot_right = 187;
x$c_one_quarter = 188;
x$c_one_half = 189;
x$c_three_quarters = 190;
x$c_question_down = 191;
x$c_u_a_grave = 192;
x$c_u_a_acute = 193;
x$c_u_a_circumflex = 194;
x$c_u_a_tilde = 195;
x$c_u_a_diaeresis = 196;
x$c_u_a_ring = 197;
x$c_u_ae = 198;
x$c_u_c_cedilla = 199;
x$c_u_e_grave = 200;
x$c_u_e_acute = 201;
x$c_u_e_circumflex = 202;
x$c_u_e_diaeresis = 203;
x$c_u_i_grave = 204;
x$c_u_i_acute = 205;
x$c_u_i_circumflex = 206;
x$c_u_i_diaeresis = 207;
x$c_u_eth = 208;
x$c_u_n_tilde = 209;
x$c_u_o_grave = 210;
x$c_u_o_acute = 211;
x$c_u_o_circumflex = 212;
x$c_u_o_tilde = 213;
x$c_u_o_diaeresis = 214;
x$c_multiply = 215;
x$c_u_o_oblique = 216;
x$c_u_u_grave = 217;
x$c_u_u_acute = 218;
x$c_u_u_circumflex = 219;
x$c_u_u_diaeresis = 220;
x$c_u_y_acute = 221;
x$c_u_thorn = 222;
x$c_ssharp = 223;
x$c_l_a_grave = 224;
x$c_l_a_acute = 225;
x$c_l_a_circumflex = 226;
x$c_l_a_tilde = 227;
x$c_l_a_diaeresis = 228;
x$c_l_a_ring = 229;
x$c_l_ae = 230;
x$c_l_c_cedilla = 231;
x$c_l_e_grave = 232;
x$c_l_e_acute = 233;
x$c_l_e_circumflex = 234;
x$c_l_e_diaeresis = 235;
x$c_l_i_grave = 236;
x$c_l_i_acute = 237;
x$c_l_i_circumflex = 238;
x$c_l_i_diaeresis = 239;
x$c_l_eth = 240;
x$c_l_n_tilde = 241;
x$c_l_o_grave = 242;
x$c_l_o_acute = 243;
x$c_l_o_circumflex = 244;
x$c_l_o_tilde = 245;
x$c_l_o_diaeresis = 246;
x$c_division = 247;
x$c_l_o_slash = 248;
x$c_l_u_grave = 249;
x$c_l_u_acute = 250;
x$c_l_u_circumflex = 251;
x$c_l_u_diaeresis = 252;
x$c_l_y_acute = 253;
x$c_l_thorn = 254;
x$c_l_y_diaeresis = 255;
(*
*)
(* Latin 2
*)
(* Byte 3 = 1
*)
(*
*)
CONST x$c_u_A_ogonek = 417;
x$c_breve = 418;
x$c_u_l_stroke = 419;
x$c_u_l_caron = 421;
x$c_u_s_acute = 422;
x$c_u_s_caron = 425;
x$c_u_s_cedilla = 426;
x$c_u_t_caron = 427;
x$c_u_z_acute = 428;
x$c_u_z_caron = 430;
x$c_u_z_above_dot = 431;
x$c_l_a_ogonek = 433;
x$c_l_ogonek = 434;
x$c_l_l_stroke = 435;
x$c_l_l_caron = 437;
x$c_l_s_acute = 438;
x$c_l_c_aron = 439;
x$c_l_s_caron = 441;
x$c_l_s_cedilla = 442;
x$c_l_t_caron = 443;
x$c_l_z_acute = 444;
x$c_double_acute = 445;
x$c_l_z_caron = 446;
x$c_l_z_above_dot = 447;
x$c_u_r_acute = 448;
x$c_u_a_breve = 451;
x$c_u_c_acute = 454;
x$c_u_c_caron = 456;
x$c_u_e_ogonek = 458;
x$c_u_e_caron = 460;
x$c_u_d_caron = 463;
x$c_u_n_acute = 465;
x$c_u_n_caron = 466;
x$c_u_o_double_acute = 469;
x$c_u_r_caron = 472;
x$c_u_u_ring = 473;
x$c_u_u_double_acute = 474;
x$c_u_t_cedilla = 478;
x$c_l_r_acute = 480;
x$c_l_a_breve = 483;
x$c_l_c_acute = 486;
x$c_l_c_caron = 488;
x$c_l_e_ogonek = 490;
x$c_l_e_caron = 492;
x$c_l_d_caron = 495;
x$c_l_n_acute = 497;
x$c_l_n_caron = 498;
x$c_l_r_caron = 504;
x$c_l_u_ring = 505;
x$c_l_t_cedilla = 510;
x$c_above_dot = 511;
(*
*)
(* Latin 3
*)
(* Byte 3 = 2
*)
(*
*)
CONST x$c_u_h_stroke = 673;
x$c_u_h_circumflex = 678;
x$c_u_i_above_dot = 681;
x$c_u_g_breve = 683;
x$c_u_j_circumflex = 684;
x$c_l_h_circumflex = 689;
x$c_l_h_slash = 694;
x$c_l_i_dotless = 697;
x$c_l_g_breve = 699;
x$c_l_j_circumflex = 700;
x$c_u_c_above_dot = 709;
x$c_u_c_circumflex = 710;
x$c_u_g_above_dot = 725;
x$c_u_g_circumflex = 728;
x$c_u_u_breve = 733;
x$c_u_w_circumflex = 734;
x$c_l_s_german_sharp = 735;
x$c_l_c_above_dot = 741;
x$c_l_c_circumflex = 742;
x$c_l_g_above_dot = 757;
x$c_l_g_circumflex = 760;
x$c_l_u_breve = 765;
x$c_l_s_circumflex = 766;
(*
*)
(* Latin 4
*)
(* Byte 3 = 3
*)
(*
*)
CONST x$c_kappa = 930;
x$c_u_r_cedilla = 931;
x$c_u_i_tilde = 933;
x$c_u_l_cedilla = 934;
x$c_u_e_macron = 938;
x$c_u_g_cedilla = 939;
x$c_u_t_slash = 940;
x$c_l_r_cedilla = 947;
x$c_l_i_tilde = 949;
x$c_l_l_cedilla = 950;
x$c_l_e_macron = 954;
x$c_l_g_acute = 955;
x$c_l_t_slash = 956;
x$c_u_eng = 957;
x$c_l_eng = 959;
x$c_u_a_macron = 960;
x$c_u_i_ogonek = 967;
x$c_u_e_above_dot = 972;
x$c_u_i_macron = 975;
x$c_u_n_cedilla = 977;
x$c_u_o_macron = 978;
x$c_u_cedilla = 979;
x$c_u_u_ogonek = 985;
x$c_u_u_tilde = 989;
x$c_u_u_macron = 990;
x$c_l_a_macron = 992;
x$c_l_i_ogonek = 999;
x$c_l_e_above_dot = 1004;
x$c_l_i_macron = 1007;
x$c_l_n_cedilla = 1009;
x$c_l_o_macron = 1010;
x$c_l_cedilla = 1011;
x$c_l_u_ogonek = 1017;
x$c_l_u_tilde = 1021;
x$c_l_u_macron = 1022;
(*
*)
(* Katakana
*)
(* Byte 3 = 4
*)
(*
*)
CONST x$c_overline = 1150;
x$c_kana_fullstop = 1185;
x$c_kana_openingbracket = 1186;
x$c_kana_closingbracket = 1187;
x$c_kana_comma = 1188;
x$c_kana_middledot = 1189;
x$c_kana_WO = 1190;
x$c_kana_l_a = 1191;
x$c_kana_l_i = 1192;
x$c_kana_l_u = 1193;
x$c_kana_l_e = 1194;
x$c_kana_l_o = 1195;
x$c_kana_l_ya = 1196;
x$c_kana_l_yu = 1197;
x$c_kana_l_yo = 1198;
x$c_kana_l_tu = 1199;
x$c_prolongedsound = 1200;
x$c_kana_u_A = 1201;
x$c_kana_I = 1202;
x$c_kana_U = 1203;
x$c_kana_E = 1204;
x$c_kana_O = 1205;
x$c_kana_KA = 1206;
x$c_kana_KI = 1207;
x$c_kana_KU = 1208;
x$c_kana_KE = 1209;
x$c_kana_KO = 1210;
x$c_kana_SA = 1211;
x$c_kana_SHI = 1212;
x$c_kana_SU = 1213;
x$c_kana_SE = 1214;
x$c_kana_SO = 1215;
x$c_kana_TA = 1216;
x$c_kana_TI = 1217;
x$c_kana_TU = 1218;
x$c_kana_TE = 1219;
x$c_kana_TO = 1220;
x$c_kana_NA = 1221;
x$c_kana_NI = 1222;
x$c_kana_NU = 1223;
x$c_kana_NE = 1224;
x$c_kana_NO = 1225;
x$c_kana_HA = 1226;
x$c_kana_HI = 1227;
x$c_kana_HU = 1228;
x$c_kana_HE = 1229;
x$c_kana_HO = 1230;
x$c_kana_MA = 1231;
x$c_kana_MI = 1232;
x$c_kana_MU = 1233;
x$c_kana_ME = 1234;
x$c_kana_MO = 1235;
x$c_kana_YA = 1236;
x$c_kana_YU = 1237;
x$c_kana_YO = 1238;
x$c_kana_RA = 1239;
x$c_kana_RI = 1240;
x$c_kana_RU = 1241;
x$c_kana_RE = 1242;
x$c_kana_RO = 1243;
x$c_kana_WA = 1244;
x$c_kana_N = 1245;
x$c_voicedsound = 1246;
x$c_semivoicedsound = 1247;
x$c_kana_switch = 65406; (* alias for mode_switch *)
(*
*)
(* Arabic
*)
(* Byte 3 = 5
*)
(*
*)
CONST x$c_Arabic_comma = 1452;
x$c_Arabic_semicolon = 1467;
x$c_Arabic_question_mark = 1471;
x$c_Arabic_hamza = 1473;
x$c_Arabic_maddaonalef = 1474;
x$c_Arabic_hamzaonalef = 1475;
x$c_Arabic_hamzaonwaw = 1476;
x$c_Arabic_hamzaunderalef = 1477;
x$c_Arabic_hamzaonyeh = 1478;
x$c_Arabic_alef = 1479;
x$c_Arabic_beh = 1480;
x$c_Arabic_tehmarbuta = 1481;
x$c_Arabic_teh = 1482;
x$c_Arabic_theh = 1483;
x$c_Arabic_jeem = 1484;
x$c_Arabic_hah = 1485;
x$c_Arabic_khah = 1486;
x$c_Arabic_dal = 1487;
x$c_Arabic_thal = 1488;
x$c_Arabic_ra = 1489;
x$c_Arabic_zain = 1490;
x$c_Arabic_seen = 1491;
x$c_Arabic_sheen = 1492;
x$c_Arabic_ = 1493;
x$c_Arabic_dad = 1494;
x$c_Arabic_tah = 1495;
x$c_Arabic_zah = 1496;
x$c_Arabic_ain = 1497;
x$c_Arabic_ghain = 1498;
x$c_Arabic_tatweel = 1504;
x$c_Arabic_feh = 1505;
x$c_Arabic_qaf = 1506;
x$c_Arabic_kaf = 1507;
x$c_Arabic_lam = 1508;
x$c_Arabic_meem = 1509;
x$c_Arabic_noon = 1510;
x$c_Arabic_heh = 1511;
x$c_Arabic_waw = 1512;
x$c_Arabic_alefmaksura = 1513;
x$c_Arabic_yeh = 1514;
x$c_Arabic_fathatan = 1515;
x$c_Arabic_dammatan = 1516;
x$c_Arabic_kasratan = 1517;
x$c_Arabic_fatha = 1518;
x$c_Arabic_damma = 1519;
x$c_Arabic_kasra = 1520;
x$c_Arabic_shadda = 1521;
x$c_Arabic_sukun = 1522;
x$c_Arabic_switch = 65406; (* Alias for mode_switch * *)
(*
*)
(* Cyrillic
*)
(* Byte 3 = 6
*)
(*
*)
CONST x$c_Serbian_l_dje = 1697;
x$c_Macedonia_l_gje = 1698;
x$c_Cyrillic_l_io = 1699;
x$c_Ukranian_l_je = 1700;
x$c_Macedonia_l_dse = 1701;
x$c_Ukranian_l_i = 1702;
x$c_Ukranian_l_yi = 1703;
x$c_Serbian_l_je = 1704;
x$c_Serbian_l_lje = 1705;
x$c_Serbian_l_nje = 1706;
x$c_Serbian_l_tshe = 1707;
x$c_Macedonia_l_kje = 1708;
x$c_Byelorussian_l_short_u = 1710;
x$c_Serbian_l_dze = 1711;
x$c_numero_sign = 1712;
x$c_Serbian_u_DJE = 1713;
x$c_Macedonia_u_GJE = 1714;
x$c_Cyrillic_u_IO = 1715;
x$c_Ukranian_u_JE = 1716;
x$c_Macedonia_u_DSE = 1717;
x$c_Ukranian_u_I = 1718;
x$c_Ukranian_u_YI = 1719;
x$c_Serbian_u_JE = 1720;
x$c_Serbian_u_LJE = 1721;
x$c_Serbian_u_NJE = 1722;
x$c_Serbian_u_TSHE = 1723;
x$c_Macedonia_u_KJE = 1724;
x$c_Byelorussian_u_SHORT_U = 1726;
x$c_Serbian_u_DZE = 1727;
x$c_Cyrillic_yu = 1728;
x$c_Cyrillic_a = 1729;
x$c_Cyrillic_be = 1730;
x$c_Cyrillic_tse = 1731;
x$c_Cyrillic_de = 1732;
x$c_Cyrillic_ie = 1733;
x$c_Cyrillic_ef = 1734;
x$c_Cyrillic_ghe = 1735;
x$c_Cyrillic_ha = 1736;
x$c_Cyrillic_i = 1737;
x$c_Cyrillic_shorti = 1738;
x$c_Cyrillic_ka = 1739;
x$c_Cyrillic_el = 1740;
x$c_Cyrillic_em = 1741;
x$c_Cyrillic_en = 1742;
x$c_Cyrillic_o = 1743;
x$c_Cyrillic_pe = 1744;
x$c_Cyrillic_ya = 1745;
x$c_Cyrillic_er = 1746;
x$c_Cyrillic_es = 1747;
x$c_Cyrillic_te = 1748;
x$c_Cyrillic_u = 1749;
x$c_Cyrillic_zhe = 1750;
x$c_Cyrillic_ve = 1751;
x$c_Cyrillic_softsign = 1752;
x$c_Cyrillic_yeru = 1753;
x$c_Cyrillic_ze = 1754;
x$c_Cyrillic_sha = 1755;
x$c_Cyrillic_e = 1756;
x$c_Cyrillic_shcha = 1757;
x$c_Cyrillic_che = 1758;
x$c_Cyrillic_hardsign = 1759;
x$c_Cyrillic_u_YU = 1760;
x$c_Cyrillic_u_A = 1761;
x$c_Cyrillic_u_BE = 1762;
x$c_Cyrillic_u_TSE = 1763;
x$c_Cyrillic_u_DE = 1764;
x$c_Cyrillic_u_IE = 1765;
x$c_Cyrillic_u_EF = 1766;
x$c_Cyrillic_u_GHE = 1767;
x$c_Cyrillic_u_HA = 1768;
x$c_Cyrillic_u_I = 1769;
x$c_Cyrillic_u_SHORTI = 1770;
x$c_Cyrillic_u_KA = 1771;
x$c_Cyrillic_u_EL = 1772;
x$c_Cyrillic_u_EM = 1773;
x$c_Cyrillic_u_EN = 1774;
x$c_Cyrillic_u_O = 1775;
x$c_Cyrillic_u_PE = 1776;
x$c_Cyrillic_u_YA = 1777;
x$c_Cyrillic_u_ER = 1778;
x$c_Cyrillic_u_ES = 1779;
x$c_Cyrillic_u_TE = 1780;
x$c_Cyrillic_u_U = 1781;
x$c_Cyrillic_u_ZHE = 1782;
x$c_Cyrillic_u_VE = 1783;
x$c_Cyrillic_u_SOFTSIGN = 1784;
x$c_Cyrillic_u_YERU = 1785;
x$c_Cyrillic_u_ZE = 1786;
x$c_Cyrillic_u_SHA = 1787;
x$c_Cyrillic_u_E = 1788;
x$c_Cyrillic_u_SHCHA = 1789;
x$c_Cyrillic_u_CHE = 1790;
x$c_Cyrillic_u_HARDSIGN = 1791;
(*
*)
(* Gr
*)
(* Byte 3 = 7
*)
(*
*)
CONST x$c_Gr _u_ALPHA_accent = 1953;
x$c_Gr _u_EPSILON_accent = 1954;
x$c_Gr _u_ETA_accent = 1955;
x$c_Gr _u_IOTA_accent = 1956;
x$c_Gr _u_IOTA_diaeresis = 1957;
x$c_Gr _u_IOTA_accent_diaer = 1958;
x$c_Gr _u_OMICRON_accent = 1959;
x$c_Gr _u_UPSILON_accent = 1960;
x$c_Gr _u_UPSILON_dieresis = 1961;
x$c_Gr _u_UPSILON_accent_dier = 1962;
x$c_Gr _u_OMEGA_accent = 1963;
x$c_Gr _l_alpha_accent = 1969;
x$c_Gr _l_epsilon_accent = 1970;
x$c_Gr _l_eta_accent = 1971;
x$c_Gr _l_iota_accent = 1972;
x$c_Gr _l_iota_dieresis = 1973;
x$c_Gr _l_iota_accent_dier = 1974;
x$c_Gr _l_omicron_accent = 1975;
x$c_Gr _l_upsilon_accent = 1976;
x$c_Gr _l_upsilon_dieresis = 1977;
x$c_Gr _l_upsilon_accent_dier = 1978;
x$c_Gr _l_omega_accent = 1979;
x$c_Gr _u_ALPHA = 1985;
x$c_Gr _u_BETA = 1986;
x$c_Gr _u_GAMMA = 1987;
x$c_Gr _u_DELTA = 1988;
x$c_Gr _u_EPSILON = 1989;
x$c_Gr _u_ZETA = 1990;
x$c_Gr _u_ETA = 1991;
x$c_Gr _u_THETA = 1992;
x$c_Gr _u_IOTA = 1993;
x$c_Gr _u_KAPPA = 1994;
x$c_Gr _u_LAMBDA = 1995;
x$c_Gr _u_MU = 1996;
x$c_Gr _u_NU = 1997;
x$c_Gr _u_XI = 1998;
x$c_Gr _u_OMICRON = 1999;
x$c_Gr _u_PI = 2000;
x$c_Gr _u_RHO = 2001;
x$c_Gr _u_SIGMA = 2002;
x$c_Gr _u_TAU = 2004;
x$c_Gr _u_UPSILON = 2005;
x$c_Gr _u_PHI = 2006;
x$c_Gr _u_CHI = 2007;
x$c_Gr _u_PSI = 2008;
x$c_Gr _u_OMEGA = 2009;
x$c_Gr _l_alpha = 2017;
x$c_Gr _l_beta = 2018;
x$c_Gr _l_gamma = 2019;
x$c_Gr _l_delta = 2020;
x$c_Gr _l_epsilon = 2021;
x$c_Gr _l_zeta = 2022;
x$c_Gr _l_eta = 2023;
x$c_Gr _l_theta = 2024;
x$c_Gr _l_iota = 2025;
x$c_Gr _l_kappa = 2026;
x$c_Gr _l_lambda = 2027;
x$c_Gr _l_mu = 2028;
x$c_Gr _l_nu = 2029;
x$c_Gr _l_xi = 2030;
x$c_Gr _l_omicron = 2031;
x$c_Gr _l_pi = 2032;
x$c_Gr _l_rho = 2033;
x$c_Gr _l_sigma = 2034;
x$c_Gr _l_final_sigma = 2035;
x$c_Gr _l_tau = 2036;
x$c_Gr _l_upsilon = 2037;
x$c_Gr _l_phi = 2038;
x$c_Gr _l_chi = 2039;
x$c_Gr _l_psi = 2040;
x$c_Gr _l_omega = 2041;
x$c_Gr _switch = 65406; (* Alias for mode_switch *)
(*
*)
(* Technical
*)
(* Byte 3 = 8
*)
(*
*)
CONST x$c_left_radical = 2209;
x$c_top_left_radical = 2210;
x$c_horiz_connector = 2211;
x$c_top_integral = 2212;
x$c_bot_integral = 2213;
x$c_vert_connector = 2214;
x$c_top_left_sqbracket = 2215;
x$c_bot_left_sqbracket = 2216;
x$c_top_right_sqbracket = 2217;
x$c_bot_right_sqbracket = 2218;
x$c_top_left_parens = 2219;
x$c_bot_left_parens = 2220;
x$c_top_right_parens = 2221;
x$c_bot_right_parens = 2222;
x$c_left_middle_curly_brace = 2223;
x$c_right_middle_curly_brace = 2224;
x$c_top_left_summation = 2225;
x$c_bot_left_summation = 2226;
x$c_top_vert_summation_connect = 2227;
x$c_bot_vert_summation_connect = 2228;
x$c_top_right_summation = 2229;
x$c_bot_right_summation = 2230;
x$c_right_middle_summation = 2231;
x$c_less_than_equal = 2236;
x$c_not_equal = 2237;
x$c_greater_than_equal = 2238;
x$c_integral = 2239;
x$c_therefore = 2240;
x$c_variation = 2241;
x$c_infinity = 2242;
x$c_nabla = 2245;
x$c_approximate = 2248;
x$c_similar_equal = 2249;
x$c_if_only_if = 2253;
x$c_implies = 2254;
x$c_identical = 2255;
x$c_radical = 2262;
x$c_included_in = 2266;
x$c_includes = 2267;
x$c_intersection = 2268;
x$c_UNION = 2269;
x$c_logical_and = 2270;
x$c_logical_or = 2271;
x$c_partial_derivative = 2287;
x$c_function = 2294;
x$c_left_arrow = 2299;
x$c_up_arrow = 2300;
x$c_right_arrow = 2301;
x$c_down_arrow = 2302;
(*
*)
(* Special
*)
(* Byte 3 = 9
*)
(*
*)
CONST x$c_blank = 2527;
x$c_solid_diamond = 2528;
x$c_checker_board = 2529;
x$c_ht = 2530;
x$c_ff = 2531;
x$c_cr = 2532;
x$c_lf = 2533;
x$c_nl = 2536;
x$c_vt = 2537;
x$c_low_right_corner = 2538;
x$c_up_right_corner = 2539;
x$c_up_left_corner = 2540;
x$c_low_left_corner = 2541;
x$c_crossing_lines = 2542;
x$c_horiz_linescan_1 = 2543;
x$c_horiz_linescan_3 = 2544;
x$c_horiz_linescan_5 = 2545;
x$c_horiz_linescan_7 = 2546;
x$c_horiz_linescan_9 = 2547;
x$c_left_t = 2548;
x$c_right_t = 2549;
x$c_bot_t = 2550;
x$c_top_t = 2551;
x$c_vert_bar = 2552;
(*
*)
(* Publishing
*)
(* Byte 3 = a
*)
(*
*)
CONST x$c_em_space = 2721;
x$c_en_space = 2722;
x$c_em3_space = 2723;
x$c_em4_space = 2724;
x$c_digit_space = 2725;
x$c_punct_space = 2726;
x$c_thin_space = 2727;
x$c_hair_space = 2728;
x$c_em_dash = 2729;
x$c_en_dash = 2730;
x$c_signif_blank = 2732;
x$c_ellipsis = 2734;
x$c_doub_base_line_dot = 2735;
x$c_one_third = 2736;
x$c_two_thirds = 2737;
x$c_one_fifth = 2738;
x$c_two_fifths = 2739;
x$c_three_fifths = 2740;
x$c_four_fifths = 2741;
x$c_one_sixth = 2742;
x$c_five_sixths = 2743;
x$c_care_of = 2744;
x$c_fig_dash = 2747;
x$c_left_angle_bracket = 2748;
x$c_decimal_point = 2749;
x$c_right_angle_bracket = 2750;
x$c_MARKER = 2751;
x$c_one_eighth = 2755;
x$c_three_eighths = 2756;
x$c_five_eighths = 2757;
x$c_seven_eighths = 2758;
x$c_trademark = 2761;
x$c_signature_mark = 2762;
x$c_trademark_in_circle = 2763;
x$c_left_open_triangle = 2764;
x$c_right_open_triangle = 2765;
x$c_em_open_circle = 2766;
x$c_em_open_rectangle = 2767;
x$c_left_single_quotemark = 2768;
x$c_right_single_quotemark = 2769;
x$c_left_double_quotemark = 2770;
x$c_right_double_quotemark = 2771;
x$c_prescription = 2772;
x$c_minutes = 2774;
x$c_seconds = 2775;
x$c_latin_cross = 2777;
x$c_hexagram = 2778;
x$c_filled_rect_bullet = 2779;
x$c_filled_left_tri_bullet = 2780;
x$c_filled_right_tri_bulle = 2781;
x$c_em_filled_circle = 2782;
x$c_em_filled_rect = 2783;
x$c_en_open_circ_bullet = 2784;
x$c_en_open_square_bullet = 2785;
x$c_open_rect_bullet = 2786;
x$c_open_tri_bullet_up = 2787;
x$c_open_tri_bullet_down = 2788;
x$c_open_star = 2789;
x$c_en_filled_circ_bullet = 2790;
x$c_en_filled_sq_bullet = 2791;
x$c_filled_tri_bullet_up = 2792;
x$c_filled_tri_bullet_down = 2793;
x$c_left_pointer = 2794;
x$c_right_pointer = 2795;
x$c_club = 2796;
x$c_diamond = 2797;
x$c_heart = 2798;
x$c_maltese_cross = 2800;
x$c_dagger = 2801;
x$c_doubled_agger = 2802;
x$c_check_mark = 2803;
x$c_ballot_cross = 2804;
x$c_musical_sharp = 2805;
x$c_musical_flat = 2806;
x$c_male_symbol = 2807;
x$c_female_symbol = 2808;
x$c_telephone = 2809;
x$c_telephone_recorder = 2810;
x$c_phonograph_copy_right = 2811;
x$c_caret = 2812;
x$c_single_low_quote_mark = 2813;
x$c_double_low_quote_mark = 2814;
x$c_cursor = 2815;
(*
*)
(* APL
*)
(* Byte 3 = b
*)
(*
*)
CONST x$c_left_caret = 2979;
x$c_right_caret = 2982;
x$c_down_caret = 2984;
x$c_up_caret = 2985;
x$c_over_bar = 3008;
x$c_down_tack = 3010;
x$c_up_shoe = 3011;
x$c_down_stile = 3012;
x$c_under_bar = 3014;
x$c_jot = 3018;
x$c_quad = 3020;
x$c_up_tack = 3022;
x$c_circle = 3023;
x$c_up_stile = 3027;
x$c_down_shoe = 3030;
x$c_right_shoe = 3032;
x$c_left_shoe = 3034;
x$c_left_tack = 3036;
x$c_right_tack = 3068;
(*
*)
(* Hebrew
*)
(* Byte 3 = c
*)
(*
*)
CONST x$c_hebrew_aleph = 3296;
x$c_hebrew_beth = 3297;
x$c_hebrew_gimmel = 3298;
x$c_hebrew_daleth = 3299;
x$c_hebrew_he = 3300;
x$c_hebrew_waw = 3301;
x$c_hebrew_zayin = 3302;
x$c_hebrew_het = 3303;
x$c_hebrew_teth = 3304;
x$c_hebrew_yod = 3305;
x$c_hebrew_final_kaph = 3306;
x$c_hebrew_kaph = 3307;
x$c_hebrew_lamed = 3308;
x$c_hebrew_final_mem = 3309;
x$c_hebrew_mem = 3310;
x$c_hebrew_final_nun = 3311;
x$c_hebrew_nun = 3312;
x$c_hebrew_samekh = 3313;
x$c_hebrew_ayin = 3314;
x$c_hebrew_finalpe = 3315;
x$c_hebrew_pe = 3316;
x$c_hebrew_finalzadi = 3317;
x$c_hebrew_zadi = 3318;
x$c_hebrew_kuf = 3319;
x$c_hebrew_resh = 3320;
x$c_hebrew_shin = 3321;
x$c_hebrew_taf = 3322;
x$c_Hebrew_switch = 65406; (* Alias for mode_switch *)
(* two-key compose sequence initiators, chosen to map to Latin1 characters
*)
CONST decw$c_ring_accent = 268500656;
decw$c_circumflex_accent = 268500574;
decw$c_cedilla_accent = 268500524;
decw$c_acute_accent = 268500519;
decw$c_grave_accent = 268500576;
decw$c_tilde = 268500606;
decw$c_diaeresis = 268500514;
(* special keysym for LK2** "Remove" key on editing keypad
*)
CONST decw$c_remove = 268500736;
(***************************************
**************************
*)
(* Predefined Atoms
*)
(***************************************
**************************
*)
CONST X$C_XA_PRIMARY = 1;
X$C_XA_SECONDARY = 2;
X$C_XA_ARC = 3;
X$C_XA_ATOM = 4;
X$C_XA_BITMAP = 5;
X$C_XA_CARDINAL = 6;
X$C_XA_COLORMAP = 7;
X$C_XA_CURSOR = 8;
X$C_XA_CUT_BUFFER0 = 9;
X$C_XA_CUT_BUFFER1 = 10;
X$C_XA_CUT_BUFFER2 = 11;
X$C_XA_CUT_BUFFER3 = 12;
X$C_XA_CUT_BUFFER4 = 13;
X$C_XA_CUT_BUFFER5 = 14;
X$C_XA_CUT_BUFFER6 = 15;
X$C_XA_CUT_BUFFER7 = 16;
X$C_XA_DRAWABLE = 17;
X$C_XA_FONT = 18;
X$C_XA_INTEGER = 19;
X$C_XA_PIXMAP = 20;
X$C_XA_POINT = 21;
X$C_XA_RECTANGLE = 22;
X$C_XA_RESOURCE_MANAGER = 23;
X$C_XA_RGB_COLOR_MAP = 24;
X$C_XA_RGB_BEST_MAP = 25;
X$C_XA_RGB_BLUE_MAP = 26;
X$C_XA_RGB_DEFAULT_MAP = 27;
X$C_XA_RGB_GRAY_MAP = 28;
X$C_XA_RGB_GREEN_MAP = 29;
X$C_XA_RGB_RED_MAP = 30;
X$C_XA_STRING = 31;
X$C_XA_VISUALID = 32;
X$C_XA_WINDOW = 33;
X$C_XA_WM_COMMAND = 34;
X$C_XA_WM_HINTS = 35;
X$C_XA_WM_CLIENT_MACHINE = 36;
X$C_XA_WM_ICON_NAME = 37;
X$C_XA_WM_ICON_SIZE = 38;
X$C_XA_WM_NAME = 39;
X$C_XA_WM_NORMAL_HINTS = 40;
X$C_XA_WM_SIZE_HINTS = 41;
X$C_XA_WM_ZOOM_HINTS = 42;
X$C_XA_MIN_SPACE = 43;
X$C_XA_NORM_SPACE = 44;
X$C_XA_MAX_SPACE = 45;
X$C_XA_END_SPACE = 46;
X$C_XA_SUPERSCRIPT_X = 47;
X$C_XA_SUPERSCRIPT_Y = 48;
X$C_XA_SUBSCRIPT_X = 49;
X$C_XA_SUBSCRIPT_Y = 50;
X$C_XA_UNDERLINE_POSITION = 51;
X$C_XA_UNDERLINE_THICKNESS = 52;
X$C_XA_STRIKEOUT_ASCENT = 53;
X$C_XA_STRIKEOUT_DESCENT = 54;
X$C_XA_ITALIC_ANGLE = 55;
X$C_XA_X_HEIGHT = 56;
X$C_XA_QUAD_WIDTH = 57;
X$C_XA_WEIGHT = 58;
X$C_XA_POINT_SIZE = 59;
X$C_XA_RESOLUTION = 60;
X$C_XA_COPYRIGHT = 61;
X$C_XA_NOTICE = 62;
X$C_XA_FONT_NAME = 63;
X$C_XA_FAMILY_NAME = 64;
X$C_XA_FULL_NAME = 65;
X$C_XA_CAP_HEIGHT = 66;
X$C_XA_WM_CLASS = 67;
X$C_XA_WM_TRANSIENT_FOR = 68;
X$C_XA_LAST_PREDEFINED = 68;
(* constants for X$MULTIPLEX_INPUT. This rouine is VMS only
*)
CONST x$m_mi_no_block = 1;
x$m_mi_new_input = 2;
TYPE x$mux_input_masks = RECORD
x$v_mi_no_block : [POS(0)] $BOOL;
x$v_mi_new_input : [POS(1)] $BOOL;
x$v_mux_fill : [POS(2)] $BIT30;
END;
(* constants for Options Table used in XrmParseCommand. MIT bindings use
*)
(* enumerated types.
*)
CONST x$c_x$rm_option_no_arg = 0;
x$c_x$rm_option_is_arg = 1;
x$c_x$rm_option_sticky_arg = 2;
x$c_x$rm_option_sep_arg = 3;
x$c_x$rm_option_res_arg = 4;
x$c_x$rm_option_skip_arg = 5;
x$c_x$rm_option_skip_line = 6;
x$c_x$rm_option_skip_n_args = 7;
(* constants for XrmBinding. MIT bindings use enumerated types.
*)
CONST x$c_x$rm_bind_tightly = 0;
x$c_x$rm_bind_loosely = 1;
(*** MODULE $xlibdef IDENT V1-00 ***)
(***************************************
*************************************
*)
(*
* *)
(* COPYRIGHT (c) 1986 BY
* *)
(* DIGITAL EQUIPMENT CORPORATION, MAYNARD, MASSACHUSETTS.
* *)
(* ALL RIGHTS RESERVED.
* *)
(*
* *)
(* THIS SOFTWARE IS FURNISHED UNDER A LICENSE AND MAY BE USED AND COPIED
* *)
(* ONLY IN ACCORDANCE WITH THE TERMS OF SUCH LICENSE AND WITH THE
* *)
(* INCLUSION OF THE ABOVE COPYRIGHT NOTICE. THIS SOFTWARE OR ANY OTHER
* *)
(* COPIES THEREOF MAY NOT BE PROVIDED OR OTHERWISE MADE AVAILABLE TO ANY
* *)
(* OTHER PERSON. NO TITLE TO AND OWNERSHIP OF THE SOFTWARE IS HEREBY
* *)
(* TRANSFERRED.
* *)
(*
* *)
(* THE INFORMATION IN THIS SOFTWARE IS SUBJECT TO CHANGE WITHOUT NOTICE
* *)
(* AND SHOULD NOT BE CONSTRUED AS A COMMITMENT BY DIGITAL EQUIPMENT
* *)
(* CORPORATION.
* *)
(*
* *)
(* DIGITAL ASSUMES NO RESPONSIBILITY FOR THE USE OR RELIABILITY OF ITS
* *)
(* SOFTWARE ON EQUIPMENT WHICH IS NOT SUPPLIED BY DIGITAL.
* *)
(*
* *)
(*
* *)
(***************************************
*************************************
*)
(***************************************
*************************************
*)
(*
* *)
(* COPYRIGHT (c) 1988 BY
* *)
(* DIGITAL EQUIPMENT CORPORATION, MAYNARD, MASS.
* *)
(* ALL RIGHTS RESERVED
* *)
(*
* *)
(* THIS SOFTWARE IS FURNISHED UNDER A LICENSE AND MAY BE USED AND COPIED
* *)
(* ONLY IN ACCORDANCE WITH THE TERMS OF SUCH LICENSE AND WITH THE
* *)
(* INCLUSION OF THE ABOVE COPYRIGHT NOTICE. THIS SOFTWARE OR ANY OTHER
* *)
(* COPIES THEREOF MAY NOT BE PROVIDED OR OTHERWISE MADE AVAILABLE TO ANY
* *)
(* OTHER PERSON. NO TITLE TO AND OWNERSHIP OF THE SOFTWARE IS HEREBY
* *)
(* TRANSFERRED.
* *)
(*
* *)
(* THE INFORMATION IN THIS SOFTWARE IS SUBJECT TO CHANGE WITHOUT NOTICE
* *)
(* AND SHOULD NOT BE CONSTRUED AS A COMMITMENT BY DIGITAL EQUIPMENT
* *)
(* CORPORATION.
* *)
(*
* *)
(* DIGITAL ASSUMES NO RESPONSIBILITY FOR THE USE OR RELIABILITY OF ITS
* *)
(* SOFTWARE ON EQUIPMENT WHICH IS NOT SUPPLIED BY DIGITAL.
* *)
(*
* *)
(***************************************
*************************************
*)
CONST x$c_extc_size = 16;
TYPE x$ext_codes = RECORD
x$l_extc_extension : INTEGER;
x$l_extc_major_opcode : INTEGER;
x$l_extc_first_event : INTEGER;
x$l_extc_first_error : INTEGER;
END;
CONST x$c_x$extd_size = 16;
TYPE x$ext_data = RECORD
x$l_extd_number : INTEGER;
x$a_extd_next : ^x$ext_data ;
x$a_extd_free : ^$DEFTYP (* entry *);
x$l_extd_private : INTEGER;
END;
CONST x$c_visu_size = 32;
TYPE x$visual = RECORD
x$a_visu_ext_data : ^x$ext_data ;
x$l_visu_visualid : UNSIGNED; (* VisualID *)
x$l_visu_class : INTEGER;
x$l_visu_red_mask : UNSIGNED;
x$l_visu_green_mask : UNSIGNED;
x$l_visu_blue_mask : UNSIGNED;
x$l_visu_bits_per_rgb : INTEGER;
x$l_visu_map_entries : INTEGER;
END;
CONST x$c_visl_size = 40;
TYPE x$visual_info = RECORD
x$a_visl_visual : ^x$visual ;
x$l_visl_visual_id : UNSIGNED; (* visual id *)
x$l_visl_screen : INTEGER; (* screen number *)
x$l_visl_depth : UNSIGNED;
x$l_visl_class : INTEGER;
x$l_visl_red_mask : UNSIGNED;
x$l_visl_green_mask : UNSIGNED;
x$l_visl_blue_mask : UNSIGNED;
x$l_visl_colormap_size : UNSIGNED;
x$l_visl_bits_per_rgb : UNSIGNED;
END;
CONST x$c_depth_size = 12;
TYPE x$depth = RECORD
x$l_depth_depth : INTEGER;
x$l_depth_nvisuals : INTEGER;
x$a_depth_visuals : ^x$visual ;
END;
CONST x$c_gcvl_size = 89;
TYPE x$gc_values = RECORD
x$l_gcvl_function : INTEGER;
x$l_gcvl_plane_mask : UNSIGNED;
x$l_gcvl_foreground : UNSIGNED;
x$l_gcvl_background : UNSIGNED;
x$l_gcvl_line_width : INTEGER;
x$l_gcvl_line_style : INTEGER;
x$l_gcvl_cap_style : INTEGER;
x$l_gcvl_join_style : INTEGER;
x$l_gcvl_fill_style : INTEGER;
x$l_gcvl_fill_rule : INTEGER;
x$l_gcvl_arc_mode : INTEGER;
x$l_gcvl_tile : UNSIGNED; (* pixmap *)
x$l_gcvl_stipple : UNSIGNED; (* pixmap *)
x$l_gcvl_ts_x_origin : INTEGER;
x$l_gcvl_ts_y_origin : INTEGER;
x$l_gcvl_font : UNSIGNED; (* font *)
x$l_gcvl_subwindow_mode : INTEGER;
x$l_gcvl_graphics_exposures : INTEGER;
x$l_gcvl_clip_x_origin : INTEGER;
x$l_gcvl_clip_y_origin : INTEGER;
x$l_gcvl_clip_mask : UNSIGNED; (* pixmap *)
x$l_gcvl_dash_offset : INTEGER;
x$b_gcvl_dashes : $BYTE;
x$b_fill_0 : ARRAY [0..2] OF $BYTE;
END;
CONST x$c_gc_size = 112;
TYPE x$gc_struct = RECORD
x$a_gc_ext_data : ^x$ext_data ;
x$l_gc_gid : UNSIGNED; (* GContext *)
x$l_gc_rects : INTEGER; (* Bool *)
x$l_gc_dashes : INTEGER; (* Bool *)
x$l_gc_dirty : UNSIGNED;
x$r_gc_values : x$gc_values;
END;
CONST x$c_scrn_size = 80;
TYPE x$screen = RECORD
x$a_scrn_ext_data : ^x$ext_data ;
x$a_scrn_display : $DEFPTR; (* display, but can't have circular
reference. -jmg *)
x$l_scrn_root : UNSIGNED; (* window *)
x$l_scrn_width : INTEGER;
x$l_scrn_height : INTEGER;
x$l_scrn_mwidth : INTEGER;
x$l_scrn_mheight : INTEGER;
x$l_scrn_ndepths : INTEGER;
x$a_scrn_depths : ^x$depth ;
x$l_scrn_root_depth : INTEGER;
x$a_scrn_root_visual : ^x$visual ;
x$a_scrn_default_gc : ^x$gc_struct ;
x$l_scrn_cmap : UNSIGNED; (* colormap *)
x$l_scrn_white_pixel : UNSIGNED; (* pixmap *)
x$l_scrn_black_pixel : UNSIGNED; (* pixmap *)
x$l_scrn_max_maps : INTEGER;
x$l_scrn_min_maps : INTEGER;
x$l_scrn_backing_store : INTEGER;
x$l_scrn_save_unders : INTEGER; (* Bool *)
x$l_scrn_root_input_mask : UNSIGNED;
END;
CONST x$c_sfmt_size = 16;
TYPE x$screen_format = RECORD
x$a_sfmt_ext_data : ^x$ext_data ;
x$l_sfmt_depth : INTEGER;
x$l_sfmt_bits_per_pixel : INTEGER;
x$l_sfmt_scanline_pad : INTEGER;
END;
CONST x$c_pfv_size = 12;
TYPE x$pixmap_format_vals = RECORD
x$l_pfv_depth : INTEGER;
x$l_pfv_bits_per_pixel : INTEGER;
x$l_pfv_scanline_pad : INTEGER;
END;
CONST x$c_kbdc_size = 32;
TYPE x$keyboard_control = RECORD
x$l_kbdc_key_click_percent : INTEGER;
x$l_kbdc_bell_percent : INTEGER;
x$l_kbdc_bell_pitch : INTEGER;
x$l_kbdc_bell_duration : INTEGER;
x$l_kbdc_led : INTEGER;
x$l_kbdc_led_mode : INTEGER;
x$l_kbdc_key : INTEGER;
x$l_kbdc_auto_repeat_mode : INTEGER;
END;
CONST x$c_kbds_size = 56;
TYPE x$keyboard_state = RECORD
x$l_kbds_key_click_percent : INTEGER;
x$l_kbds_bell_percent : INTEGER;
x$l_kbds_bell_pitch : UNSIGNED;
x$l_kbds_bell_duration : UNSIGNED;
x$l_kbds_led_mask : UNSIGNED;
x$l_kbds_global_auto_repeat : INTEGER;
x$b_kbds_auto_repeats : ARRAY [1..32] OF $BYTE;
END;
CONST x$c_mdky_size = 8;
TYPE x$modifier_keymap = RECORD
x$l_mdky_max_keypermod : INTEGER;
x$a_mdky_modifiermap : ^$WORD;
END;
CONST x$c_disp_size = 4;
TYPE x$display = RECORD
x$l_disp_context : UNSIGNED;
END;
x$host_address = RECORD
x$l_host_family : INTEGER;
x$l_host_length : UNSIGNED;
x$a_host_address : ^CHAR;
END;
CONST x$c_wdat_size = 92;
TYPE x$window_attributes = RECORD
x$l_wdat_x : INTEGER;
x$l_wdat_y : INTEGER;
x$l_wdat_width : UNSIGNED;
x$l_wdat_height : UNSIGNED;
x$l_wdat_border_width : UNSIGNED;
x$l_wdat_depth : INTEGER;
x$a_wdat_visual : ^x$visual ;
x$l_wdat_root : INTEGER; (* window *)
x$l_wdat_class : INTEGER;
x$l_wdat_bit_gravity : INTEGER;
x$l_wdat_win_gravity : INTEGER;
x$l_wdat_backing_store : INTEGER;
x$l_wdat_backing_planes : UNSIGNED;
x$l_wdat_backing_pixel : UNSIGNED;
x$l_wdat_save_under : INTEGER;
x$l_wdat_colormap : UNSIGNED; (* colormap *)
x$l_wdat_map_installed : INTEGER;
x$l_wdat_map_state : INTEGER;
x$l_wdat_all_event_masks : INTEGER;
x$l_wdat_your_event_mask : INTEGER;
x$l_wdat_not_propagate_mask : INTEGER;
x$l_wdat_override_redirect : INTEGER;
x$a_wdat_screen : ^x$screen ;
END;
CONST x$c_swda_size = 60;
TYPE x$set_win_attributes = RECORD
x$l_swda_background_pixmap : UNSIGNED; (* pixmap *)
x$l_swda_background_pixel : UNSIGNED;
x$l_swda_border_pixmap : UNSIGNED; (* pixmap *)
x$l_swda_border_pixel : UNSIGNED;
x$l_swda_bit_gravity : INTEGER;
x$l_swda_win_gravity : INTEGER;
x$l_swda_backing_store : INTEGER;
x$l_swda_backing_planes : UNSIGNED;
x$l_swda_backing_pixel : UNSIGNED;
x$l_swda_save_under : INTEGER;
x$l_swda_event_mask : INTEGER;
x$l_swda_do_not_propagate_mask : INTEGER;
x$l_swda_override_redirect : INTEGER;
x$l_swda_colormap : UNSIGNED; (* colormap *)
x$l_swda_cursor : UNSIGNED; (* cursor *)
END;
CONST x$c_wchg_size = 28;
TYPE x$window_changes = RECORD
x$l_wchg_x : INTEGER;
x$l_wchg_y : INTEGER;
x$l_wchg_width : UNSIGNED;
x$l_wchg_height : UNSIGNED;
x$l_wchg_border_width : UNSIGNED;
x$l_wchg_sibling : UNSIGNED; (* window *)
x$l_wchg_stack_mode : INTEGER;
END;
CONST x$c_gpnt_size = 4;
TYPE x$point = RECORD
x$w_gpnt_x : $WORD;
x$w_gpnt_y : $WORD;
END;
CONST x$c_gseg_size = 8;
TYPE x$segment = RECORD
x$w_gseg_x1 : $WORD;
x$w_gseg_y1 : $WORD;
x$w_gseg_x2 : $WORD;
x$w_gseg_y2 : $WORD;
END;
CONST x$c_grec_size = 8;
TYPE x$rectangle = RECORD
x$w_grec_x : $WORD;
x$w_grec_y : $WORD;
x$w_grec_width : $UWORD;
x$w_grec_height : $UWORD;
END;
CONST x$c_garc_size = 12;
TYPE x$arc = RECORD
x$w_garc_x : $WORD;
x$w_garc_y : $WORD;
x$w_garc_width : $UWORD;
x$w_garc_height : $UWORD;
x$w_garc_angle1 : $WORD;
x$w_garc_angle2 : $WORD;
END;
CONST x$c_colr_size = 12;
TYPE x$color = RECORD
x$l_colr_pixel : UNSIGNED;
x$w_colr_red : $UWORD;
x$w_colr_green : $UWORD;
x$w_colr_blue : $UWORD;
x$b_colr_flags : $UBYTE;
x$b_colr_pad : $BYTE;
END;
CONST x$c_text_size = 16;
TYPE x$text_item = RECORD
x$a_text_chars : ^CHAR;
x$l_text_n_chars : UNSIGNED;
x$l_text_delta : INTEGER;
x$l_text_font : UNSIGNED; (* font *)
END;
CONST x$c_ch2b_size = 2;
TYPE x$char_2b = RECORD
x$t_ch2b_byte1 : CHAR;
x$t_ch2b_byte2 : CHAR;
END;
CONST x$c_tx16_size = 16;
TYPE x$text_item_16 = RECORD
x$a_tx16_chars : ^$WORD;
x$l_tx16_n_chars : UNSIGNED;
x$l_tx16_delta : INTEGER;
x$l_tx16_font : UNSIGNED; (* font *)
END;
CONST x$c_char_size = 12;
TYPE x$char_struct = RECORD
x$w_char_lbearing : $WORD;
x$w_char_rbearing : $WORD;
x$w_char_width : $WORD;
x$w_char_ascent : $WORD;
x$w_char_descent : $WORD;
x$w_char_attributes : $UWORD;
END;
CONST x$c_fntp_size = 8;
TYPE x$font_prop = RECORD
x$l_fntp_name : UNSIGNED; (* atom *)
x$l_fntp_card32 : UNSIGNED;
END;
CONST x$c_fstr_size = 80;
TYPE x$font_struct = RECORD
x$a_fstr_ext_data : ^x$ext_data ; (* hook for extensions *)
x$l_fstr_fid : UNSIGNED; (* font *)
x$l_fstr_direction : UNSIGNED;
x$l_fstr_min_char_or_byte2 : UNSIGNED;
x$l_fstr_max_char_or_byte2 : UNSIGNED;
x$l_fstr_min_byte1 : UNSIGNED;
x$l_fstr_max_byte1 : UNSIGNED;
x$l_fstr_all_chars_exist : INTEGER;
x$l_fstr_default_char : UNSIGNED;
x$l_fstr_n_properties : INTEGER;
x$a_fstr_properties : ^x$font_prop ;
x$r_fstr_min_bounds : x$char_struct;
x$r_fstr_max_bounds : x$char_struct;
x$a_fstr_per_char : ^x$char_struct ;
x$l_fstr_ascent : INTEGER;
x$l_fstr_descent : INTEGER;
END;
CONST x$c_imag_size = 88;
TYPE x$image = RECORD CASE INTEGER OF
1: (x$l_imag_width : UNSIGNED;
x$l_imag_height : UNSIGNED;
x$l_imag_xoffset : INTEGER;
x$l_imag_format : INTEGER;
x$a_imag_data : ^CHAR;
x$l_imag_byte_order : UNSIGNED;
x$l_imag_bitmap_unit : UNSIGNED;
x$l_imag_bitmap_bit_order : UNSIGNED;
x$l_imag_bitmap_pad : UNSIGNED;
x$l_imag_depth : INTEGER;
x$l_imag_bytes_per_line : UNSIGNED;
x$l_imag_bits_per_pixel : UNSIGNED;
x$l_imag_red_mask : UNSIGNED;
x$l_imag_green_mask : UNSIGNED;
x$l_imag_blue_mask : UNSIGNED;
x$a_imag_obdata : ^CHAR; (* hook for obj routines *)
x$r_imag_functs : [BYTE(24)] RECORD END;
);
2: (x$a_imag_create_image : [POS(512)] ^$DEFTYP (* entry *);
x$a_imag_destroy_image : [POS(544)] ^$DEFTYP (* entry *);
x$a_imag_get_pixel : [POS(576)] ^$DEFTYP (* entry *);
x$a_imag_put_pixel : [POS(608)] ^$DEFTYP (* entry *);
x$a_imag_sub_image : [POS(640)] ^$DEFTYP (* entry *);
x$a_imag_add_pixel : [POS(672)] ^$DEFTYP (* entry *);
)
END;
CONST x$c_kyev_size = 60;
TYPE x$key_event = RECORD
x$l_kyev_type : INTEGER;
x$l_kyev_serial : UNSIGNED;
x$l_kyev_send_event : INTEGER; (* bool *)
x$a_kyev_display : ^x$display ;
x$l_kyev_window : UNSIGNED; (* window *)
x$l_kyev_root : UNSIGNED; (* window *)
x$l_kyev_subwindow : UNSIGNED; (* window *)
x$l_kyev_time : UNSIGNED; (* time *)
x$l_kyev_x : INTEGER;
x$l_kyev_y : INTEGER;
x$l_kyev_x_root : INTEGER;
x$l_kyev_y_root : INTEGER;
x$l_kyev_state : UNSIGNED;
x$l_kyev_keycode : UNSIGNED;
x$l_kyev_same_screen : INTEGER; (* bool *)
END;
CONST x$c_btev_size = 60;
TYPE x$button_event = RECORD
x$l_btev_type : INTEGER;
x$l_btev_serial : UNSIGNED;
x$l_btev_send_event : INTEGER; (* bool *)
x$a_btev_display : ^x$display ;
x$l_btev_window : UNSIGNED; (* window *)
x$l_btev_root : UNSIGNED; (* window *)
x$l_btev_subwindow : UNSIGNED; (* window *)
x$l_btev_time : UNSIGNED; (* time *)
x$l_btev_x : INTEGER;
x$l_btev_y : INTEGER;
x$l_btev_x_root : INTEGER;
x$l_btev_y_root : INTEGER;
x$l_btev_state : UNSIGNED;
x$l_btev_button : UNSIGNED;
x$l_btev_same_screen : INTEGER; (* bool *)
END;
CONST x$c_mtev_size = 57;
TYPE x$motion_event = RECORD
x$l_mtev_type : INTEGER;
x$l_mtev_serial : UNSIGNED;
x$l_mtev_send_event : INTEGER; (* bool *)
x$a_mtev_display : ^x$display ;
x$l_mtev_window : UNSIGNED; (* window *)
x$l_mtev_root : UNSIGNED; (* window *)
x$l_mtev_subwindow : UNSIGNED; (* window *)
x$l_mtev_time : UNSIGNED; (* time *)
x$l_mtev_x : INTEGER;
x$l_mtev_y : INTEGER;
x$l_mtev_x_root : INTEGER;
x$l_mtev_y_root : INTEGER;
x$l_mtev_state : UNSIGNED;
x$b_mtev_is_hint : $BYTE;
x$b_fill_1 : ARRAY [0..2] OF $BYTE;
x$l_mtev_same_screen : INTEGER; (* Bool *)
END;
CONST x$c_crev_size = 68;
TYPE x$crossing_event = RECORD
x$l_crev_type : INTEGER;
x$l_crev_serial : UNSIGNED;
x$l_crev_send_event : INTEGER; (* bool *)
x$a_crev_display : ^x$display ;
x$l_crev_window : UNSIGNED; (* window *)
x$l_crev_root : UNSIGNED; (* window *)
x$l_crev_subwindow : UNSIGNED; (* window *)
x$l_crev_time : UNSIGNED; (* time *)
x$l_crev_x : INTEGER;
x$l_crev_y : INTEGER;
x$l_crev_x_root : INTEGER;
x$l_crev_y_root : INTEGER;
x$l_crev_mode : INTEGER;
x$l_crev_detail : INTEGER;
x$l_crev_same_screen : INTEGER; (* bool *)
x$l_crev_focus : INTEGER; (* bool *)
x$l_crev_state : UNSIGNED;
END;
CONST x$c_fcev_size = 28;
TYPE x$focus_change_event = RECORD
x$l_fcev_type : INTEGER;
x$l_fcev_serial : UNSIGNED;
x$l_fcev_send_event : INTEGER; (* bool *)
x$a_fcev_display : ^x$display ;
x$l_fcev_window : UNSIGNED; (* window *)
x$l_fcev_mode : INTEGER;
x$l_fcev_detail : INTEGER;
END;
CONST x$c_kmev_size = 52;
TYPE x$keymap_event = RECORD
x$l_kmev_type : INTEGER;
x$l_kmev_serial : UNSIGNED;
x$l_kmev_send_event : INTEGER; (* bool *)
x$a_kmev_display : ^x$display ;
x$l_kmev_window : UNSIGNED; (* window *)
x$b_kmev_key_vector : ARRAY [1..32] OF $BYTE;
END;
CONST x$c_exev_size = 40;
TYPE x$expose_event = RECORD
x$l_exev_type : INTEGER;
x$l_exev_serial : UNSIGNED;
x$l_exev_send_event : INTEGER; (* bool *)
x$a_exev_display : ^x$display ;
x$l_exev_window : UNSIGNED; (* window *)
x$l_exev_x : INTEGER;
x$l_exev_y : INTEGER;
x$l_exev_width : INTEGER;
x$l_exev_height : INTEGER;
x$l_exev_count : INTEGER; (* bool *)
END;
CONST x$c_geev_size = 48;
TYPE x$graph_expose_event = RECORD
x$l_geev_type : INTEGER;
x$l_geev_serial : UNSIGNED;
x$l_geev_send_event : INTEGER; (* bool *)
x$a_geev_display : ^x$display ;
x$l_geev_drawable : UNSIGNED; (* drawable *)
x$l_geev_x : INTEGER;
x$l_geev_y : INTEGER;
x$l_geev_width : INTEGER;
x$l_geev_height : INTEGER;
x$l_geev_count : INTEGER; (* bool *)
x$l_geev_major_code : INTEGER;
x$l_geev_minor_code : INTEGER;
END;
CONST x$c_neev_size = 28;
TYPE x$no_expose_event = RECORD
x$l_neev_type : INTEGER;
x$l_neev_serial : UNSIGNED;
x$l_neev_send_event : INTEGER; (* bool *)
x$a_neev_display : ^x$display ;
x$l_neev_drawable : UNSIGNED; (* drawable *)
x$l_neev_major_code : INTEGER;
x$l_neev_minor_code : INTEGER;
END;
CONST x$c_vsev_size = 24;
TYPE x$visibility_event = RECORD
x$l_vsev_type : INTEGER;
x$l_vsev_serial : UNSIGNED;
x$l_vsev_send_event : INTEGER; (* bool *)
x$a_vsev_display : ^x$display ;
x$l_vsev_window : UNSIGNED; (* window *)
x$l_vsev_state : INTEGER;
END;
CONST x$c_cwev_size = 48;
TYPE x$creat_window_event = RECORD
x$l_cwev_type : INTEGER;
x$l_cwev_serial : UNSIGNED;
x$l_cwev_send_event : INTEGER; (* bool *)
x$a_cwev_display : ^x$display ;
x$l_cwev_parent : UNSIGNED; (* window *)
x$l_cwev_window : UNSIGNED; (* window *)
x$l_cwev_x : INTEGER;
x$l_cwev_y : INTEGER;
x$l_cwev_width : INTEGER;
x$l_cwev_height : INTEGER;
x$l_cwev_border_width : INTEGER;
x$l_cwev_override_redirect : INTEGER; (* bool *)
END;
CONST x$c_dwev_size = 24;
TYPE x$destr_window_event = RECORD
x$l_dwev_type : INTEGER;
x$l_dwev_serial : UNSIGNED;
x$l_dwev_send_event : INTEGER; (* bool *)
x$a_dwev_display : ^x$display ;
x$l_dwev_event : UNSIGNED; (* window *)
x$l_dwev_window : UNSIGNED; (* window *)
END;
CONST x$c_umev_size = 28;
TYPE x$unmap_event = RECORD
x$l_umev_type : INTEGER;
x$l_umev_serial : UNSIGNED;
x$l_umev_send_event : INTEGER; (* bool *)
x$a_umev_display : ^x$display ;
x$l_umev_event : UNSIGNED; (* window *)
x$l_umev_window : UNSIGNED; (* window *)
x$l_umev_from_configure : INTEGER; (* bool *)
END;
CONST x$c_mpev_size = 28;
TYPE x$map_event = RECORD
x$l_mpev_type : INTEGER;
x$l_mpev_serial : UNSIGNED;
x$l_mpev_send_event : INTEGER; (* bool *)
x$a_mpev_display : ^x$display ;
x$l_mpev_event : UNSIGNED; (* window *)
x$l_mpev_window : UNSIGNED; (* window *)
x$l_mpev_override_redirect : INTEGER; (* bool *)
END;
CONST x$c_mrev_size = 24;
TYPE x$map_request_event = RECORD
x$l_mrev_type : INTEGER;
x$l_mrev_serial : UNSIGNED;
x$l_mrev_send_event : INTEGER; (* bool *)
x$a_mrev_display : ^x$display ;
x$l_mrev_parent : UNSIGNED; (* window *)
x$l_mrev_window : UNSIGNED; (* window *)
END;
CONST x$c_rpev_size = 40;
TYPE x$reparent_event = RECORD
x$l_rpev_type : INTEGER;
x$l_rpev_serial : UNSIGNED;
x$l_rpev_send_event : INTEGER; (* bool *)
x$a_rpev_display : ^x$display ;
x$l_rpev_event : UNSIGNED; (* window *)
x$l_rpev_window : UNSIGNED; (* window *)
x$l_rpev_parent : UNSIGNED; (* window *)
x$l_rpev_x : INTEGER;
x$l_rpev_y : INTEGER;
x$l_rpev_override_redirect : INTEGER; (* bool *)
END;
CONST x$c_cfev_size = 52;
TYPE x$configure_event = RECORD
x$l_cfev_type : INTEGER;
x$l_cfev_serial : UNSIGNED;
x$l_cfev_send_event : INTEGER; (* bool *)
x$a_cfev_display : ^x$display ;
x$l_cfev_event : UNSIGNED; (* window *)
x$l_cfev_window : UNSIGNED; (* window *)
x$l_cfev_x : INTEGER;
x$l_cfev_y : INTEGER;
x$l_cfev_width : INTEGER;
x$l_cfev_height : INTEGER;
x$l_cfev_border_width : INTEGER;
x$l_cfev_above : UNSIGNED; (* window *)
x$l_cfev_override_redirect : UNSIGNED; (* bool *)
END;
CONST x$c_gvev_size = 32;
TYPE x$gravity_event = RECORD
x$l_gvev_type : INTEGER;
x$l_gvev_serial : UNSIGNED;
x$l_gvev_send_event : INTEGER; (* bool *)
x$a_gvev_display : ^x$display ;
x$l_gvev_event : UNSIGNED; (* window *)
x$l_gvev_window : UNSIGNED; (* window *)
x$l_gvev_x : INTEGER;
x$l_gvev_y : INTEGER;
END;
CONST x$c_rrev_size = 28;
TYPE x$resz_request_event = RECORD
x$l_rrev_type : INTEGER;
x$l_rrev_serial : UNSIGNED;
x$l_rrev_send_event : INTEGER; (* bool *)
x$a_rrev_display : ^x$display ;
x$l_rrev_window : UNSIGNED; (* window *)
x$l_rrev_width : INTEGER;
x$l_rrev_height : INTEGER;
END;
CONST x$c_cfre_size = 56;
TYPE x$conf_request_event = RECORD
x$l_cfre_type : INTEGER;
x$l_cfre_serial : UNSIGNED;
x$l_cfre_send_event : INTEGER; (* bool *)
x$a_cfre_display : ^x$display ;
x$l_cfre_parent : UNSIGNED; (* window *)
x$l_cfre_window : UNSIGNED; (* window *)
x$l_cfre_x : INTEGER;
x$l_cfre_y : INTEGER;
x$l_cfre_width : INTEGER;
x$l_cfre_height : INTEGER;
x$l_cfre_border_width : INTEGER;
x$l_cfre_above : UNSIGNED; (* window *)
x$l_cfre_detail : INTEGER;
x$l_cfre_value_mask : UNSIGNED;
END;
CONST x$c_ciev_size = 28;
TYPE x$circulate_event = RECORD
x$l_ciev_type : INTEGER;
x$l_ciev_serial : UNSIGNED;
x$l_ciev_send_event : INTEGER; (* bool *)
x$a_ciev_display : ^x$display ;
x$l_ciev_event : UNSIGNED; (* window *)
x$l_ciev_window : UNSIGNED; (* window *)
x$l_ciev_place : INTEGER;
END;
CONST x$c_cire_size = 28;
TYPE x$circ_request_event = RECORD
x$l_cire_type : INTEGER;
x$l_cire_serial : UNSIGNED;
x$l_cire_send_event : INTEGER; (* bool *)
x$a_cire_display : ^x$display ;
x$l_cire_parent : UNSIGNED; (* window *)
x$l_cire_window : UNSIGNED; (* window *)
x$l_cire_place : INTEGER;
END;
CONST x$c_ppev_size = 32;
TYPE x$property_event = RECORD
x$l_ppev_type : INTEGER;
x$l_ppev_serial : UNSIGNED;
x$l_ppev_send_event : INTEGER; (* bool *)
x$a_ppev_display : ^x$display ;
x$l_ppev_window : UNSIGNED; (* window *)
x$l_ppev_atom : UNSIGNED; (* atom *)
x$l_ppev_time : UNSIGNED; (* time *)
x$l_ppev_state : INTEGER;
END;
CONST x$c_scev_size = 28;
TYPE x$select_clear_event = RECORD
x$l_scev_type : INTEGER;
x$l_scev_serial : UNSIGNED;
x$l_scev_send_event : INTEGER; (* bool *)
x$a_scev_display : ^x$display ;
x$l_scev_window : UNSIGNED; (* window *)
x$l_scev_selection : UNSIGNED; (* atom *)
x$l_scev_time : UNSIGNED; (* time *)
END;
CONST x$c_srev_size = 40;
TYPE x$sel_request_event = RECORD
x$l_srev_type : INTEGER;
x$l_srev_serial : UNSIGNED;
x$l_srev_send_event : INTEGER; (* bool *)
x$a_srev_display : ^x$display ;
x$l_srev_owner : UNSIGNED; (* window *)
x$l_srev_requestor : UNSIGNED; (* window *)
x$l_srev_selection : UNSIGNED; (* atom *)
x$l_srev_target : UNSIGNED; (* atom *)
x$l_srev_property : UNSIGNED; (* atom *)
x$l_srev_time : UNSIGNED; (* time *)
END;
CONST x$c_slev_size = 36;
TYPE x$selection_event = RECORD
x$l_slev_type : INTEGER;
x$l_slev_serial : UNSIGNED;
x$l_slev_send_event : INTEGER; (* bool *)
x$a_slev_display : ^x$display ;
x$l_slev_requestor : UNSIGNED; (* window *)
x$l_slev_selection : UNSIGNED; (* atom *)
x$l_slev_target : UNSIGNED; (* atom *)
x$l_slev_property : UNSIGNED; (* atom *)
x$l_slev_time : UNSIGNED; (* time *)
END;
CONST x$c_cmev_size = 32;
TYPE x$colormap_event = RECORD
x$l_cmev_type : INTEGER;
x$l_cmev_serial : UNSIGNED;
x$l_cmev_send_event : INTEGER; (* bool *)
x$a_cmev_display : ^x$display ;
x$l_cmev_window : UNSIGNED; (* window *)
x$l_cmev_colormap : UNSIGNED; (* colormap *)
x$l_cmev_new : INTEGER; (* bool *)
x$l_cmev_state : INTEGER;
END;
CONST x$c_client_size = 48;
TYPE x$clie_message_event = RECORD CASE INTEGER OF
1: (x$l_clnt_type : INTEGER;
x$l_clnt_serial : UNSIGNED;
x$l_clnt_send_event : INTEGER; (* bool *)
x$a_clnt_display : ^x$display ;
x$l_clnt_window : UNSIGNED; (* window *)
x$l_clnt_message_type : UNSIGNED; (* atom *)
x$l_clnt_format : INTEGER;
x$r_clnt_data : [BYTE(20)] RECORD END;
);
2: (x$b_clnt_b : [POS(224)] ARRAY [1..20] OF $BYTE;
);
3: (x$w_clnt_s : [POS(224)] ARRAY [1..10] OF $WORD;
);
4: (x$l_clnt_l : [POS(224)] ARRAY [1..5] OF INTEGER;
)
END;
CONST x$c_mppg_size = 32;
TYPE x$mapping_event = RECORD
x$l_mppg_type : INTEGER;
x$l_mppg_serial : UNSIGNED;
x$l_mppg_send_event : INTEGER; (* bool *)
x$a_mppg_display : ^x$display ;
x$l_mppg_window : UNSIGNED; (* window *)
x$l_mppg_request : INTEGER;
x$l_mppg_first_keycode : INTEGER;
x$l_mppg_count : INTEGER;
END;
CONST x$c_erev_size = 19;
TYPE x$error_event = RECORD
x$l_erev_type : INTEGER;
x$a_erev_display : ^x$display ;
x$l_erev_resource_id : UNSIGNED; (* xid *)
x$l_erev_serial : INTEGER;
x$b_erev_error_code : $UBYTE;
x$b_erev_request_code : $UBYTE;
x$b_erev_minor_code : $UBYTE;
x$b_fill_2 : $BYTE;
END;
CONST x$c_anyv_size = 20;
TYPE x$any_event = RECORD
x$l_anyv_type : INTEGER;
x$l_anyv_serial : UNSIGNED;
x$l_anyv_send_event : INTEGER; (* bool *)
x$a_anyv_display : ^x$display ;
x$l_anyv_window : UNSIGNED; (* window *)
END;
CONST c_evnt_size = 96;
TYPE x$event = RECORD CASE INTEGER OF
1: (evnt_type : UNSIGNED;
);
2: (evnt_any : x$any_event;
);
3: (evnt_key : x$key_event;
);
4: (evnt_button : x$button_event;
);
5: (evnt_motion : x$motion_event;
);
6: (evnt_crossing : x$crossing_event;
);
7: (evnt_focus : x$focus_change_event;
);
8: (evnt_expose : x$expose_event;
);
9: (evnt_graphics_expose : x$graph_expose_event;
);
10: (evnt_noexpose : x$no_expose_event;
);
11: (evnt_visibility : x$visibility_event;
);
12: (evnt_create_window : x$creat_window_event;
);
13: (evnt_destroy_window : x$destr_window_event;
);
14: (evnt_unmap : x$unmap_event;
);
15: (evnt_map : x$map_event;
);
16: (evnt_map_request : x$map_request_event;
);
17: (evnt_reparent : x$reparent_event;
);
18: (evnt_configure : x$configure_event;
);
19: (evnt_gravity : x$gravity_event;
);
20: (evnt_resizerequest : x$resz_request_event;
);
21: (evnt_configurerequest : x$conf_request_event;
);
22: (evnt_circulate : x$circulate_event;
);
23: (evnt_circulaterequest : x$circ_request_event;
);
24: (evnt_property : x$property_event;
);
25: (evnt_selectionclear : x$select_clear_event;
);
26: (evnt_selectionrequest : x$sel_request_event;
);
27: (evnt_selection : x$selection_event;
);
28: (evnt_colormap : x$colormap_event;
);
29: (evnt_client : x$clie_message_event;
);
30: (evnt_mapping : x$mapping_event;
);
31: (evnt_error : x$error_event;
);
32: (evnt_keymap : x$keymap_event;
);
33: (evnt_pad : ARRAY [1..24] OF INTEGER;
)
END;
CONST x$c_timc_size = 8;
TYPE x$time_coord = RECORD
x$l_timc_time : UNSIGNED;
x$w_timc_x : $WORD;
x$w_timc_y : $WORD;
END;
CONST x$c_hint_size = 36;
TYPE x$wm_hints = RECORD
x$l_hint_flags : UNSIGNED;
x$l_hint_input : INTEGER; (* bool *)
x$l_hint_initial_state : INTEGER;
x$l_hint_icon_pixmap : UNSIGNED; (* pixmap *)
x$l_hint_icon_window : UNSIGNED; (* window id *)
x$l_hint_icon_x : INTEGER;
x$l_hint_icon_y : INTEGER;
x$l_hint_icon_mask : UNSIGNED; (* pixmap *)
x$l_hint_window_group : UNSIGNED; (* XID *)
END;
CONST x$c_wmst_size = 12;
TYPE x$wm_state = RECORD
x$l_wmst_flags : UNSIGNED;
x$l_wmst_state : INTEGER;
x$l_wmst_window : UNSIGNED;
END;
CONST x$c_icsz_size = 24;
TYPE x$icon_size = RECORD
x$l_icsz_min_width : UNSIGNED;
x$l_icsz_min_height : UNSIGNED;
x$l_icsz_max_width : UNSIGNED;
x$l_icsz_max_height : UNSIGNED;
x$l_icsz_width_inc : INTEGER;
x$l_icsz_height_inc : INTEGER;
END;
CONST x$c_chnt_size = 8;
TYPE x$class_hint = RECORD
x$a_chnt_res_name : ^CHAR;
x$a_chnt_res_class : ^CHAR;
END;
CONST x$c_szhn_size = 72;
TYPE x$size_hints = RECORD CASE INTEGER OF
1: (x$l_szhn_flags : UNSIGNED;
x$l_szhn_x : INTEGER;
x$l_szhn_y : INTEGER;
x$l_szhn_width : UNSIGNED;
x$l_szhn_height : UNSIGNED;
x$l_szhn_min_width : UNSIGNED;
x$l_szhn_min_height : UNSIGNED;
x$l_szhn_max_width : UNSIGNED;
x$l_szhn_max_height : UNSIGNED;
x$l_szhn_width_inc : INTEGER;
x$l_szhn_height_inc : INTEGER;
x$r_szhn_min_aspect : [BYTE(8)] RECORD END;
x$r_szhn_max_aspect : [BYTE(8)] RECORD END;
x$l_szhn_base_width : INTEGER;
x$l_szhn_base_height : INTEGER;
x$l_szhn_win_gravity : INTEGER;
);
2: (x$l_szhn_mnas_x : [POS(352)] INTEGER;
x$l_szhn_mnas_y : [POS(384)] INTEGER;
x$l_szhn_mxas_x : [POS(416)] INTEGER;
x$l_szhn_mxas_y : [POS(448)] INTEGER;
)
END;
CONST x$c_txtp_size = 13;
TYPE x$text_property = RECORD
x$b_txtp_value : $UBYTE; (* same as Property routine *)
x$b_fill_3 : ARRAY [0..2] OF $BYTE;
x$l_txtp_encoding : UNSIGNED; (* prop type (Atom) *)
x$l_txtp_format : INTEGER; (* prop data format: 8,16,32 *)
x$l_txtp_nitems : UNSIGNED; (* number of data items in value *)
END;
CONST x$c_scmp_size = 36;
TYPE x$standard_colormap = RECORD
x$l_scmp_colormap : UNSIGNED; (* colormap *)
x$l_scmp_red_max : UNSIGNED;
x$l_scmp_red_mult : UNSIGNED;
x$l_scmp_green_max : UNSIGNED;
x$l_scmp_green_mult : UNSIGNED;
x$l_scmp_blue_max : UNSIGNED;
x$l_scmp_blue_mult : UNSIGNED;
x$l_scmp_base_pixel : UNSIGNED;
x$l_scmp_visual_id : UNSIGNED;
END;
CONST x$c_rreq_size = 8;
TYPE x$resource_req = RECORD
x$b_rreq_req_type : $UBYTE;
x$b_rreq_pad : $BYTE;
x$w_rreq_length : $UWORD;
x$l_rreq_id : UNSIGNED;
END;
CONST x$c_cmps_size = 8;
TYPE x$compose_status = RECORD
x$a_cmps_compose_ptr : ^$BYTE;
x$l_cmps_chars_matched : INTEGER;
END;
CONST x$c_rval_size = 8;
TYPE x$rm_value = RECORD
x$l_rval_size : UNSIGNED;
x$a_rval_addr : ^$BYTE;
END;
CONST x$c_optd_size = 16;
TYPE x$options_desc_rec = RECORD
x$a_optd_option : ^CHAR;
x$a_optd_resource_name : ^CHAR;
x$l_optd_arg_kind : UNSIGNED;
x$a_optd_value : ^$BYTE;
END;
(***************************************
*************************************
*)
(*
* *)
(* COPYRIGHT (c) 1988 BY
* *)
(* DIGITAL EQUIPMENT CORPORATION, MAYNARD, MASS.
* *)
(* ALL RIGHTS RESERVED
* *)
(*
* *)
(* THIS SOFTWARE IS FURNISHED UNDER A LICENSE AND MAY BE USED AND COPIED
* *)
(* ONLY IN ACCORDANCE WITH THE TERMS OF SUCH LICENSE AND WITH THE
* *)
(* INCLUSION OF THE ABOVE COPYRIGHT NOTICE. THIS SOFTWARE OR ANY OTHER
* *)
(* COPIES THEREOF MAY NOT BE PROVIDED OR OTHERWISE MADE AVAILABLE TO ANY
* *)
(* OTHER PERSON. NO TITLE TO AND OWNERSHIP OF THE SOFTWARE IS HEREBY
* *)
(* TRANSFERRED.
* *)
(*
* *)
(* THE INFORMATION IN THIS SOFTWARE IS SUBJECT TO CHANGE WITHOUT NOTICE
* *)
(* AND SHOULD NOT BE CONSTRUED AS A COMMITMENT BY DIGITAL EQUIPMENT
* *)
(* CORPORATION.
* *)
(*
* *)
(* DIGITAL ASSUMES NO RESPONSIBILITY FOR THE USE OR RELIABILITY OF ITS
* *)
(* SOFTWARE ON EQUIPMENT WHICH IS NOT SUPPLIED BY DIGITAL.
* *)
(*
* *)
(***************************************
*************************************
*)
(*
*)
(* x$activate_screen_saver (display)
*)
(*
*)
(* display.rlu.r = display id *)
(*
*)
[ASYNCHRONOUS] PROCEDURE x$activate_screen_saver (
display : UNSIGNED); EXTERNAL;
(*
*)
(* x$add_host (display,host)
*)
(*
*)
(* display.rlu.r = display id *)
(* host.rr.r = host *)
(*
*)
[ASYNCHRONOUS] PROCEDURE x$add_host (
display : UNSIGNED;
host : x$host_address); EXTERNAL;
(*
*)
(* x$add_hosts (display,hosts,num_hosts)
*)
(*
*)
(* display.rlu.r = display id *)
(* hosts.rr.ra = hosts *)
(* num_hosts.rlu.r = number of hosts *)
(*
*)
[ASYNCHRONOUS] PROCEDURE x$add_hosts (
display : UNSIGNED;
%REF hosts : [UNSAFE] ARRAY [$l2..$u2:INTEGER] OF $UBYTE;
num_hosts : UNSIGNED); EXTERNAL;
(*
*)
(* ret = x$add_pixel (ximage,value)
*)
(*
*)
(* ret.wl.v = returned value *)
(* ximage.rr.r = image *)
(* value.rl.r = value to add to each pixel *)
(*
*)
[ASYNCHRONOUS] FUNCTION x$add_pixel (
ximage : x$image;
VALUE_ : INTEGER) : INTEGER; EXTERNAL;
(*
*)
(* x$add_to_save_set (display,window_id)
*)
(*
*)
(* display.rlu.r = display id *)
(* window_id.rlu.r = window id *)
(*
*)
[ASYNCHRONOUS] PROCEDURE x$add_to_save_set (
display : UNSIGNED;
window_id : UNSIGNED); EXTERNAL;
(*
*)
(* status = x$alloc_class_hint (class_hints_return)
*)
(*
*)
(* status.wlc.v = status *)
(* class_hints_return.mr.r = allocated structure *)
(*
*)
[ASYNCHRONOUS] FUNCTION x$alloc_class_hint (
VAR class_hints_return : [VOLATILE] x$class_hint) : UNSIGNED; EXTERNAL;
(*
*)
(* status = x$alloc_color (display,colormap_id,screen_def_return)
*)
(*
*)
(* status.wlc.v = status *)
(* display.rlu.r = display id *)
(* colormap_id.rlu.r = colormap *)
(* screen_def_return.mr.r = color structure *)
(*
*)
[ASYNCHRONOUS] FUNCTION x$alloc_color (
display : UNSIGNED;
colormap_id : UNSIGNED;
VAR screen_def_return : [VOLATILE] x$color) : UNSIGNED; EXTERNAL;
(*
*)
(* status = x$alloc_color_cells
(display,colormap_id,contig,plane_masks_
return,num_planes,pixels_return, *)
(* num_colors) *)
(*
*)
(* status.wlc.v = return status *)
(* display.rlu.r = display id *)
(* colormap_id.rlu.r = colormap *)
(* contig.rl.r = contiguous flag *)
(* plane_masks_return.wr.ra = array of planes (must be num_planes entries)
*)
(* num_planes.rl.r = number of planes *)
(* pixels_return.wr.ra = array of pixels (must be ncolors entries) *)
(* num_colors.rl.r = number of colors *)
(*
*)
[ASYNCHRONOUS] FUNCTION x$alloc_color_cells (
display : UNSIGNED;
colormap_id : UNSIGNED;
contig : INTEGER;
%REF plane_masks_return : [VOLATILE] ARRAY [$l4..$u4:INTEGER] OF UNSIGNED;
num_planes : INTEGER;
%REF pixels_return : [VOLATILE] ARRAY [$l6..$u6:INTEGER] OF UNSIGNED;
num_colors : INTEGER) : UNSIGNED; EXTERNAL;
(*
*)
(* status = x$alloc_color_planes (display,colormap_id,contig,num_colors,
*)
(* num_reds,num_greens,num_blues, *)
(* pixels_return,rmask_return,gmask_return,
bmask_return) *)
(*
*)
(* status.wlc.v = return status *)
(* display.rlu.r = display id *)
(* colormap_id.rlu.r = colormap *)
(* contig.rlu.r = contiguous flag *)
(* num_colors.rl.r = number of colors *)
(* num_reds.rl.r = number of reds *)
(* num_greens.rl.r = number of greens *)
(* num_blues.rl.r = number of blues *)
(* pixels_return.wr.ra = array of pixels (must be ncolors entries)
(optional) *)
(* rmask_return.wl.r = red mask(optional) *)
(* gmask_return.wl.r = green mask(optional) *)
(* bmask_return.wl.r = blue mask(optional) *)
(*
*)
[ASYNCHRONOUS] FUNCTION x$alloc_color_planes (
display : UNSIGNED;
colormap_id : UNSIGNED;
contig : UNSIGNED;
num_colors : INTEGER;
num_reds : INTEGER;
num_greens : INTEGER;
num_blues : INTEGER;
%REF pixels_return : [VOLATILE] ARRAY [$l8..$u8:INTEGER] OF UNSIGNED :=
%IMMED 0;
VAR rmask_return : [VOLATILE] INTEGER := %IMMED 0;
VAR gmask_return : [VOLATILE] INTEGER := %IMMED 0;
VAR bmask_return : [VOLATILE] INTEGER := %IMMED 0) : UNSIGNED; EXTERNAL;
(*
*)
(* status = x$alloc_icon_size (icon_size_return)
*)
(*
*)
(* status.wlc.v = status *)
(* icon_size_return.mr.r = allocated structure *)
(*
*)
[ASYNCHRONOUS] FUNCTION x$alloc_icon_size (
VAR icon_size_return : [VOLATILE] x$icon_size) : UNSIGNED; EXTERNAL;
(*
*)
(* status = x$alloc_named_color
(display,colormap_id,color_name,[screen_
def_return], *)
(* [exact_def_return]) *)
(*
*)
(* status.wlc.v = return status *)
(* display.rlu.r = display id *)
(* colormap_id.rlu.r = colormap *)
(* color_name.rt.dx = color name string *)
(* screen_def_return.wr.r = values used in the colormap (optional) *)
(* exact_def_return.wr.r = closest colors provided by hardware (optional) *)
(*
*)
[ASYNCHRONOUS] FUNCTION x$alloc_named_color (
display : UNSIGNED;
colormap_id : UNSIGNED;
color_name : [CLASS_S] PACKED ARRAY [$l3..$u3:INTEGER] OF CHAR;
VAR screen_def_return : [VOLATILE] x$color := %IMMED 0;
VAR exact_def_return : [VOLATILE] x$color := %IMMED 0) : UNSIGNED;
EXTERNAL;
(*
*)
(* status = x$alloc_size_hints (size_hints_return)
*)
(*
*)
(* status.wlc.v = status *)
(* size_hints_return.mr.r = allocated structure | | |