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: ┃ B T

⟦94eb3cc15⟧ TextFile

    Length: 1206 (0x4b6)
    Types: TextFile
    Names: »B«

Derivation

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

TextFile

separate (Puz_Main)  
procedure Process_Expose (Event : in out X_Event) is  
    Loopi  : X_Status  := Successful;  
    Reseti : S_Natural := 0;  
    Title  : S_Natural := 0;  
    Tiles  : S_Natural := 0;  
    Bar    : S_Natural := 0;  
begin

    while Loopi /= Failed loop  
        if "=" (Event.Kind, Expose) and then  
           Event.Expose.Count = 0 then  
            if "=" (Event.Window, Title_Window) then  
                Title := Title + 1;  
            elsif "=" (Event.Window, Tile_Window) then  
                Tiles := Tiles + 1;  
            elsif "=" (Event.Window, Puzzle_Root) then  
                Bar := Bar + 1;  
            end if;  
        end if;  
        X_Check_Mask_Event  
           (Dpy, (Exposure_Mask => True, others => False), Event, Loopi);  
    end loop;  
    if Sizechanged then  
        Reseti := Reseti + 1;  
    end if;

    if Reseti /= 0 then  
        Reset;  
    else  
        if Title /= 0 then  
            Repaint_Title (Title_Tiles);  
        end if;  
        if Tiles /= 0 then  
            Repaint_Tiles;  
        end if;  
        if Bar /= 0 then  
            Repaint_Bar;  
        end if;  
    end if;

end Process_Expose;