DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Rational R1000/400

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦38336b753⟧ Ada Source

    Length: 4096 (0x1000)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package Picker, seg_021fda

Derivation

└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
    └─ ⟦5a81ac88f⟧ »Space Info Vol 1« 
        └─⟦this⟧ 

E3 Source Code



--      Copyright (c) 1990 Meridian Software Systems, Inc.      --
with Mac_Types;
use Mac_Types;
with Quickdraw;
package Picker is

    Maxsmallfract : constant := 16#0000FFFF#;

    subtype Smallfract is Mac_Types.Integer;

    type Hsvcolor is
        record
            Hue : Smallfract;
            Saturation : Smallfract;
            Value : Smallfract;
        end record;

    type Hslcolor is
        record
            Hue : Smallfract;
            Saturation : Smallfract;
            Lightness : Smallfract;
        end record;

    type Cmycolor is
        record
            Cyan : Smallfract;
            Magenta : Smallfract;
            Yellow : Smallfract;
        end record;

    function Fix2smallfract (F : Fixed) return Smallfract;
    pragma Interface (Mpwpascal, Fix2smallfract, "16#3F3C#,16#0001#,16#A82E#");

    function Smallfract2fix (S : Smallfract) return Fixed;
    pragma Interface (Mpwpascal, Smallfract2fix, "16#3F3C#,16#0002#,16#A82E#");

    procedure Cmy2rgb (Ccolor : Cmycolor; Rcolor : in out Quickdraw.Rgbcolor);
    pragma Interface (Mpwpascal, Cmy2rgb, "16#3F3C#,16#0003#,16#A82E#");

    procedure Rgb2cmy (Rcolor : Quickdraw.Rgbcolor; Ccolor : in out Cmycolor);
    pragma Interface (Mpwpascal, Rgb2cmy, "16#3F3C#,16#0004#,16#A82E#");

    procedure Hsl2rgb (Hcolor : Hslcolor; Rcolor : in out Quickdraw.Rgbcolor);
    pragma Interface (Mpwpascal, Hsl2rgb, "16#3F3C#,16#0005#,16#A82E#");

    procedure Rgb2hsl (Rcolor : Quickdraw.Rgbcolor; Hcolor : in out Hslcolor);
    pragma Interface (Mpwpascal, Rgb2hsl, "16#3F3C#,16#0006#,16#A82E#");

    procedure Hsv2rgb (Hcolor : Hsvcolor; Rcolor : in out Quickdraw.Rgbcolor);
    pragma Interface (Mpwpascal, Hsv2rgb, "16#3F3C#,16#0007#,16#A82E#");

    procedure Rgb2hsv (Rcolor : Quickdraw.Rgbcolor; Hcolor : in out Hsvcolor);
    pragma Interface (Mpwpascal, Rgb2hsv, "16#3F3C#,16#0008#,16#A82E#");

    function Getcolor (Where : Point;
                       Prompt : Str255;
                       Incolor : Quickdraw.Rgbcolor;
                       Outcolor : Quickdraw.Rgbcolor) return Boolean;
    pragma Interface (Mpwpascal, Getcolor, "16#3F3C#,16#0009#,16#A82E#");

end Picker;

E3 Meta Data

    nblk1=3
    nid=0
    hdr6=6
        [0x00] rec0=25 rec1=00 rec2=01 rec3=060
        [0x01] rec0=14 rec1=00 rec2=02 rec3=034
        [0x02] rec0=07 rec1=00 rec2=03 rec3=000
    tail 0x2151d44c883906e125d18 0x42a00088462060003