-
Notifications
You must be signed in to change notification settings - Fork 10
/
_model2.pas
88 lines (78 loc) · 1.93 KB
/
_model2.pas
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
unit _Model2;
(******
DN/2 Plugin Interface - functional model
Copyright (C) 2002 Aleksej Kozlov (Cat)
2:5030/1326.13
******)
{ áî¤ ¯®¯ ¤ îâ ⥠®¡ê¥ªâë, ª®â®àë¥ DN/2 ¯àï¬ãî ¥ íªá¯®àâ¨àã¥â, ® }
{ áá뫪¨ ª®â®àë¥ ¢áñ-â ª¨ ¢®§¬®¦® ¯®«ãç¨âì ª ª¨¬¨-«¨¡® ᯮᮡ ¬¨ }
{&Delphi+}
{&Use32+}
interface
uses
_Defines, _Model1
;
type
PFilePanel = ^TFilePanel;
TFilePanel = packed record
VMT: PViewVMT;
ObjectIsInited: Boolean;
Owner: PGroup;
Next: PView;
Origin: TPoint;
Size: TPoint;
Cursor: TPoint;
GrowMode: Byte;
DragMode: Byte;
HelpCtx: AWord;
State: AWord;
Options: AWord;
EventMask: AWord;
UpTmr: TEventTimer;
UpdTicks: LongInt;
OldSizeX: Integer;
isValid, MSelect, SelectFlag, Loaded, ChangeLocked: Boolean;
InfoView, DirView, DriveLine: PView;
Delta, OldDelta, OldPos, DeltaX: LongInt;
Files: PFilesCollection;
SortMode: Byte;
DirectoryName, OldDirectory: String;
FileMask: String;
SearchParam: TQuickSearchData;
ScrollBar: PScrollBar;
DrawDisableLvl, SelNum, LineLength: LongInt;
SelectedLen, PackedLen: TSize;
WasActive, PosChanged, CommandEnabling,
ViewEnabled: Boolean;
TotalInfo, FreeSpace: TSize;
PanelFlags: Word;
LastDriveFlags: Word;
Drive: PDrive;
ForceReading: Boolean;
DriveState: Word;
LastCurPos: TPoint;
end;
PCommandLine = ^TCommandLine;
TCommandLine = packed record
VMT: PViewVMT;
ObjectIsInited: Boolean;
Owner: PGroup;
Next: PView;
Origin: TPoint;
Size: TPoint;
Cursor: TPoint;
GrowMode: Byte;
DragMode: Byte;
HelpCtx: AWord;
State: AWord;
Options: AWord;
EventMask: AWord;
UpTmr: TEventTimer;
UpdTicks: LongInt;
Dir: String;
DeltaX, CurX: LongInt;
Overwrite: Boolean;
LineType: TLineType;
end;
implementation
end.