-
Notifications
You must be signed in to change notification settings - Fork 74
/
UGhost.p
60 lines (36 loc) · 1.26 KB
/
UGhost.p
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{Photoshop version 1.0.1, file: UGhost.p
Computer History Museum, www.computerhistory.org
This material is (C)Copyright 1990 Adobe Systems Inc.
It may not be distributed to third parties.
It is licensed for non-commercial use according to
www.computerhistory.org/softwarelicense/photoshop/ }
UNIT UGhost;
INTERFACE
USES
{$LOAD MacIntf.LOAD}
MemTypes, QuickDraw, OSIntf, ToolIntf, PackIntf,
{$LOAD UMacApp.LOAD}
UObject, UList, UMacApp,
{$LOAD}
PaletteMgr, SysEqu, Traps, UPatch;
TYPE
TGhostWindow = OBJECT (TWindow)
fClosed: BOOLEAN;
PROCEDURE TGhostWindow.ShowGhost (visible: BOOLEAN);
PROCEDURE TGhostWindow.Close; OVERRIDE;
PROCEDURE TGhostWindow.MoveByUser (startPt: Point); OVERRIDE;
PROCEDURE TGhostWindow.UpdateEvent; OVERRIDE;
END;
PROCEDURE InitGhosts;
PROCEDURE MoveGhostsForward;
FUNCTION FrontVisible: WindowPtr;
FUNCTION IsGhostWindow (wp: WindowPtr): BOOLEAN;
PROCEDURE MakeIntoGhost (wp: WindowPtr; ghost: BOOLEAN);
PROCEDURE HiliteGhosts (state: BOOLEAN);
PROCEDURE MySelectWindow (theWindow: WindowPtr);
PROCEDURE MyDragWindow (theWindow: WindowPtr; startPt: Point; bounds: Rect);
FUNCTION ToggleGhosts: BOOLEAN;
FUNCTION NewGhostWindow (itsRsrcID: INTEGER; itsView: TView): TWindow;
IMPLEMENTATION
{$I UGhost.inc1.p}
END.