DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400 Tapes

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 Tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: ┃ T V

⟦c9bde53ed⟧ TextFile

    Length: 2212 (0x8a4)
    Types: TextFile
    Names: »V«

Derivation

└─⟦85b835f43⟧ Bits:30000549 8mm tape, Rational 1000, Xlib rev 6.00
    └─ ⟦0c20f784e⟧ »DATA« 
        └─⟦1abbe589f⟧ 
            └─⟦306851c02⟧ 
                └─⟦this⟧ 

TextFile

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;