bcreg.pas 2.4 KB

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