-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcTipos.pas
57 lines (40 loc) · 1.5 KB
/
cTipos.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
unit cTipos;
interface
uses
Graphics;
type
TTypeIcon = (tiCategories, tiFiles);
TIconFavorites = record
Filename: String[255];
Index: Integer;
TypeIcon: TTypeIcon;
Description: String[255];
end;
TBitmapTag = record
Bitmap: TBitmap;
Tag: Integer;
end;
TToolsDraw = (TDNone, TDLine, TDArrow, TDSquare, TDCircle, TDText, TDPolygon,
TDBrush, TDCurve, TDPencil, TDClear, TDDropper, TDSpray, TDPincel,
TDSelect, TDZoom);
TTCursor = (TCBorracha, TCBrush, TCGota, TCLapis, TCPincel, TCSpray);
// TSelecao = (SelecNormal, SelecPolig);
TExtFileIcon = (EIdll, EIexe, EIico, EIocx, EIbmp, EIicl, EIscr, EIcur, EIani);
const
TExtAbbreviated: array [0..8] of String = ('.dll', '.exe', '.ico',
'.ocx', '.bmp', '.icl', '.scr', '.cur', '.ani');
// 0 = Não permite alterar os valores de registro / 1 = Permite alteração
TExtChange: array [Low(TExtAbbreviated)..high(TExtAbbreviated)] of byte = (0,
0, 1, 1, 1, 1, 0, 1, 1);
TExtDescription: array [Low(TExtAbbreviated)..high(TExtAbbreviated)] of String = ('Biblioteca (*.dll)',
'Executável (*.exe)', 'Ícone (*.ico)', 'ActiveX (*.ocx)',
'Bitmap (*.bmp)', 'Biblioteca de Ícone (*.icl)',
'Screen Saver (*.scr)', 'Cursor (*.cur)',
'Cursor Animado (*.ani)');
FileIconFavorites = 'IconFavorites.dat';
var
ToolsDraw: TToolsDraw;
implementation
initialization
ToolsDraw := TDNone;
end.