Browse Source

Added SVG theme in demo

lainz 5 years ago
parent
commit
e4f4b776ec
2 changed files with 22 additions and 2 deletions
  1. 16 1
      test/test_bgrathemes/umain.lfm
  2. 6 1
      test/test_bgrathemes/umain.pas

File diff suppressed because it is too large
+ 16 - 1
test/test_bgrathemes/umain.lfm


+ 6 - 1
test/test_bgrathemes/umain.pas

@@ -7,7 +7,7 @@ interface
 uses
   Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, BGRATheme,
   BGRAThemeButton, BGRAColorTheme, BGRAImageTheme, BGRAThemeRadioButton,
-  BCListBox, BGRAThemeCheckBox;
+  BCListBox, BGRAThemeCheckBox, BGRASVGTheme;
 
 type
 
@@ -16,6 +16,7 @@ type
   TfrmBGRAThemesButton = class(TForm)
     BGRAColorTheme1: TBGRAColorTheme;
     BGRAImageTheme1: TBGRAImageTheme;
+    BGRASVGTheme1: TBGRASVGTheme;
     BGRATheme1: TBGRATheme;
     BGRAThemeButton1: TBGRAThemeButton;
     BGRAThemeButton2: TBGRAThemeButton;
@@ -64,6 +65,10 @@ begin
       Self.Color := clWhite;
       BGRADefaultTheme := BGRAImageTheme1;
     end;
+    3: begin
+      Self.Color := clWhite;
+      BGRADefaultTheme := BGRASVGTheme1;
+    end;
   end;
   Invalidate;
 end;

Some files were not shown because too many files changed in this diff