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

⟦747838354⟧ Ada Source

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

Derivation

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

E3 Source Code



with Xlbt_Arithmetic;  
use Xlbt_Arithmetic;  
with Xlbt_Event;  
use Xlbt_Event;

package Draw is
------------------------------------------------------------------------------
-- Dragon - a version of Mah-Jongg for X Windows
--
-- Author: Gary E. Barnes        May 1989
--
-- Draw - Deals with the Mah-Jongg board.  Setup and drawing.
------------------------------------------------------------------------------
-- 05/30/90 GEB  - Translate to Ada
------------------------------------------------------------------------------

    procedure Board_Configure (Event : X_Configure_Notify_Event);
------------------------------------------------------------------------------
-- Called when the Board receives a ConfigureNotify event.
------------------------------------------------------------------------------

    procedure Board_Expose;
------------------------------------------------------------------------------
-- Called when the Board receives an Expose event.
------------------------------------------------------------------------------

    procedure Board_Setup;
------------------------------------------------------------------------------
-- Called to set up and create the Board widget.
------------------------------------------------------------------------------

    procedure Draw_All_Tiles;
------------------------------------------------------------------------------
-- Draws all visible tiles.
------------------------------------------------------------------------------

    procedure Hilite_Tile (Row : S_Short;  
                           Col : S_Short);
------------------------------------------------------------------------------
--   row - Specifies the row of the tile to hilite
--   col - specifies the column of the tile to hilite
--
-- Called to hilite a tile face.
------------------------------------------------------------------------------

    procedure Show_Samples (Event : X_Button_Press_Event);
------------------------------------------------------------------------------
-- Called when the Samples button is presses.  Display or un-display the sample
-- tiles.
------------------------------------------------------------------------------

end Draw;  

E3 Meta Data

    nblk1=3
    nid=0
    hdr6=6
        [0x00] rec0=19 rec1=00 rec2=01 rec3=05a
        [0x01] rec0=16 rec1=00 rec2=02 rec3=060
        [0x02] rec0=07 rec1=00 rec2=03 rec3=000
    tail 0x2170088d48197876ab52d 0x42a00088462063203