-
Notifications
You must be signed in to change notification settings - Fork 2
/
texturedialog.pas
44 lines (34 loc) · 1.19 KB
/
texturedialog.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
unit texturedialog;
{$mode objfpc}{$h+}
interface
uses
msetypes, mseglob, mseguiglob, mseguiintf, mseapplication, msestat, msemenus, msegui,
msegraphics, msegraphutils, mseevent, mseclasses, msewidgets, mseforms, mseact,
msebitmap, msedataedits, msedatanodes, msedragglob, msedropdownlist, mseedit,
msefiledialog, msegrids, msegridsglob, mseificomp, mseificompglob, mseifiglob,
mselistbrowser, msestatfile, msestream, msesys, sysutils, msegraphedits, msescrollbar;
type
ttexturedialogfo = class(tmseform)
whiteboardtexture: tfilenameedit;
tstatfile1: tstatfile;
blackboardtexture: tfilenameedit;
nohatching: tbooleanedit;
procedure createev(const sender: TObject);
procedure dataenteredev(const sender: TObject);
end;
implementation
uses
texturedialog_mfm, mserttistat, main;
procedure ttexturedialogfo.createev(const sender: TObject);
begin
objecttovalues(mainfo.chessoptions, self);
end;
procedure ttexturedialogfo.dataenteredev(const sender: TObject);
begin
with mainfo.chessoptions do begin
whiteboardtexture := self.whiteboardtexture.value;
blackboardtexture := self.blackboardtexture.value;
nohatching := self.nohatching.value;
end;
end;
end.