Ignore:
Timestamp:
Jun 25, 2024, 1:37:11 AM (3 months ago)
Author:
chronos
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • CoolStreaming/Demo/VarBlockSerializer/UMainForm.lfm

    r174 r572  
    11object MainForm: TMainForm
    22  Left = 263
    3   Height = 405
     3  Height = 608
    44  Top = 119
    5   Width = 644
     5  Width = 966
    66  Caption = 'VarBlockSerializer demo'
    7   ClientHeight = 405
    8   ClientWidth = 644
     7  ClientHeight = 608
     8  ClientWidth = 966
     9  DesignTimePPI = 144
    910  OnShow = FormShow
    10   LCLVersion = '0.9.31'
     11  LCLVersion = '3.4.0.0'
    1112  object PageControl1: TPageControl
    12     Left = 8
    13     Height = 392
    14     Top = 8
    15     Width = 632
     13    Left = 12
     14    Height = 588
     15    Top = 12
     16    Width = 948
    1617    ActivePage = TabSheet1
    1718    Anchors = [akTop, akLeft, akRight, akBottom]
     
    2021    object TabSheet1: TTabSheet
    2122      Caption = 'Simple types'
    22       ClientHeight = 366
    23       ClientWidth = 624
     23      ClientHeight = 548
     24      ClientWidth = 938
    2425      object GroupBox1: TGroupBox
    25         Left = 8
    26         Height = 64
    27         Top = 8
    28         Width = 608
     26        Left = 12
     27        Height = 96
     28        Top = 12
     29        Width = 912
    2930        Caption = 'Unsigned integer (UInt)'
    30         ClientHeight = 46
    31         ClientWidth = 604
     31        ClientHeight = 69
     32        ClientWidth = 910
    3233        TabOrder = 0
    3334        object SpinEditUInt: TSpinEdit
    34           Left = 6
    35           Height = 21
    36           Top = 8
    37           Width = 152
     35          Left = 9
     36          Height = 43
     37          Top = 12
     38          Width = 228
    3839          MaxValue = 1000000000
    3940          TabOrder = 0
     
    4142        end
    4243        object ButtonUIntEncode: TButton
    43           Left = 246
    44           Height = 25
    45           Top = 8
    46           Width = 75
    47           Caption = 'Encode >>'
     44          Left = 369
     45          Height = 38
     46          Top = 12
     47          Width = 112
     48          Caption = 'Encode >>'
     49          TabOrder = 1
    4850          OnClick = ButtonUIntEncodeClick
    49           TabOrder = 1
    5051        end
    5152        object EditUInt: TEdit
    52           Left = 326
    53           Height = 21
    54           Top = 8
    55           Width = 269
     53          Left = 489
     54          Height = 43
     55          Top = 12
     56          Width = 404
    5657          TabOrder = 2
    5758          Text = '00'
    5859        end
    5960        object ButtonUIntDecode: TButton
    60           Left = 166
    61           Height = 25
    62           Top = 8
    63           Width = 75
    64           Caption = '<< Decode'
     61          Left = 249
     62          Height = 38
     63          Top = 12
     64          Width = 112
     65          Caption = '<< Decode'
     66          TabOrder = 3
    6567          OnClick = ButtonUIntDecodeClick
    66           TabOrder = 3
    6768        end
    6869      end
    6970      object GroupBox2: TGroupBox
    70         Left = 8
    71         Height = 64
    72         Top = 80
    73         Width = 608
     71        Left = 12
     72        Height = 96
     73        Top = 120
     74        Width = 912
    7475        Caption = 'Signed integer (SInt)'
    75         ClientHeight = 46
    76         ClientWidth = 604
     76        ClientHeight = 69
     77        ClientWidth = 910
    7778        TabOrder = 1
    7879        object SpinEditSInt: TSpinEdit
    79           Left = 6
    80           Height = 21
    81           Top = 8
    82           Width = 152
     80          Left = 9
     81          Height = 43
     82          Top = 12
     83          Width = 228
    8384          MaxValue = 1000000000
    8485          MinValue = -1000000000
     
    8788        end
    8889        object ButtonSIntEncode: TButton
    89           Left = 246
    90           Height = 25
    91           Top = 8
    92           Width = 75
    93           Caption = 'Encode >>'
     90          Left = 369
     91          Height = 38
     92          Top = 12
     93          Width = 112
     94          Caption = 'Encode >>'
     95          TabOrder = 1
    9496          OnClick = ButtonSIntEncodeClick
    95           TabOrder = 1
    9697        end
    9798        object EditSInt: TEdit
    98           Left = 326
    99           Height = 21
    100           Top = 8
    101           Width = 269
     99          Left = 489
     100          Height = 43
     101          Top = 12
     102          Width = 404
    102103          TabOrder = 2
    103104          Text = '00'
    104105        end
    105106        object ButtonSIntDecode: TButton
    106           Left = 166
    107           Height = 25
    108           Top = 8
    109           Width = 75
    110           Caption = '<< Decode'
     107          Left = 249
     108          Height = 38
     109          Top = 12
     110          Width = 112
     111          Caption = '<< Decode'
     112          TabOrder = 3
    111113          OnClick = ButtonSIntDecodeClick
    112           TabOrder = 3
    113114        end
    114115      end
    115116      object GroupBox3: TGroupBox
    116         Left = 8
    117         Height = 64
    118         Top = 152
    119         Width = 608
     117        Left = 12
     118        Height = 96
     119        Top = 228
     120        Width = 912
    120121        Caption = 'String'
    121         ClientHeight = 46
    122         ClientWidth = 604
     122        ClientHeight = 69
     123        ClientWidth = 910
    123124        TabOrder = 2
    124125        object ButtonEncodeString: TButton
    125           Left = 246
    126           Height = 25
    127           Top = 8
    128           Width = 75
    129           Caption = 'Encode >>'
     126          Left = 369
     127          Height = 38
     128          Top = 12
     129          Width = 112
     130          Caption = 'Encode >>'
     131          TabOrder = 0
    130132          OnClick = ButtonEncodeStringClick
    131           TabOrder = 0
    132133        end
    133134        object EditStringData: TEdit
    134           Left = 326
    135           Height = 21
    136           Top = 8
    137           Width = 269
     135          Left = 489
     136          Height = 43
     137          Top = 12
     138          Width = 404
    138139          TabOrder = 1
    139140          Text = '00'
    140141        end
    141142        object ButtonDecodeString: TButton
    142           Left = 166
    143           Height = 25
    144           Top = 8
    145           Width = 75
    146           Caption = '<< Decode'
     143          Left = 249
     144          Height = 38
     145          Top = 12
     146          Width = 112
     147          Caption = '<< Decode'
     148          TabOrder = 2
    147149          OnClick = ButtonDecodeStringClick
    148           TabOrder = 2
    149150        end
    150151        object EditString: TEdit
    151           Left = 6
    152           Height = 21
    153           Top = 8
    154           Width = 152
     152          Left = 9
     153          Height = 43
     154          Top = 12
     155          Width = 228
    155156          TabOrder = 3
    156157          Text = 'Hello world'
     
    158159      end
    159160      object GroupBox4: TGroupBox
    160         Left = 8
    161         Height = 64
    162         Top = 224
    163         Width = 608
     161        Left = 12
     162        Height = 96
     163        Top = 336
     164        Width = 912
    164165        Caption = 'Raw data (Block)'
    165         ClientHeight = 46
    166         ClientWidth = 604
     166        ClientHeight = 69
     167        ClientWidth = 910
    167168        TabOrder = 3
    168169        object ButtonEncodeRaw: TButton
    169           Left = 246
    170           Height = 25
    171           Top = 8
    172           Width = 75
    173           Caption = 'Encode >>'
     170          Left = 369
     171          Height = 38
     172          Top = 12
     173          Width = 112
     174          Caption = 'Encode >>'
     175          TabOrder = 0
    174176          OnClick = ButtonEncodeRawClick
    175           TabOrder = 0
    176177        end
    177178        object EditRawData: TEdit
    178           Left = 326
    179           Height = 21
    180           Top = 8
    181           Width = 269
     179          Left = 489
     180          Height = 43
     181          Top = 12
     182          Width = 404
    182183          TabOrder = 1
    183184          Text = '00'
    184185        end
    185186        object ButtonDecodeRaw: TButton
    186           Left = 166
    187           Height = 25
    188           Top = 8
    189           Width = 75
    190           Caption = '<< Decode'
     187          Left = 249
     188          Height = 38
     189          Top = 12
     190          Width = 112
     191          Caption = '<< Decode'
     192          TabOrder = 2
    191193          OnClick = ButtonDecodeRawClick
    192           TabOrder = 2
    193194        end
    194195        object EditRaw: TEdit
    195           Left = 6
    196           Height = 21
    197           Top = 8
    198           Width = 152
     196          Left = 9
     197          Height = 43
     198          Top = 12
     199          Width = 228
    199200          TabOrder = 3
    200201          Text = '01 23 45 67 89 AB CD EF'
     
    202203      end
    203204      object GroupBox5: TGroupBox
    204         Left = 8
    205         Height = 64
    206         Top = 296
    207         Width = 608
     205        Left = 12
     206        Height = 96
     207        Top = 444
     208        Width = 912
    208209        Caption = 'Float'
    209         ClientHeight = 46
    210         ClientWidth = 604
     210        ClientHeight = 69
     211        ClientWidth = 910
    211212        TabOrder = 4
    212213        object ButtonFloatEncode1: TButton
    213           Left = 246
    214           Height = 25
    215           Top = 8
    216           Width = 75
    217           Caption = 'Encode >>'
     214          Left = 369
     215          Height = 38
     216          Top = 12
     217          Width = 112
     218          Caption = 'Encode >>'
     219          TabOrder = 0
    218220          OnClick = ButtonFloatEncode1Click
    219           TabOrder = 0
    220221        end
    221222        object EditFloat: TEdit
    222           Left = 326
    223           Height = 21
    224           Top = 8
    225           Width = 269
     223          Left = 489
     224          Height = 43
     225          Top = 12
     226          Width = 404
    226227          TabOrder = 1
    227228          Text = '00'
    228229        end
    229230        object ButtonFloatDecode1: TButton
    230           Left = 166
    231           Height = 25
    232           Top = 7
    233           Width = 75
    234           Caption = '<< Decode'
     231          Left = 249
     232          Height = 38
     233          Top = 10
     234          Width = 112
     235          Caption = '<< Decode'
     236          TabOrder = 2
    235237          OnClick = ButtonFloatDecode1Click
    236           TabOrder = 2
    237238        end
    238239        object FloatSpinEdit1: TFloatSpinEdit
    239           Left = 6
    240           Height = 21
    241           Top = 7
    242           Width = 96
     240          Left = 9
     241          Height = 43
     242          Top = 10
     243          Width = 144
    243244          DecimalPlaces = 8
    244           Increment = 1
    245245          MaxValue = 1000000000
    246246          MinValue = -100000000
    247247          TabOrder = 3
    248           Value = 0
    249248        end
    250249        object SpinEditFloat: TSpinEdit
    251           Left = 110
    252           Height = 21
    253           Top = 16
    254           Width = 50
     250          Left = 165
     251          Height = 43
     252          Top = 24
     253          Width = 75
    255254          MaxValue = 16
    256255          MinValue = 2
     
    259258        end
    260259        object Label1: TLabel
    261           Left = 111
    262           Height = 14
     260          Left = 166
     261          Height = 26
    263262          Top = 0
    264           Width = 24
     263          Width = 41
    265264          Caption = 'Base'
    266265          ParentColor = False
     
    270269    object TabSheet2: TTabSheet
    271270      Caption = 'Indexed structure'
    272       ClientHeight = 366
    273       ClientWidth = 624
     271      ClientHeight = 548
     272      ClientWidth = 938
    274273      object EditIndexedItem1: TEdit
    275         Left = 36
    276         Height = 21
    277         Top = 34
    278         Width = 224
     274        Left = 54
     275        Height = 43
     276        Top = 51
     277        Width = 336
    279278        TabOrder = 0
    280279        Text = '11 22'
    281280      end
    282281      object Label2: TLabel
    283         Left = 10
    284         Height = 14
    285         Top = 38
    286         Width = 14
     282        Left = 15
     283        Height = 26
     284        Top = 57
     285        Width = 20
    287286        Caption = '0: '
    288287        ParentColor = False
    289288      end
    290289      object Label3: TLabel
    291         Left = 10
    292         Height = 14
    293         Top = 61
    294         Width = 11
     290        Left = 15
     291        Height = 26
     292        Top = 92
     293        Width = 15
    295294        Caption = '1:'
    296295        ParentColor = False
    297296      end
    298297      object EditIndexedItem2: TEdit
    299         Left = 36
    300         Height = 21
    301         Top = 58
    302         Width = 224
     298        Left = 54
     299        Height = 43
     300        Top = 87
     301        Width = 336
    303302        TabOrder = 1
    304303        Text = '33 44'
    305304      end
    306305      object EditIndexedItem3: TEdit
    307         Left = 36
    308         Height = 21
    309         Top = 86
    310         Width = 224
     306        Left = 54
     307        Height = 43
     308        Top = 129
     309        Width = 336
    311310        TabOrder = 2
    312311        Text = '55 66'
    313312      end
    314313      object Label4: TLabel
    315         Left = 10
    316         Height = 14
    317         Top = 89
    318         Width = 11
     314        Left = 15
     315        Height = 26
     316        Top = 134
     317        Width = 15
    319318        Caption = '2:'
    320319        ParentColor = False
    321320      end
    322321      object ButtonEncodeIndexed: TButton
    323         Left = 156
    324         Height = 25
    325         Top = 122
    326         Width = 75
     322        Left = 234
     323        Height = 38
     324        Top = 183
     325        Width = 112
    327326        Caption = 'Encode >>'
     327        TabOrder = 3
    328328        OnClick = ButtonEncodeIndexedClick
    329         TabOrder = 3
    330329      end
    331330      object ButtonDecodeIndexed: TButton
    332         Left = 68
    333         Height = 25
    334         Top = 122
    335         Width = 75
     331        Left = 102
     332        Height = 38
     333        Top = 183
     334        Width = 112
    336335        Caption = '<< Decode'
     336        TabOrder = 4
    337337        OnClick = ButtonDecodeIndexedClick
    338         TabOrder = 4
    339338      end
    340339      object EditIndexed: TEdit
    341         Left = 10
    342         Height = 21
    343         Top = 154
    344         Width = 588
     340        Left = 15
     341        Height = 43
     342        Top = 231
     343        Width = 882
    345344        TabOrder = 5
    346345      end
    347346      object CheckBoxMask1: TCheckBox
    348         Left = 284
    349         Height = 17
    350         Top = 34
    351         Width = 20
     347        Left = 426
     348        Height = 23
     349        Top = 51
     350        Width = 23
    352351        Checked = True
    353352        State = cbChecked
     
    355354      end
    356355      object CheckBoxMask2: TCheckBox
    357         Left = 284
    358         Height = 17
    359         Top = 59
    360         Width = 20
     356        Left = 426
     357        Height = 23
     358        Top = 88
     359        Width = 23
    361360        Checked = True
    362361        State = cbChecked
     
    364363      end
    365364      object CheckBoxMask3: TCheckBox
    366         Left = 284
    367         Height = 17
    368         Top = 88
    369         Width = 20
     365        Left = 426
     366        Height = 23
     367        Top = 132
     368        Width = 23
    370369        Checked = True
    371370        State = cbChecked
     
    373372      end
    374373      object Label5: TLabel
    375         Left = 268
    376         Height = 14
    377         Top = 18
    378         Width = 40
     374        Left = 402
     375        Height = 26
     376        Top = 27
     377        Width = 74
    379378        Caption = 'Bit mask'
    380379        ParentColor = False
    381380      end
    382381      object Label6: TLabel
    383         Left = 8
    384         Height = 14
    385         Top = 11
    386         Width = 29
     382        Left = 12
     383        Height = 26
     384        Top = 16
     385        Width = 48
    387386        Caption = 'Index'
    388387        ParentColor = False
Note: See TracChangeset for help on using the changeset viewer.