-
-
Notifications
You must be signed in to change notification settings - Fork 34
/
bcreg.pas
57 lines (44 loc) · 2.41 KB
/
bcreg.pas
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
// SPDX-License-Identifier: LGPL-3.0-linking-exception
{******************************* CONTRIBUTOR(S) ******************************
- Edivando S. Santos Brasil | mailedivando@gmail.com
(Compatibility with delphi VCL 11/2018)
***************************** END CONTRIBUTOR(S) *****************************}
unit bcReg;
{$I bgracontrols.inc}
interface
uses
Classes, SysUtils, BCBaseCtrls,
BCButton, BCButtonFocus, BCEffect, bcfilters, BCGameGrid, BCImageButton,
BCLabel, BCListBox, BCMaterialDesignButton, BCPanel, BCRadialProgressBar,
BCRTTI, BCSamples, BCStylesForm, BCSVGButton, BCSVGViewer, BCToolBar,
BCTrackbarUpdown, BGRAFlashProgressBar, BGRAGraphicControl,
BGRAImageList, BGRAImageManipulation, BGRAKnob, BGRAResizeSpeedButton,
BGRAShape, BGRASpeedButton, BGRASpriteAnimation, BGRAVirtualScreen,
ColorSpeedButton, DTAnalogClock, DTAnalogGauge, dtthemedclock,
dtthemedgauge, MaterialColors, bcmdbutton, bcmdbuttonfocus, BCFluentProgressRing,
BCFluentSlider;
procedure Register;
implementation
procedure Register;
begin
{$R images\bgracontrols_images.res}
RegisterNoIcon([TBCCustomControl]);
// RegisterComponents('BGRA Custom Drawn', [TBCDButton, TBCDEdit,
// TBCDStaticText, TBCDProgressBar, TBCDSpinEdit, TBCDCheckBox, TBCDRadioButton, TBCDPanel]);
RegisterComponents('BGRA Controls', [TBGRAShape, TBCListBox, TBCPaperPanel, TBCPaperListBox,
TBCButton, TBCButtonFocus, TDTThemedGauge, TBCLabel, TBCImageButton, TBCXButton, TBCGameGrid,
TDTThemedClock, TDTAnalogGauge, TDTAnalogClock, TColorSpeedButton,
TBGRAVirtualScreen, TBGRASpriteAnimation, TBGRASpeedButton, TBGRAResizeSpeedButton,
TBGRAKnob, TBGRAImageManipulation, TBGRAImageList, TBGRAGraphicControl, TBGRAFlashProgressBar,
TBCTrackbarUpdown, TBCToolBar, TBCSVGViewer, TBCSVGButton, TBCRadialProgressBar,
TBCPanel,TBCMDButtonFocus, TBCMDButton, TBCMaterialDesignButton,
TBCFluentProgressRing, TBCFluentSlider
{TBCDefaultThemeManager, TBCKeyboard, TBCNumericKeyboard, TBCRealNumericKeyboard}]);
{$IFDEF FPC}
RegisterPropertyEditor(TypeInfo(TBCListBox),TBCPaperListBox, 'ListBox', TClassPropertyEditor);
RegisterPropertyEditor(TypeInfo(integer), TBCButton,'ImageIndex', TBCButtonImageIndexPropertyEditor);
RegisterPropertyEditor(TypeInfo(integer), TBCButtonFocus,'ImageIndex', TBCButtonImageIndexPropertyEditor);
RegisterPropertyEditor(TypeInfo(TBCListBox), TBCPaperListBox, 'ListBox', TClassPropertyEditor);
{$ENDIF}
end;
end.