Changeset 572 for CoolStreaming/Demo/DynNumber
- Timestamp:
- Jun 25, 2024, 1:37:11 AM (7 months ago)
- Location:
- CoolStreaming/Demo/DynNumber
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
CoolStreaming/Demo/DynNumber/DynNumberDemo.lpi
r128 r572 1 <?xml version="1.0" ?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <CONFIG> 3 3 <ProjectOptions> 4 <Version Value=" 9"/>4 <Version Value="12"/> 5 5 <PathDelim Value="\"/> 6 6 <General> 7 <MainUnit Value="0"/> 7 <Flags> 8 <CompatibilityMode Value="True"/> 9 </Flags> 8 10 <ResourceType Value="res"/> 9 11 <UseXPManifest Value="True"/> 10 12 <Icon Value="0"/> 11 <ActiveWindowIndexAtStart Value="0"/>12 13 </General> 13 14 <i18n> 14 15 <EnableI18N LFM="False"/> 15 16 </i18n> 16 <VersionInfo>17 <StringTable ProductVersion=""/>18 </VersionInfo>19 17 <BuildModes Count="1" Active="Default"> 20 18 <Item1 Name="Default" Default="True"/> … … 22 20 <PublishOptions> 23 21 <Version Value="2"/> 24 <IncludeFileFilter Value="*.(pas|pp|inc|lfm|lpr|lrs|lpi|lpk|sh|xml)"/>25 <ExcludeFileFilter Value="*.(bak|ppu|o|so);*~;backup"/>26 22 </PublishOptions> 27 23 <RunParams> 28 < local>29 <FormatVersion Value="1"/>30 < LaunchingApplication PathPlusParams="\usr\bin\xterm -T 'Lazarus Run Output' -e $(LazarusDir)\tools\runwait.sh $(TargetCmdLine)"/>31 </ local>24 <FormatVersion Value="2"/> 25 <Modes Count="1"> 26 <Mode0 Name="default"/> 27 </Modes> 32 28 </RunParams> 33 29 <RequiredPackages Count="2"> … … 43 39 <Filename Value="DynNumberDemo.lpr"/> 44 40 <IsPartOfProject Value="True"/> 45 <UnitName Value="DynNumberDemo"/>46 <WindowIndex Value="0"/>47 <TopLine Value="1"/>48 41 <CursorPos X="41" Y="19"/> 49 42 <UsageCount Value="42"/> … … 53 46 <IsPartOfProject Value="True"/> 54 47 <ComponentName Value="MainForm"/> 48 <HasResources Value="True"/> 55 49 <ResourceBaseClass Value="Form"/> 56 <UnitName Value="UMainForm"/>57 50 <IsVisibleTab Value="True"/> 58 <EditorIndex Value="0"/> 59 <WindowIndex Value="0"/> 60 <TopLine Value="50"/> 61 <CursorPos X="34" Y="61"/> 51 <CursorPos X="44" Y="31"/> 62 52 <UsageCount Value="42"/> 63 53 <Loaded Value="True"/> … … 66 56 <Unit2> 67 57 <Filename Value="..\..\UDynNumber.pas"/> 68 <UnitName Value="UDynNumber"/> 69 <EditorIndex Value="2"/> 70 <WindowIndex Value="0"/> 71 <TopLine Value="1"/> 58 <EditorIndex Value="-1"/> 72 59 <CursorPos X="17" Y="10"/> 73 60 <UsageCount Value="21"/> 74 <Loaded Value="True"/>75 61 </Unit2> 76 62 <Unit3> 77 63 <Filename Value="..\..\UBitStream.pas"/> 78 <UnitName Value="UBitStream"/> 79 <EditorIndex Value="4"/> 80 <WindowIndex Value="0"/> 64 <EditorIndex Value="-1"/> 81 65 <TopLine Value="21"/> 82 66 <CursorPos X="35" Y="29"/> 83 67 <UsageCount Value="21"/> 84 <Loaded Value="True"/>85 68 </Unit3> 86 69 <Unit4> 87 70 <Filename Value="..\..\UBufferedFileStream.pas"/> 88 <UnitName Value="UBufferedFileStream"/>89 <WindowIndex Value="0"/>90 71 <TopLine Value="38"/> 91 72 <CursorPos X="30" Y="54"/> … … 93 74 </Unit4> 94 75 <Unit5> 95 <Filename Value="..\..\..\..\..\..\..\..\usr\share\fpcsrc\2.4.0\rtl\objpas\classes\classesh.inc"/> 96 <EditorIndex Value="3"/> 97 <WindowIndex Value="0"/> 76 <Filename Value="..\..\..\..\..\..\..\usr\share\fpcsrc\2.4.0\rtl\objpas\classes\classesh.inc"/> 77 <EditorIndex Value="-1"/> 98 78 <TopLine Value="773"/> 99 79 <CursorPos X="17" Y="789"/> 100 80 <UsageCount Value="21"/> 101 <Loaded Value="True"/>102 81 </Unit5> 103 82 <Unit6> 104 <Filename Value="..\..\..\..\..\..\..\..\usr\share\fpcsrc\2.4.0\rtl\objpas\classes\streams.inc"/> 105 <WindowIndex Value="0"/> 83 <Filename Value="..\..\..\..\..\..\..\usr\share\fpcsrc\2.4.0\rtl\objpas\classes\streams.inc"/> 106 84 <TopLine Value="462"/> 107 85 <CursorPos X="19" Y="467"/> … … 109 87 </Unit6> 110 88 <Unit7> 111 <Filename Value="..\..\..\..\..\..\..\..\usr\share\fpcsrc\2.4.0\rtl\objpas\sysutils\filutilh.inc"/> 112 <WindowIndex Value="0"/> 89 <Filename Value="..\..\..\..\..\..\..\usr\share\fpcsrc\2.4.0\rtl\objpas\sysutils\filutilh.inc"/> 113 90 <TopLine Value="60"/> 114 91 <CursorPos X="10" Y="75"/> … … 116 93 </Unit7> 117 94 <Unit8> 118 <Filename Value="..\..\..\..\..\..\..\..\usr\share\fpcsrc\2.4.0\rtl\unix\sysutils.pp"/> 119 <UnitName Value="sysutils"/> 120 <WindowIndex Value="0"/> 95 <Filename Value="..\..\..\..\..\..\..\usr\share\fpcsrc\2.4.0\rtl\unix\sysutils.pp"/> 121 96 <TopLine Value="435"/> 122 97 <CursorPos X="49" Y="435"/> … … 124 99 </Unit8> 125 100 <Unit9> 126 <Filename Value="..\..\..\..\..\..\..\..\usr\share\fpcsrc\2.4.0\rtl\unix\bunxovlh.inc"/> 127 <WindowIndex Value="0"/> 101 <Filename Value="..\..\..\..\..\..\..\usr\share\fpcsrc\2.4.0\rtl\unix\bunxovlh.inc"/> 128 102 <TopLine Value="16"/> 129 103 <CursorPos X="60" Y="32"/> … … 131 105 </Unit9> 132 106 <Unit10> 133 <Filename Value="..\..\..\..\..\..\..\..\usr\share\fpcsrc\2.4.0\rtl\unix\aliasptp.inc"/> 134 <WindowIndex Value="0"/> 107 <Filename Value="..\..\..\..\..\..\..\usr\share\fpcsrc\2.4.0\rtl\unix\aliasptp.inc"/> 135 108 <TopLine Value="16"/> 136 109 <CursorPos X="27" Y="32"/> … … 138 111 </Unit10> 139 112 <Unit11> 140 <Filename Value="..\..\..\..\..\..\..\..\usr\share\fpcsrc\2.4.0\rtl\linux\ptypes.inc"/> 141 <WindowIndex Value="0"/> 113 <Filename Value="..\..\..\..\..\..\..\usr\share\fpcsrc\2.4.0\rtl\linux\ptypes.inc"/> 142 114 <TopLine Value="41"/> 143 115 <CursorPos X="22" Y="57"/> … … 145 117 </Unit11> 146 118 <Unit12> 147 <Filename Value="..\..\..\..\..\..\..\..\usr\share\fpcsrc\2.4.0\rtl\unix\ctypes.inc"/> 148 <WindowIndex Value="0"/> 119 <Filename Value="..\..\..\..\..\..\..\usr\share\fpcsrc\2.4.0\rtl\unix\ctypes.inc"/> 149 120 <TopLine Value="21"/> 150 121 <CursorPos X="3" Y="37"/> … … 152 123 </Unit12> 153 124 <Unit13> 154 <Filename Value="..\..\..\..\..\..\..\..\usr\share\fpcsrc\2.4.0\rtl\objpas\math.pp"/> 155 <UnitName Value="math"/> 156 <WindowIndex Value="0"/> 125 <Filename Value="..\..\..\..\..\..\..\usr\share\fpcsrc\2.4.0\rtl\objpas\math.pp"/> 157 126 <TopLine Value="308"/> 158 127 <CursorPos X="10" Y="324"/> … … 160 129 </Unit13> 161 130 <Unit14> 162 <Filename Value="..\..\..\..\..\..\..\..\usr\share\fpcsrc\2.4.0\rtl\inc\mathh.inc"/> 163 <WindowIndex Value="0"/> 131 <Filename Value="..\..\..\..\..\..\..\usr\share\fpcsrc\2.4.0\rtl\inc\mathh.inc"/> 164 132 <TopLine Value="62"/> 165 133 <CursorPos X="14" Y="78"/> … … 168 136 <Unit15> 169 137 <Filename Value="..\..\..\..\..\lazarus\lcl\include\control.inc"/> 170 <EditorIndex Value="1"/> 171 <WindowIndex Value="0"/> 138 <EditorIndex Value="-1"/> 172 139 <TopLine Value="2784"/> 173 <CursorPos X="1"Y="2808"/>140 <CursorPos Y="2808"/> 174 141 <UsageCount Value="10"/> 175 <Loaded Value="True"/>176 142 </Unit15> 177 143 </Units> 178 <JumpHistory Count="30" HistoryIndex="29"> 179 <Position1> 180 <Filename Value="..\..\UDynNumber.pas"/> 181 <Caret Line="47" Column="1" TopLine="31"/> 182 </Position1> 183 <Position2> 184 <Filename Value="..\..\UDynNumber.pas"/> 185 <Caret Line="48" Column="1" TopLine="31"/> 186 </Position2> 187 <Position3> 188 <Filename Value="..\..\UDynNumber.pas"/> 189 <Caret Line="49" Column="1" TopLine="31"/> 190 </Position3> 191 <Position4> 192 <Filename Value="..\..\UDynNumber.pas"/> 193 <Caret Line="60" Column="1" TopLine="43"/> 194 </Position4> 195 <Position5> 196 <Filename Value="..\..\UDynNumber.pas"/> 197 <Caret Line="61" Column="1" TopLine="43"/> 198 </Position5> 199 <Position6> 200 <Filename Value="..\..\UDynNumber.pas"/> 201 <Caret Line="62" Column="1" TopLine="43"/> 202 </Position6> 203 <Position7> 204 <Filename Value="..\..\UDynNumber.pas"/> 205 <Caret Line="64" Column="1" TopLine="43"/> 206 </Position7> 207 <Position8> 208 <Filename Value="..\..\UDynNumber.pas"/> 209 <Caret Line="65" Column="1" TopLine="43"/> 210 </Position8> 211 <Position9> 212 <Filename Value="..\..\UDynNumber.pas"/> 213 <Caret Line="66" Column="1" TopLine="43"/> 214 </Position9> 215 <Position10> 216 <Filename Value="..\..\UDynNumber.pas"/> 217 <Caret Line="67" Column="1" TopLine="43"/> 218 </Position10> 219 <Position11> 220 <Filename Value="..\..\UDynNumber.pas"/> 221 <Caret Line="50" Column="1" TopLine="43"/> 222 </Position11> 223 <Position12> 224 <Filename Value="..\..\UDynNumber.pas"/> 225 <Caret Line="51" Column="1" TopLine="43"/> 226 </Position12> 227 <Position13> 228 <Filename Value="..\..\UDynNumber.pas"/> 229 <Caret Line="52" Column="1" TopLine="43"/> 230 </Position13> 231 <Position14> 232 <Filename Value="..\..\UDynNumber.pas"/> 233 <Caret Line="53" Column="2" TopLine="40"/> 234 </Position14> 235 <Position15> 236 <Filename Value="..\..\UDynNumber.pas"/> 237 <Caret Line="47" Column="1" TopLine="40"/> 238 </Position15> 239 <Position16> 240 <Filename Value="..\..\UDynNumber.pas"/> 241 <Caret Line="48" Column="1" TopLine="40"/> 242 </Position16> 243 <Position17> 244 <Filename Value="..\..\UDynNumber.pas"/> 245 <Caret Line="49" Column="1" TopLine="40"/> 246 </Position17> 247 <Position18> 248 <Filename Value="..\..\UDynNumber.pas"/> 249 <Caret Line="60" Column="1" TopLine="40"/> 250 </Position18> 251 <Position19> 252 <Filename Value="..\..\UDynNumber.pas"/> 253 <Caret Line="61" Column="1" TopLine="40"/> 254 </Position19> 255 <Position20> 256 <Filename Value="..\..\UDynNumber.pas"/> 257 <Caret Line="62" Column="1" TopLine="40"/> 258 </Position20> 259 <Position21> 260 <Filename Value="..\..\UDynNumber.pas"/> 261 <Caret Line="64" Column="1" TopLine="40"/> 262 </Position21> 263 <Position22> 264 <Filename Value="..\..\UDynNumber.pas"/> 265 <Caret Line="65" Column="1" TopLine="40"/> 266 </Position22> 267 <Position23> 268 <Filename Value="..\..\UDynNumber.pas"/> 269 <Caret Line="66" Column="1" TopLine="40"/> 270 </Position23> 271 <Position24> 272 <Filename Value="..\..\UDynNumber.pas"/> 273 <Caret Line="67" Column="1" TopLine="40"/> 274 </Position24> 275 <Position25> 276 <Filename Value="..\..\UDynNumber.pas"/> 277 <Caret Line="50" Column="1" TopLine="40"/> 278 </Position25> 279 <Position26> 280 <Filename Value="..\..\UDynNumber.pas"/> 281 <Caret Line="51" Column="1" TopLine="40"/> 282 </Position26> 283 <Position27> 284 <Filename Value="..\..\UDynNumber.pas"/> 285 <Caret Line="65" Column="30" TopLine="39"/> 286 </Position27> 287 <Position28> 288 <Filename Value="..\..\UBitStream.pas"/> 289 <Caret Line="162" Column="5" TopLine="150"/> 290 </Position28> 291 <Position29> 292 <Filename Value="..\..\UBitStream.pas"/> 293 <Caret Line="163" Column="31" TopLine="150"/> 294 </Position29> 295 <Position30> 296 <Filename Value="..\..\UBitStream.pas"/> 297 <Caret Line="161" Column="14" TopLine="146"/> 298 </Position30> 299 </JumpHistory> 144 <JumpHistory HistoryIndex="-1"/> 300 145 </ProjectOptions> 301 146 <CompilerOptions> 302 <Version Value=" 9"/>147 <Version Value="11"/> 303 148 <PathDelim Value="\"/> 304 149 <Target> … … 309 154 <UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/> 310 155 </SearchPaths> 156 <Parsing> 157 <SyntaxOptions> 158 <SyntaxMode Value="Delphi"/> 159 </SyntaxOptions> 160 </Parsing> 311 161 <CodeGeneration> 312 162 <Checks> … … 319 169 <Linking> 320 170 <Debugging> 171 <DebugInfoType Value="dsDwarf3"/> 321 172 <UseHeaptrc Value="True"/> 322 173 </Debugging> … … 327 178 </Options> 328 179 </Linking> 329 <Other>330 <CompilerMessages>331 <UseMsgFile Value="True"/>332 </CompilerMessages>333 <CompilerPath Value="$(CompPath)"/>334 </Other>335 180 </CompilerOptions> 336 181 <Debugging> -
CoolStreaming/Demo/DynNumber/DynNumberDemo.lpr
r126 r572 20 20 SetHeapTraceOutput(ExtractFilePath(ParamStr(0)) + HeapTraceLog); 21 21 22 Application.Title:=''; 22 23 Application.Initialize; 23 24 Application.CreateForm(TMainForm, MainForm); -
CoolStreaming/Demo/DynNumber/UMainForm.lfm
r128 r572 1 1 object MainForm: TMainForm 2 2 Left = 321 3 Height = 4953 Height = 742 4 4 Top = 114 5 Width = 6695 Width = 1004 6 6 Caption = 'DynNumber Demo' 7 ClientHeight = 495 8 ClientWidth = 669 7 ClientHeight = 742 8 ClientWidth = 1004 9 DesignTimePPI = 144 9 10 OnCreate = FormCreate 10 11 OnDestroy = FormDestroy 11 LCLVersion = ' 0.9.31'12 LCLVersion = '3.4.0.0' 12 13 object PageControl1: TPageControl 13 Left = 814 Height = 48015 Top = 816 Width = 65614 Left = 12 15 Height = 720 16 Top = 12 17 Width = 984 17 18 ActivePage = TabSheet2 18 19 Anchors = [akTop, akLeft, akRight, akBottom] … … 21 22 object TabSheet1: TTabSheet 22 23 Caption = 'Generator' 23 ClientHeight = 44924 ClientWidth = 65224 ClientHeight = 680 25 ClientWidth = 974 25 26 object Button1: TButton 26 Left = 1 127 Height = 2528 Top = 1 029 Width = 7527 Left = 16 28 Height = 38 29 Top = 15 30 Width = 112 30 31 Caption = 'Generate' 32 TabOrder = 0 31 33 OnClick = Button1Click 32 TabOrder = 033 34 end 34 35 object Button2: TButton 35 Left = 37436 Height = 2537 Top = 1 138 Width = 7536 Left = 561 37 Height = 38 38 Top = 16 39 Width = 112 39 40 Caption = 'test' 41 TabOrder = 1 40 42 OnClick = Button2Click 41 TabOrder = 142 43 end 43 44 object SpinEdit1: TSpinEdit 44 Left = 9945 Height = 2546 Top = 1 047 Width = 1 0645 Left = 148 46 Height = 43 47 Top = 15 48 Width = 159 48 49 MaxValue = 100000000 49 50 TabOrder = 2 … … 51 52 end 52 53 object ListView1: TListView 53 Left = 1 154 Height = 40055 Top = 4356 Width = 63554 Left = 16 55 Height = 607 56 Top = 64 57 Width = 949 57 58 Anchors = [akTop, akLeft, akRight, akBottom] 58 59 Columns = < 59 60 item 60 61 Caption = 'Number' 61 Width = 7062 Width = 105 62 63 end 63 64 item 64 65 Caption = 'Overhead' 65 Width = 7066 Width = 105 66 67 end 67 68 item 68 69 Caption = 'Value' 69 Width = 49470 Width = 741 70 71 end> 71 72 TabOrder = 3 … … 75 76 object TabSheet2: TTabSheet 76 77 Caption = 'Encoder' 77 ClientHeight = 44978 ClientWidth = 65278 ClientHeight = 680 79 ClientWidth = 974 79 80 object Edit1: TEdit 80 Left = 881 Height = 2582 Top = 883 Width = 63881 Left = 12 82 Height = 43 83 Top = 12 84 Width = 953 84 85 Anchors = [akTop, akLeft, akRight] 85 86 TabOrder = 0 … … 87 88 end 88 89 object Button3: TButton 89 Left = 890 Height = 2591 Top = 4292 Width = 14290 Left = 12 91 Height = 38 92 Top = 63 93 Width = 213 93 94 Caption = 'Encode' 95 TabOrder = 1 94 96 OnClick = Button3Click 95 TabOrder = 196 97 end 97 98 object Edit2: TEdit 98 Left = 699 Height = 25100 Top = 75101 Width = 63899 Left = 9 100 Height = 43 101 Top = 112 102 Width = 953 102 103 Anchors = [akTop, akLeft, akRight] 103 104 TabOrder = 2 … … 105 106 end 106 107 object Button4: TButton 107 Left = 8108 Height = 25109 Top = 1 07110 Width = 142108 Left = 12 109 Height = 38 110 Top = 160 111 Width = 213 111 112 Caption = 'Decode' 113 TabOrder = 3 112 114 OnClick = Button4Click 113 TabOrder = 3114 115 end 115 116 end 116 117 end 117 118 object Edit3: TEdit 118 Left = 16119 Height = 25120 Top = 176121 Width = 638119 Left = 24 120 Height = 43 121 Top = 264 122 Width = 958 122 123 Anchors = [akTop, akLeft, akRight] 123 124 TabOrder = 1 -
CoolStreaming/Demo/DynNumber/UMainForm.pas
r128 r572 1 1 unit UMainForm; 2 3 {$mode objfpc}{$H+}4 2 5 3 interface … … 7 5 uses 8 6 Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls, 9 ComCtrls, Spin, UDynNumber, Math;7 ComCtrls, Spin, DynNumber, Math; 10 8 11 9 type
Note:
See TracChangeset
for help on using the changeset viewer.