Стартовый пул

This commit is contained in:
2024-04-02 08:46:59 +03:00
parent fd57fffd3a
commit 3bb34d000b
5591 changed files with 3291734 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 KiB

View File

@@ -0,0 +1,88 @@
<?xml version="1.0" encoding="UTF-8"?>
<CONFIG>
<ProjectOptions>
<Version Value="12"/>
<PathDelim Value="\"/>
<General>
<Flags>
<CompatibilityMode Value="True"/>
</Flags>
<SessionStorage Value="InProjectDir"/>
<Title Value="test"/>
<Scaled Value="True"/>
<ResourceType Value="res"/>
<UseXPManifest Value="True"/>
<XPManifest>
<DpiAware Value="True"/>
</XPManifest>
<Icon Value="0"/>
</General>
<BuildModes Count="1">
<Item1 Name="Default" Default="True"/>
</BuildModes>
<PublishOptions>
<Version Value="2"/>
</PublishOptions>
<RunParams>
<FormatVersion Value="2"/>
<Modes Count="1">
<Mode0 Name="default"/>
</Modes>
</RunParams>
<RequiredPackages Count="2">
<Item1>
<PackageName Value="bgracontrols"/>
</Item1>
<Item2>
<PackageName Value="LCL"/>
</Item2>
</RequiredPackages>
<Units Count="2">
<Unit0>
<Filename Value="test.lpr"/>
<IsPartOfProject Value="True"/>
</Unit0>
<Unit1>
<Filename Value="umain.pas"/>
<IsPartOfProject Value="True"/>
<ComponentName Value="Form1"/>
<HasResources Value="True"/>
<ResourceBaseClass Value="Form"/>
</Unit1>
</Units>
</ProjectOptions>
<CompilerOptions>
<Version Value="11"/>
<PathDelim Value="\"/>
<Target>
<Filename Value="test"/>
</Target>
<SearchPaths>
<IncludeFiles Value="$(ProjOutDir)"/>
<UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/>
</SearchPaths>
<Linking>
<Debugging>
<DebugInfoType Value="dsDwarf2Set"/>
</Debugging>
<Options>
<Win32>
<GraphicApplication Value="True"/>
</Win32>
</Options>
</Linking>
</CompilerOptions>
<Debugging>
<Exceptions Count="3">
<Item1>
<Name Value="EAbort"/>
</Item1>
<Item2>
<Name Value="ECodetoolError"/>
</Item2>
<Item3>
<Name Value="EFOpenError"/>
</Item3>
</Exceptions>
</Debugging>
</CONFIG>

View File

@@ -0,0 +1,22 @@
program test;
{$mode objfpc}{$H+}
uses
{$IFDEF UNIX}{$IFDEF UseCThreads}
cthreads,
{$ENDIF}{$ENDIF}
Interfaces, // this includes the LCL widgetset
Forms, umain
{ you can add units after this };
{$R *.res}
begin
RequireDerivedFormResource:=True;
Application.Scaled:=True;
Application.Initialize;
Application.CreateForm(TForm1, Form1);
Application.Run;
end.

View File

