|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - download
Length: 7168 (0x1c00) Types: Ada Source Notes: 03_class, FILE, R1k_Segment, e3_tag, package Xlbp_Pointer_Control, seg_004f7a
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─ ⟦5a81ac88f⟧ »Space Info Vol 1« └─⟦this⟧
with Xlbt_Arithmetic; use Xlbt_Arithmetic; with Xlbt_Basic; use Xlbt_Basic; with Xlbt_Key; use Xlbt_Key; with Xlbt_Keyboard; use Xlbt_Keyboard; package Xlbp_Pointer_Control is ------------------------------------------------------------------------------ -- X Library Pointer Controls -- -- Xlbp_Pointer_Control - Controls over pointer motion and button encoding ------------------------------------------------------------------------------ -- Copyright 1989 - 1991 by Rational, Santa Clara, California. -- Copyright 1985 - 1989 by the Massachusetts Institute of Technology -- -- All Rights Reserved. -- -- Permission to use, copy, modify, and distribute this software and its -- documentation for any purpose and without fee is hereby granted, -- provided that the above copyright notice(s) appear in all copies and that -- both that copyright notice(s) and this permission notice appear in -- supporting documentation, and that the names of MIT or Rational not be -- used in advertising or publicity pertaining to distribution of the software -- without specific, written prior permission. -- -- MIT and Rational disclaim all warranties with regard to this software, -- including all implied warranties of merchantability and fitness, in no -- event shall MIT or Rational be liable for any special, indirect or -- consequential damages or any damages whatsoever resulting from loss of use, -- data or profits, whether in an action of contract, negligence or other -- tortious action, arising out of or in connection with the use or performance -- of this software. ------------------------------------------------------------------------------ --\x0c procedure X_Change_Pointer_Control (Display : X_Display; Do_Accelerate : Boolean; Do_Threshold : Boolean; Accelerate_Numerator : S_Short; Accelerate_Denominator : S_Short; Threshold : S_Short); ------------------------------------------------------------------------------ -- Display - Specifies the display to use. -- Do_Accelerate - True if the Accelerate values are to be set. -- Do_Threshold - True if the threshold is to be set. -- Accelerate_Numerator - Specifies the numerator of the acceleration -- multiplier. -- Accelerate_Denominator - Specifies the denominator of the acceleration -- procedure. -- Threshold - Specifies the acceleration threshold. -- -- Sets the pointer acceleration controls. ------------------------------------------------------------------------------ procedure X_Get_Pointer_Control (Display : X_Display; Accelerate_Numerator : out U_Short; Accelerate_Denominator : out U_Short; Threshold : out U_Short); ------------------------------------------------------------------------------ -- Display - Specifies the display to use. -- Accelerate_Numerator - Specifies the numerator of the acceleration -- multiplier. -- Accelerate_Denominator - Specifies the denominator of the acceleration -- procedure. -- Threshold - Specifies the acceleration threshold. -- -- Returns the current pointer acceleration controls. ------------------------------------------------------------------------------ procedure X_Get_Pointer_Mapping (Display : X_Display; Map : out X_Key_Code_List; Status : out X_Mapping_Status); ------------------------------------------------------------------------------ -- Display - Specifies the display to use. -- Map - Receives the mapping list. -- Status - Receives the success of the operation; Mapping_Success = OK. -- -- Returns the current mapping of the pointer. Elements of the list are -- indexed starting from one. The length of the list indicates the number -- of physical buttons. The nominal mapping for a pointer is the identity -- mapping: map[i] = i. ------------------------------------------------------------------------------ procedure X_Set_Pointer_Mapping (Display : X_Display; Map : X_Key_Code_Array; Status : out X_Mapping_Status); ------------------------------------------------------------------------------ -- Display - Specifies the display to use. -- Map - Specifies the mapping list. -- Status - Receives the success of the operation; Mapping_Success = OK. -- -- Sets the pointer mapping. ------------------------------------------------------------------------------ end Xlbp_Pointer_Control;
nblk1=6 nid=0 hdr6=c [0x00] rec0=1a rec1=00 rec2=01 rec3=052 [0x01] rec0=11 rec1=00 rec2=02 rec3=046 [0x02] rec0=11 rec1=00 rec2=03 rec3=00a [0x03] rec0=10 rec1=00 rec2=04 rec3=07a [0x04] rec0=12 rec1=00 rec2=05 rec3=042 [0x05] rec0=06 rec1=00 rec2=06 rec3=000 tail 0x21500962c819782f0053f 0x42a00088462063203