|
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: 5120 (0x1400) Types: Ada Source Notes: 03_class, FILE, R1k_Segment, e3_tag, package Button, seg_005354
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─ ⟦cfc2e13cd⟧ »Space Info Vol 2« └─⟦this⟧
with Xlbt_Arithmetic; use Xlbt_Arithmetic; with Xlbt_Event; use Xlbt_Event; with Xlbt_String; use Xlbt_String; package Button is ----------------------------------------------------------------------------- -- Dragon - a version of Mah-Jongg for X Windows -- -- Author: Gary E. Barnes March 1989 -- -- Button - Deals with the command buttons on the board ------------------------------------------------------------------------------ -- 05/30/90 GEB - Translate to Ada ------------------------------------------------------------------------------ Cheating : Boolean := False; -- Are we in cheating mode right now? procedure Cheat (Event : X_Button_Press_Event); procedure Game_Exit (Event : X_Button_Press_Event); procedure Other (Event : X_Button_Press_Event); procedure Redraw_All (Event : X_Button_Press_Event); procedure Save_Game (Event : X_Button_Press_Event); procedure Sides (Event : X_Button_Press_Event); procedure Sync_All (Event : X_Button_Press_Event); procedure Button_Expose; procedure Button_Press (Event : X_Button_Press_Event); procedure Do_Button_Configuration; ------------------------------------------------------------------------------ -- Called when the Board changes Tile sizes. ------------------------------------------------------------------------------ procedure Draw_Score (Score : S_Long; Px : S_Short; Py : S_Short); ------------------------------------------------------------------------------ -- Called to draw the score at x/y. ------------------------------------------------------------------------------ procedure Draw_Text (Str : X_String; Px : S_Short; Py : S_Short); ------------------------------------------------------------------------------ -- Called to draw the vector text in some button. ------------------------------------------------------------------------------ procedure Button_Release (Event : X_Button_Release_Event); end Button;
nblk1=4 nid=0 hdr6=8 [0x00] rec0=1b rec1=00 rec2=01 rec3=024 [0x01] rec0=00 rec1=00 rec2=04 rec3=03a [0x02] rec0=16 rec1=00 rec2=02 rec3=03c [0x03] rec0=06 rec1=00 rec2=03 rec3=000 tail 0x2170088cc8197875478fd 0x42a00088462063203