Browse Source

Default theme for BCImageButton. Default image for BCSVGButton. Default theme for ColorSpeedButton.

lainz 7 years ago
parent
commit
39b8cd0d67
3 changed files with 5 additions and 5 deletions
  1. 4 4
      bcimagebutton.pas
  2. 0 0
      bcsvgbutton.pas
  3. 1 1
      colorspeedbutton.pas

+ 4 - 4
bcimagebutton.pas

@@ -1098,13 +1098,13 @@ begin
     FDestRect := Rect(0, 0, Width, Height);
     FDestRect := Rect(0, 0, Width, Height);
 
 
     { Draw default style in cache bitmaps }
     { Draw default style in cache bitmaps }
-    FBGRANormal.Rectangle(0, 0, Width, Height, BGRABlack, BGRA(0, 0, 255),
+    FBGRANormal.Rectangle(0, 0, Width, Height, BGRA(173, 173, 173), BGRA(225, 225, 225),
       dmSet);
       dmSet);
-    FBGRAHover.Rectangle(0, 0, Width, Height, BGRABlack, BGRA(0, 255, 0),
+    FBGRAHover.Rectangle(0, 0, Width, Height, BGRA(0, 120, 215), BGRA(229, 241, 251),
       dmSet);
       dmSet);
-    FBGRAActive.Rectangle(0, 0, Width, Height, BGRABlack, BGRA(255, 0, 0),
+    FBGRAActive.Rectangle(0, 0, Width, Height, BGRA(0, 84, 153), BGRA(204, 228, 247),
       dmSet);
       dmSet);
-    FBGRADisabled.Rectangle(0, 0, Width, Height, BGRABlack, BGRA(100, 100, 100),
+    FBGRADisabled.Rectangle(0, 0, Width, Height, BGRA(191, 191, 191), BGRA(204, 204, 204),
       dmSet);
       dmSet);
 
 
     { Draw Text }
     { Draw Text }

File diff suppressed because it is too large
+ 0 - 0
bcsvgbutton.pas


+ 1 - 1
colorspeedbutton.pas

@@ -520,7 +520,7 @@ begin
   FStateActive.Color := RGBToColor(204, 228, 247);
   FStateActive.Color := RGBToColor(204, 228, 247);
   FStateActive.BorderColor := RGBToColor(0, 84, 153);
   FStateActive.BorderColor := RGBToColor(0, 84, 153);
   FStateDisabled.Color := RGBToColor(204, 204, 204);
   FStateDisabled.Color := RGBToColor(204, 204, 204);
-  FStateDisabled.Color := RGBToColor(191, 191, 191);
+  FStateDisabled.BorderColor := RGBToColor(191, 191, 191);
   Font.Color := clBlack;
   Font.Color := clBlack;
   FTextAutoSize := True;
   FTextAutoSize := True;
 end;
 end;

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