forked from andrea-magni/ScannerMApp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathForms.Main.fmx
152 lines (152 loc) · 5.7 KB
/
Forms.Main.fmx
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
object MainForm: TMainForm
Left = 0
Top = 0
Caption = 'ScannerMApp'
ClientHeight = 494
ClientWidth = 361
FormFactor.Width = 320
FormFactor.Height = 480
FormFactor.Devices = [Desktop]
OnCreate = FormCreate
OnDestroy = FormDestroy
OnKeyDown = FormKeyDown
DesignerMasterStyle = 3
object ContentLayout: TLayout
Align = Client
Size.Width = 361.000000000000000000
Size.Height = 446.000000000000000000
Size.PlatformDefault = False
TabOrder = 8
end
object TopToolBar: TToolBar
Align = Bottom
Position.Y = 446.000000000000000000
Size.Width = 361.000000000000000000
Size.Height = 48.000000000000000000
Size.PlatformDefault = False
TabOrder = 9
object CameraButton: TButton
Action = ToggleCameraAction
Align = Right
Enabled = True
ImageIndex = -1
Position.X = 313.000000000000000000
Size.Width = 48.000000000000000000
Size.Height = 48.000000000000000000
Size.PlatformDefault = False
StyleLookup = 'cameratoolbutton'
TabOrder = 0
Visible = True
end
object LibraryButton: TButton
Action = TakePhotoFromLibraryAction
Align = Right
Enabled = True
ImageIndex = -1
Position.X = 265.000000000000000000
Size.Width = 48.000000000000000000
Size.Height = 48.000000000000000000
Size.PlatformDefault = False
StyleLookup = 'additembutton'
TabOrder = 1
Visible = True
end
object OpenButton: TButton
Action = LoadFromFileAction
Align = Right
Enabled = True
ImageIndex = -1
Position.X = 192.000000000000000000
Size.Width = 73.000000000000000000
Size.Height = 48.000000000000000000
Size.PlatformDefault = False
TabOrder = 2
Visible = True
end
object InfoButton: TButton
Align = Left
Size.Width = 48.000000000000000000
Size.Height = 48.000000000000000000
Size.PlatformDefault = False
StyleLookup = 'infotoolbutton'
TabOrder = 3
Text = 'InfoButton'
OnClick = InfoButtonClick
end
end
object Stands: TStyleBook
Styles = <
item
ResourcesBin = {
464D585F5354594C4520322E350106086C69676874626F78039403060673696D
706C6503FB00005450463007544C61796F757400095374796C654E616D650608
6C69676874626F7805416C69676E070643656E7465720A53697A652E57696474
680500000000000040A508400B53697A652E4865696768740500000000000080
D308401453697A652E506C6174666F726D44656661756C74080756697369626C
6508085461624F726465720200000A5452656374616E676C6500095374796C65
4E616D65060A6261636B67726F756E6405416C69676E0708436F6E74656E7473
0A46696C6C2E436F6C6F720708636C61426C61636B074F706163697479050000
0000003333B3FE3F0A53697A652E57696474680500000000000040A508400B53
697A652E4865696768740500000000000080D308401453697A652E506C617466
6F726D44656661756C74080B5374726F6B652E4B696E6407044E6F6E65105374
726F6B652E546869636B6E6573730500000000000000000000000007544C6179
6F757400095374796C654E616D650609636F6E7461696E657205416C69676E07
08436F6E74656E74730C4D617267696E732E4C6566740500000000000000A003
400B4D617267696E732E546F700500000000000000A003400D4D617267696E73
2E52696768740500000000000000A003400E4D617267696E732E426F74746F6D
0500000000000000A003400A53697A652E576964746805000000000000409B08
400B53697A652E4865696768740500000000000080C908401453697A652E506C
6174666F726D44656661756C7408085461624F72646572020100000F54466C6F
6174416E696D6174696F6E00095374796C654E616D65060D4F6E53686F775F46
616465496E0D416E696D6174696F6E547970650705496E4F7574084475726174
696F6E050000000000000080FE3F0D496E746572706F6C6174696F6E07095175
616472617469630C50726F70657274794E616D6506074F7061636974790A5374
61727456616C756505000000000000000000000953746F7056616C7565050000
000000000080FF3F00000F54466C6F6174416E696D6174696F6E00095374796C
654E616D65060E4F6E486964655F466164654F75740D416E696D6174696F6E54
7970650705496E4F7574084475726174696F6E050000000000000080FE3F0D49
6E746572706F6C6174696F6E07095175616472617469630C50726F7065727479
4E616D6506074F7061636974790A537461727456616C75650500000000000000
80FF3F0953746F7056616C756505000000000000000000000000005450463007
544C61796F757400095374796C654E616D65060673696D706C6505416C69676E
070643656E7465720A53697A652E57696474680500000000000040A508400B53
697A652E4865696768740500000000000040AF08401453697A652E506C617466
6F726D44656661756C7408085461624F7264657202010007544C61796F757400
095374796C654E616D650609636F6E7461696E657205416C69676E0708436F6E
74656E74730A53697A652E57696474680500000000000040A508400B53697A65
2E4865696768740500000000000040AF08401453697A652E506C6174666F726D
44656661756C7408085461624F726465720200000000}
end>
Left = 48
Top = 171
end
object OpenDialog1: TOpenDialog
Left = 136
Top = 80
end
object ActionList1: TActionList
Left = 232
Top = 120
object ToggleCameraAction: TAction
Text = 'Toggle Camera'
OnExecute = ToggleCameraActionExecute
end
object TakePhotoFromLibraryAction: TTakePhotoFromLibraryAction
OnDidFinishTaking = TakePhotoFromLibraryActionDidFinishTaking
end
object LoadFromFileAction: TAction
Text = 'Load'
UnsupportedPlatforms = [pfiOS, pfAndroid]
OnExecute = LoadFromFileActionExecute
end
end
object FrameStand1: TFrameStand
AnimationShow = 'OnShow*'
AnimationHide = 'OnHide*'
CommonActionPrefix = 'ca_'
DefaultStyleName = 'framestand'
StyleBook = Stands
Left = 48
Top = 104
end
end