Стартовый пул
This commit is contained in:
23
ScrollingText/DemoProject/DomoForm.lfm
Normal file
23
ScrollingText/DemoProject/DomoForm.lfm
Normal file
@@ -0,0 +1,23 @@
|
||||
object DomoFrm: TDomoFrm
|
||||
Left = 344
|
||||
Height = 449
|
||||
Top = 145
|
||||
Width = 1500
|
||||
Caption = 'LazScrollingText Demo Project'
|
||||
ClientHeight = 449
|
||||
ClientWidth = 1500
|
||||
Font.CharSet = RUSSIAN_CHARSET
|
||||
Font.Height = -15
|
||||
Font.Name = 'Times New Roman'
|
||||
Font.Pitch = fpVariable
|
||||
Font.Quality = fqDraft
|
||||
OnCreate = FormCreate
|
||||
Position = poScreenCenter
|
||||
LCLVersion = '1.0.10.0'
|
||||
object ScrollingText: TScrollingText
|
||||
Left = 0
|
||||
Height = 448
|
||||
Top = 0
|
||||
Width = 1497
|
||||
end
|
||||
end
|
30
ScrollingText/DemoProject/DomoForm.pas
Normal file
30
ScrollingText/DemoProject/DomoForm.pas
Normal file
@@ -0,0 +1,30 @@
|
||||
unit DomoForm;
|
||||
interface
|
||||
uses Classes, scrollingtext, SysUtils, FileUtil, Forms, Controls, Graphics,
|
||||
Dialogs;
|
||||
type
|
||||
{ TDomoFrm }
|
||||
TDomoFrm = class(TForm)
|
||||
ScrollingText: TScrollingText;
|
||||
procedure FormCreate(Sender: TObject);
|
||||
private
|
||||
public
|
||||
end;
|
||||
var
|
||||
DomoFrm: TDomoFrm;
|
||||
implementation
|
||||
{$R *.lfm}
|
||||
{ TDomoFrm }
|
||||
procedure TDomoFrm.FormCreate(Sender: TObject);
|
||||
begin
|
||||
with ScrollingText do
|
||||
begin
|
||||
Align:= alClient;
|
||||
ReplaceList.Clear;
|
||||
ReplaceList.Add('$packversion$=2.0.2.105');
|
||||
ReplaceList.Add('$author$=Lazarus / GoodBoyAlex');
|
||||
Lines.LoadFromFile('Text.txt');
|
||||
Active:= true;
|
||||
end;
|
||||
end;
|
||||
end.
|
BIN
ScrollingText/DemoProject/LazScrollingTextDemo.ico
Normal file
BIN
ScrollingText/DemoProject/LazScrollingTextDemo.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 134 KiB |
111
ScrollingText/DemoProject/LazScrollingTextDemo.lpi
Normal file
111
ScrollingText/DemoProject/LazScrollingTextDemo.lpi
Normal file
@@ -0,0 +1,111 @@
|
||||
<?xml version="1.0"?>
|
||||
<CONFIG>
|
||||
<ProjectOptions>
|
||||
<Version Value="9"/>
|
||||
<PathDelim Value="\"/>
|
||||
<General>
|
||||
<SessionStorage Value="InProjectDir"/>
|
||||
<MainUnit Value="0"/>
|
||||
<Title Value="LazScrollingText Demo Project"/>
|
||||
<UseAppBundle Value="False"/>
|
||||
<ResourceType Value="res"/>
|
||||
<UseXPManifest Value="True"/>
|
||||
<Icon Value="0"/>
|
||||
</General>
|
||||
<i18n>
|
||||
<EnableI18N LFM="False"/>
|
||||
</i18n>
|
||||
<VersionInfo>
|
||||
<StringTable ProductVersion=""/>
|
||||
</VersionInfo>
|
||||
<BuildModes Count="1">
|
||||
<Item1 Name="Default" Default="True"/>
|
||||
</BuildModes>
|
||||
<PublishOptions>
|
||||
<Version Value="2"/>
|
||||
<IncludeFileFilter Value="*.(pas|pp|inc|lfm|lpr|lrs|lpi|lpk|sh|xml)"/>
|
||||
<ExcludeFileFilter Value="*.(bak|ppu|o|so);*~;backup"/>
|
||||
</PublishOptions>
|
||||
<RunParams>
|
||||
<local>
|
||||
<FormatVersion Value="1"/>
|
||||
</local>
|
||||
</RunParams>
|
||||
<RequiredPackages Count="2">
|
||||
<Item1>
|
||||
<PackageName Value="LazScrollingText"/>
|
||||
</Item1>
|
||||
<Item2>
|
||||
<PackageName Value="LCL"/>
|
||||
</Item2>
|
||||
</RequiredPackages>
|
||||
<Units Count="2">
|
||||
<Unit0>
|
||||
<Filename Value="LazScrollingTextDemo.lpr"/>
|
||||
<IsPartOfProject Value="True"/>
|
||||
<UnitName Value="LazScrollingTextDemo"/>
|
||||
</Unit0>
|
||||
<Unit1>
|
||||
<Filename Value="DomoForm.pas"/>
|
||||
<IsPartOfProject Value="True"/>
|
||||
<ComponentName Value="DomoFrm"/>
|
||||
<HasResources Value="True"/>
|
||||
<ResourceBaseClass Value="Form"/>
|
||||
<UnitName Value="DomoForm"/>
|
||||
</Unit1>
|
||||
</Units>
|
||||
</ProjectOptions>
|
||||
<CompilerOptions>
|
||||
<Version Value="11"/>
|
||||
<PathDelim Value="\"/>
|
||||
<Target>
|
||||
<Filename Value="LazScrollingTextDemo"/>
|
||||
</Target>
|
||||
<SearchPaths>
|
||||
<IncludeFiles Value="$(ProjOutDir)"/>
|
||||
<UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/>
|
||||
</SearchPaths>
|
||||
<Parsing>
|
||||
<SyntaxOptions>
|
||||
<SyntaxMode Value="Delphi"/>
|
||||
</SyntaxOptions>
|
||||
</Parsing>
|
||||
<CodeGeneration>
|
||||
<SmartLinkUnit Value="True"/>
|
||||
<Optimizations>
|
||||
<OptimizationLevel Value="3"/>
|
||||
</Optimizations>
|
||||
</CodeGeneration>
|
||||
<Linking>
|
||||
<Debugging>
|
||||
<StripSymbols Value="True"/>
|
||||
<UseExternalDbgSyms Value="True"/>
|
||||
</Debugging>
|
||||
<LinkSmart Value="True"/>
|
||||
<Options>
|
||||
<Win32>
|
||||
<GraphicApplication Value="True"/>
|
||||
</Win32>
|
||||
</Options>
|
||||
</Linking>
|
||||
<Other>
|
||||
<CompilerMessages>
|
||||
<MsgFileName Value=""/>
|
||||
</CompilerMessages>
|
||||
<CompilerPath Value="$(CompPath)"/>
|
||||
</Other>
|
||||
</CompilerOptions>
|
||||
<Debugging>
|
||||
<Exceptions Count="3">
|
||||
<Item1>
|
||||
<Name Value="EAbort"/>
|
||||
</Item1>
|
||||
<Item2>
|
||||
<Name Value="ECodetoolError"/>
|
||||
</Item2>
|
||||
<Item3>
|
||||
<Name Value="EFOpenError"/>
|
||||
</Item3>
|
||||
</Exceptions>
|
||||
</Debugging>
|
||||
</CONFIG>
|
22
ScrollingText/DemoProject/LazScrollingTextDemo.lpr
Normal file
22
ScrollingText/DemoProject/LazScrollingTextDemo.lpr
Normal file
@@ -0,0 +1,22 @@
|
||||
program LazScrollingTextDemo;
|
||||
|
||||
{$mode objfpc}{$H+}
|
||||
|
||||
uses
|
||||
{$IFDEF UNIX}{$IFDEF UseCThreads}
|
||||
cthreads,
|
||||
{$ENDIF}{$ENDIF}
|
||||
Interfaces, // this includes the LCL widgetset
|
||||
Forms, DomoForm
|
||||
{ you can add units after this };
|
||||
|
||||
{$R *.res}
|
||||
|
||||
begin
|
||||
Application.Title:='LazScrollingText Demo Project';
|
||||
RequireDerivedFormResource := True;
|
||||
Application.Initialize;
|
||||
Application.CreateForm(TDomoFrm, DomoFrm);
|
||||
Application.Run;
|
||||
end.
|
||||
|
7
ScrollingText/DemoProject/Text.txt
Normal file
7
ScrollingText/DemoProject/Text.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
{font: name:Times New Roman; size:18; style:bold,italic;}Эта строка написана Times New Roman размером 18 полужирным курсивом
|
||||
|
||||
{font: name:Segoe Script; size:22; style:underline,strikeout;}Эта строка написана Segoe Script размером 22 подчёркнутая и зачёркнутая
|
||||
|
||||
|
||||
|
||||
{font: name:Times New Roman; size:16; style:;}Версия пакета: $packversion$ от $author$
|
Reference in New Issue
Block a user