@@ -0,0 +1,296 @@
object Form1: TForm1
Left = 321
Height = 391
Top = 123
Width = 645
Caption = 'Material Design Button with Focus'
ClientHeight = 391
ClientWidth = 645
DesignTimePPI = 120
OnCreate = FormCreate
LCLVersion = '1.8.4.0'
object BCMDButtonFocus1: TBCMDButtonFocus
Left = 10
Height = 30
Top = 10
Width = 157
Animation = True
StyleNormal.Color = clWhite
StyleNormal.TextColor = clBlack
StyleHover.Color = 14474460
StyleHover.TextColor = clBlack
StyleActive.Color = 13027014
StyleActive.TextColor = clBlack
StyleDisabled.Color = clWhite
StyleDisabled.TextColor = 10724259
TextAutoSize = True
TextProportional = False
TextProportionalRatio = 0.5
AutoSize = True
Caption = 'BCMDButtonFocus1'
ParentFont = False
end
object BCMDButtonFocus2: TBCMDButtonFocus
Left = 10
Height = 30
Top = 60
Width = 157
Animation = True
StyleNormal.Color = clWhite
StyleNormal.TextColor = clBlack
StyleHover.Color = 14474460
StyleHover.TextColor = clBlack
StyleActive.Color = 13027014
StyleActive.TextColor = clBlack
StyleDisabled.Color = clWhite
StyleDisabled.TextColor = 10724259
TextAutoSize = True
TextProportional = False
TextProportionalRatio = 0.5
AutoSize = True
Caption = 'BCMDButtonFocus2'
ParentFont = False
end
object BCMDButtonFocus3: TBCMDButtonFocus
Left = 170
Height = 30
Top = 10
Width = 157
Animation = True
StyleNormal.Color = clWhite
StyleNormal.TextColor = clBlack
StyleHover.Color = 14474460
StyleHover.TextColor = clBlack
StyleActive.Color = 13027014
StyleActive.TextColor = clBlack
StyleDisabled.Color = clWhite
StyleDisabled.TextColor = 10724259
Kind = mdbkCheckBox
TextAutoSize = True
TextProportional = False
TextProportionalRatio = 0.5
AutoSize = True
Caption = 'BCMDButtonFocus3'
ParentFont = False
end
object BCMDButtonFocus4: TBCMDButtonFocus
Left = 170
Height = 30
Top = 60
Width = 157
Animation = True
StyleNormal.Color = clWhite
StyleNormal.TextColor = clBlack
StyleHover.Color = 14474460
StyleHover.TextColor = clBlack
StyleActive.Color = 13027014
StyleActive.TextColor = clBlack
StyleDisabled.Color = clWhite
StyleDisabled.TextColor = 10724259
Kind = mdbkCheckBox
TextAutoSize = True
TextProportional = False
TextProportionalRatio = 0.5
AutoSize = True
Caption = 'BCMDButtonFocus4'
ParentFont = False
end
object BCMDButtonFocus5: TBCMDButtonFocus
Left = 10
Height = 30
Top = 110
Width = 157
Animation = True
StyleNormal.Color = clWhite
StyleNormal.TextColor = clBlack
StyleHover.Color = 14474460
StyleHover.TextColor = clBlack
StyleActive.Color = 13027014
StyleActive.TextColor = clBlack
StyleDisabled.Color = clWhite
StyleDisabled.TextColor = 10724259
Kind = mdbkRadioButton
TextAutoSize = True
TextProportional = False
TextProportionalRatio = 0.5
AutoSize = True
Caption = 'BCMDButtonFocus5'
ParentFont = False
end
object BCMDButtonFocus6: TBCMDButtonFocus
Left = 10
Height = 30
Top = 160
Width = 157
Animation = True
StyleNormal.Color = clWhite
StyleNormal.TextColor = clBlack
StyleHover.Color = 14474460
StyleHover.TextColor = clBlack
StyleActive.Color = 13027014
StyleActive.TextColor = clBlack
StyleDisabled.Color = clWhite
StyleDisabled.TextColor = 10724259
Kind = mdbkRadioButton
TextAutoSize = True
TextProportional = False
TextProportionalRatio = 0.5
AutoSize = True
Caption = 'BCMDButtonFocus6'
ParentFont = False
end
object BCMDButtonFocus7: TBCMDButtonFocus
Left = 170
Height = 30
Top = 110
Width = 157
Animation = True
StyleNormal.Color = clWhite
StyleNormal.TextColor = clBlack
StyleHover.Color = 14474460
StyleHover.TextColor = clBlack
StyleActive.Color = 13027014
StyleActive.TextColor = clBlack
StyleDisabled.Color = clWhite
StyleDisabled.TextColor = 10724259
Kind = mdbkTab
TextAutoSize = True
TextProportional = False
TextProportionalRatio = 0.5
AutoSize = True
Caption = 'BCMDButtonFocus7'
ParentFont = False
end
object BCMDButtonFocus8: TBCMDButtonFocus
Left = 170
Height = 30
Top = 160
Width = 157
Animation = True
StyleNormal.Color = clWhite
StyleNormal.TextColor = clBlack
StyleHover.Color = 14474460
StyleHover.TextColor = clBlack
StyleActive.Color = 13027014
StyleActive.TextColor = clBlack
StyleDisabled.Color = clWhite
StyleDisabled.TextColor = 10724259
Kind = mdbkTab
TextAutoSize = True
TextProportional = False
TextProportionalRatio = 0.5
AutoSize = True
Caption = 'BCMDButtonFocus8'
ParentFont = False
end
object BCMDButtonFocus9: TBCMDButtonFocus
Left = 10
Height = 30
Top = 210
Width = 157
Animation = True
StyleNormal.Color = clWhite
StyleNormal.TextColor = clBlack
StyleHover.Color = 14474460
StyleHover.TextColor = clBlack
StyleActive.Color = 13027014
StyleActive.TextColor = clBlack
StyleDisabled.Color = clWhite
StyleDisabled.TextColor = 10724259
Kind = mdbkToggle
TextAutoSize = True
TextProportional = False
TextProportionalRatio = 0.5
AutoSize = True
Caption = 'BCMDButtonFocus9'
ParentFont = False
end
object BCMDButtonFocus10: TBCMDButtonFocus
Left = 10
Height = 30
Top = 260
Width = 165
Animation = True
StyleNormal.Color = clWhite
StyleNormal.TextColor = clBlack
StyleHover.Color = 14474460
StyleHover.TextColor = clBlack
StyleActive.Color = 13027014
StyleActive.TextColor = clBlack
StyleDisabled.Color = clWhite
StyleDisabled.TextColor = 10724259
Kind = mdbkToggle
TextAutoSize = True
TextProportional = False
TextProportionalRatio = 0.5
AutoSize = True
Caption = 'BCMDButtonFocus10'
ParentFont = False
end
object BCMDButtonFocus11: TBCMDButtonFocus
Left = 170
Height = 30
Top = 210
Width = 165
Animation = True
StyleNormal.Color = clWhite
StyleNormal.TextColor = clBlack
StyleHover.Color = 14474460
StyleHover.TextColor = clBlack
StyleActive.Color = 13027014
StyleActive.TextColor = clBlack
StyleDisabled.Color = clWhite
StyleDisabled.TextColor = 10724259
Kind = mdbkToggleGroup
TextAutoSize = True
TextProportional = False
TextProportionalRatio = 0.5
AutoSize = True
Caption = 'BCMDButtonFocus11'
ParentFont = False
end
object BCMDButtonFocus12: TBCMDButtonFocus
Left = 170
Height = 30
Top = 260
Width = 165
Animation = True
StyleNormal.Color = clWhite
StyleNormal.TextColor = clBlack
StyleHover.Color = 14474460
StyleHover.TextColor = clBlack
StyleActive.Color = 13027014
StyleActive.TextColor = clBlack
StyleDisabled.Color = clWhite
StyleDisabled.TextColor = 10724259
Kind = mdbkToggleGroup
TextAutoSize = True
TextProportional = False
TextProportionalRatio = 0.5
AutoSize = True
Caption = 'BCMDButtonFocus12'
ParentFont = False
end
object BCMDButton1: TBCMDButton
Left = 460
Height = 31
Top = 10
Width = 174
StyleNormal.Color = clWhite
StyleNormal.TextColor = clBlack
StyleHover.Color = 14474460
StyleHover.TextColor = clBlack
StyleActive.Color = 13027014
StyleActive.TextColor = clBlack
StyleDisabled.Color = clWhite
StyleDisabled.TextColor = 10724259
Checked = True
Kind = mdbkCheckBox
TextAutoSize = True
TextProportional = False
TextProportionalRatio = 0.5
Caption = 'Animation'
OnClick = BCMDButton1Click
ParentFont = False
end
end

