@@ -3,25 +3,25 @@ object FormMain: TFormMain
33 Top = 0
44 BorderStyle = Single
55 Caption = 'DEC hash demo'
6- ClientHeight = 790
6+ ClientHeight = 970
77 ClientWidth = 452
88 FormFactor.Width = 320
99 FormFactor.Height = 480
1010 FormFactor.Devices = [Desktop]
1111 OnCreate = FormCreate
12- DesignerMasterStyle = 0
12+ DesignerMasterStyle = 3
1313 object VertScrollBox1: TVertScrollBox
1414 Align = Client
1515 Size.Width = 452.000000000000000000
16- Size.Height = 790 .000000000000000000
16+ Size.Height = 970 .000000000000000000
1717 Size.PlatformDefault = False
1818 StyleLookup = 'scrollboxstyle'
1919 TabOrder = 0
2020 OnCalcContentBounds = VertScrollBox1CalcContentBounds
21- Viewport.Width = 436 .000000000000000000
22- Viewport.Height = 790 .000000000000000000
21+ Viewport.Width = 447 .000000000000000000
22+ Viewport.Height = 970 .000000000000000000
2323 object LayoutBottom: TLayout
24- Position.Y = 520 .000000000000000000
24+ Position.Y = 740 .000000000000000000
2525 Size.Width = 425.000000000000000000
2626 Size.Height = 450.000000000000000000
2727 Size.PlatformDefault = False
@@ -30,8 +30,8 @@ object FormMain: TFormMain
3030 AutoSize = True
3131 Position.X = 16.000000000000000000
3232 Position.Y = 8.000000000000000000
33- Size.Width = 28 .000000000000000000
34- Size.Height = 16 .000000000000000000
33+ Size.Width = 42 .000000000000000000
34+ Size.Height = 22 .000000000000000000
3535 Size.PlatformDefault = False
3636 StyleLookup = 'labelstyle'
3737 TextSettings.WordWrap = False
@@ -41,8 +41,8 @@ object FormMain: TFormMain
4141 AutoSize = True
4242 Position.X = 16.000000000000000000
4343 Position.Y = 80.000000000000000000
44- Size.Width = 97 .000000000000000000
45- Size.Height = 16 .000000000000000000
44+ Size.Width = 150 .000000000000000000
45+ Size.Height = 22 .000000000000000000
4646 Size.PlatformDefault = False
4747 StyleLookup = 'labelstyle'
4848 TextSettings.WordWrap = False
@@ -87,12 +87,12 @@ object FormMain: TFormMain
8787 AutoSize = True
8888 Position.X = 16.000000000000000000
8989 Position.Y = 192.000000000000000000
90- Size.Width = 178 .000000000000000000
91- Size.Height = 16 .000000000000000000
90+ Size.Width = 272 .000000000000000000
91+ Size.Height = 22 .000000000000000000
9292 Size.PlatformDefault = False
9393 StyleLookup = 'labelstyle'
9494 TextSettings.WordWrap = False
95- Text = #169' 2018-2021 by Team DEC V%0:s'
95+ Text = #169' 2018-2022 by Team DEC V%0:s'
9696 end
9797 end
9898 object LayoutTop: TLayout
@@ -136,8 +136,8 @@ object FormMain: TFormMain
136136 AutoSize = True
137137 Position.X = 16.000000000000000000
138138 Position.Y = 16.000000000000000000
139- Size.Width = 74 .000000000000000000
140- Size.Height = 16 .000000000000000000
139+ Size.Width = 114 .000000000000000000
140+ Size.Height = 22 .000000000000000000
141141 Size.PlatformDefault = False
142142 StyleLookup = 'labelstyle'
143143 TextSettings.WordWrap = False
@@ -147,8 +147,8 @@ object FormMain: TFormMain
147147 AutoSize = True
148148 Position.X = 16.000000000000000000
149149 Position.Y = 88.000000000000000000
150- Size.Width = 91 .000000000000000000
151- Size.Height = 16 .000000000000000000
150+ Size.Width = 139 .000000000000000000
151+ Size.Height = 22 .000000000000000000
152152 Size.PlatformDefault = False
153153 StyleLookup = 'labelstyle'
154154 TextSettings.WordWrap = False
@@ -158,8 +158,8 @@ object FormMain: TFormMain
158158 AutoSize = True
159159 Position.X = 16.000000000000000000
160160 Position.Y = 160.000000000000000000
161- Size.Width = 119 .000000000000000000
162- Size.Height = 16 .000000000000000000
161+ Size.Width = 178 .000000000000000000
162+ Size.Height = 22 .000000000000000000
163163 Size.PlatformDefault = False
164164 StyleLookup = 'labelstyle'
165165 TextSettings.WordWrap = False
@@ -203,9 +203,9 @@ object FormMain: TFormMain
203203 object LabelHashLength: TLabel
204204 AutoSize = True
205205 Position.X = 16.000000000000000000
206- Position.Y = 484 .000000000000000000
206+ Position.Y = 496 .000000000000000000
207207 Size.Width = 242.000000000000000000
208- Size.Height = 16 .000000000000000000
208+ Size.Height = 22 .000000000000000000
209209 Size.PlatformDefault = False
210210 StyleLookup = 'labelstyle'
211211 Text = 'Generated hash length (byte)'
@@ -221,7 +221,7 @@ object FormMain: TFormMain
221221 Text = '64'
222222 TextSettings.HorzAlign = Trailing
223223 Position.X = 317.000000000000000000
224- Position.Y = 468 .000000000000000000
224+ Position.Y = 484 .000000000000000000
225225 Size.Width = 100.000000000000000000
226226 Size.Height = 32.000000000000000000
227227 Size.PlatformDefault = False
@@ -232,7 +232,7 @@ object FormMain: TFormMain
232232 Position.X = 16.000000000000000000
233233 Position.Y = 332.000000000000000000
234234 Size.Width = 242.000000000000000000
235- Size.Height = 16 .000000000000000000
235+ Size.Height = 22 .000000000000000000
236236 Size.PlatformDefault = False
237237 StyleLookup = 'labelstyle'
238238 Text = 'Number of rounds'
@@ -282,9 +282,9 @@ object FormMain: TFormMain
282282 Anchors = [akLeft, akTop, akRight]
283283 AutoSize = True
284284 Position.X = 16.000000000000000000
285- Position.Y = 390 .000000000000000000
285+ Position.Y = 406 .000000000000000000
286286 Size.Width = 293.000000000000000000
287- Size.Height = 32 .000000000000000000
287+ Size.Height = 44 .000000000000000000
288288 Size.PlatformDefault = False
289289 StyleLookup = 'labelstyle'
290290 TextSettings.VertAlign = Leading
@@ -302,10 +302,92 @@ object FormMain: TFormMain
302302 Text = '0'
303303 TextSettings.HorzAlign = Trailing
304304 Position.X = 317.000000000000000000
305- Position.Y = 381.000000000000000000
305+ Position.Y = 417.000000000000000000
306+ Size.Width = 100.000000000000000000
307+ Size.Height = 32.000000000000000000
308+ Size.PlatformDefault = False
309+ end
310+ end
311+ object LayoutSalt: TLayout
312+ Position.Y = 520.000000000000000000
313+ Size.Width = 425.000000000000000000
314+ Size.Height = 220.000000000000000000
315+ Size.PlatformDefault = False
316+ TabOrder = 14
317+ object Label1: TLabel
318+ AutoSize = True
319+ Position.X = 16.000000000000000000
320+ Position.Y = 104.000000000000000000
321+ Size.Width = 32.000000000000000000
322+ Size.Height = 22.000000000000000000
323+ Size.PlatformDefault = False
324+ StyleLookup = 'labelstyle'
325+ TextSettings.WordWrap = False
326+ Text = 'Salt'
327+ TabOrder = 1
328+ end
329+ object EditSalt: TEdit
330+ Touch.InteractiveGestures = [LongTap, DoubleTap]
331+ Anchors = [akLeft, akTop, akRight]
332+ StyleLookup = 'editstyle'
333+ TabOrder = 4
334+ Position.X = 16.000000000000000000
335+ Position.Y = 128.000000000000000000
336+ Size.Width = 401.000000000000000000
337+ Size.Height = 32.000000000000000000
338+ Size.PlatformDefault = False
339+ OnChangeTracking = EditInputChangeTracking
340+ OnKeyUp = EditInputKeyUp
341+ end
342+ object Label7: TLabel
343+ AutoSize = True
344+ Position.X = 16.000000000000000000
345+ Position.Y = 16.000000000000000000
346+ Size.Width = 155.000000000000000000
347+ Size.Height = 22.000000000000000000
348+ Size.PlatformDefault = False
349+ StyleLookup = 'labelstyle'
350+ TextSettings.WordWrap = False
351+ Text = 'Desired salt format'
352+ TabOrder = 5
353+ end
354+ object ComboBoxSaltFormatting: TComboBox
355+ Anchors = [akLeft, akTop, akRight]
356+ Position.X = 16.000000000000000000
357+ Position.Y = 52.000000000000000000
358+ Size.Width = 400.000000000000000000
359+ Size.Height = 32.000000000000000000
360+ Size.PlatformDefault = False
361+ StyleLookup = 'comboboxstyle'
362+ TabOrder = 3
363+ end
364+ object Label8: TLabel
365+ AutoSize = True
366+ Position.X = 16.000000000000000000
367+ Position.Y = 184.000000000000000000
368+ Size.Width = 38.000000000000000000
369+ Size.Height = 22.000000000000000000
370+ Size.PlatformDefault = False
371+ StyleLookup = 'labelstyle'
372+ TextSettings.WordWrap = False
373+ Text = 'Cost'
374+ TabOrder = 0
375+ end
376+ object EditCost: TEdit
377+ Touch.InteractiveGestures = [LongTap, DoubleTap]
378+ Anchors = [akTop, akRight]
379+ StyleLookup = 'editstyle'
380+ TabOrder = 13
381+ MaxLength = 3
382+ FilterChar = '0123456789'
383+ Text = '10'
384+ TextSettings.HorzAlign = Trailing
385+ Position.X = 317.000000000000000000
386+ Position.Y = 180.000000000000000000
306387 Size.Width = 100.000000000000000000
307388 Size.Height = 32.000000000000000000
308389 Size.PlatformDefault = False
390+ OnChange = EditCostChange
309391 end
310392 end
311393 end
0 commit comments