View File

@@ -0,0 +1,57 @@
unit umain;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, BCMDButtonFocus,
BCMDButton;
type
{ TForm1 }
TForm1 = class(TForm)
BCMDButton1: TBCMDButton;
BCMDButtonFocus1: TBCMDButtonFocus;
BCMDButtonFocus10: TBCMDButtonFocus;
BCMDButtonFocus11: TBCMDButtonFocus;
BCMDButtonFocus12: TBCMDButtonFocus;
BCMDButtonFocus2: TBCMDButtonFocus;
BCMDButtonFocus3: TBCMDButtonFocus;
BCMDButtonFocus4: TBCMDButtonFocus;
BCMDButtonFocus5: TBCMDButtonFocus;
BCMDButtonFocus6: TBCMDButtonFocus;
BCMDButtonFocus7: TBCMDButtonFocus;
BCMDButtonFocus8: TBCMDButtonFocus;
BCMDButtonFocus9: TBCMDButtonFocus;
procedure FormCreate(Sender: TObject);
procedure BCMDButton1Click(Sender: TObject);
private
public
end;
var
Form1: TForm1;
implementation
{$R *.lfm}
{ TForm1 }
procedure TForm1.FormCreate(Sender: TObject);
begin
DoubleBuffered := True;
end;
procedure TForm1.BCMDButton1Click(Sender: TObject);
begin
BCMDBUTTONANIMATION := BCMDButton1.Checked;
end;
end.