You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixed bug in draw of disabled TCustomLabel Fixed bug in draw of TRadioButton in wrong Vert. position Improved performance of Detour_WinApi_DrawTextEx Added support for version control forms TVersionControlSelect TCheckoutDialog TGitCheckoutDialog TUseUnitDialog TdlgRepoBrowser
ifnot (TColorizerLocalSettings.Settings.UseVCLStyles and TColorizerLocalSettings.Settings.VCLStylesForms) then
748
+
if TColorizerLocalSettings.Settings.DockCustomColors ornot (TColorizerLocalSettings.Settings.UseVCLStyles and TColorizerLocalSettings.Settings.VCLStylesForms) then
753
749
begin
754
750
if State.Focused then
755
751
begin
@@ -1007,49 +1003,6 @@ function Detour_TDockCaptionDrawer_DrawDockCaption(Self : TDockCaptionDrawerClas
Copy file name to clipboardExpand all lines: delphi-ide-theme-editor/IDE PlugIn/Colorizer.Hooks.Windows.pas
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -314,7 +314,7 @@ function Detour_WinApi_DrawText(hDC: HDC; lpString: LPCWSTR; nCount: Integer; v
314
314
RestoreColor:=False;
315
315
sCaller:='';
316
316
317
-
if (uFormat=2084) and Assigned(TColorizerLocalSettings.Settings) and TColorizerLocalSettings.Settings.Enabled and Assigned(TColorizerLocalSettings.ColorMap) then
317
+
if{(uFormat AND DT_CALCRECT = 0) and}(uFormat=2084) and Assigned(TColorizerLocalSettings.Settings) and TColorizerLocalSettings.Settings.Enabled and Assigned(TColorizerLocalSettings.ColorMap) then
if Assigned(TColorizerLocalSettings.Settings) and TColorizerLocalSettings.Settings.Enabled and Assigned(TColorizerLocalSettings.ColorMap) then
408
+
409
+
if (dwDTFormat AND DT_CALCRECT = 0) and Assigned(TColorizerLocalSettings.Settings) and TColorizerLocalSettings.Settings.Enabled and Assigned(TColorizerLocalSettings.ColorMap) then
409
410
begin
410
411
OrgColor:= GetTextColor(DC);
411
412
if (TColor(OrgColor) = clWhite) or (TColor(OrgColor) = clBlack) then
if (Assigned(TColorizerLocalSettings.Settings) andnot TColorizerLocalSettings.Settings.Enabled) or (csDesigning in Self.ComponentState) or (not Assigned(TColorizerLocalSettings.ColorMap)) then
ifnot (Assigned(LParentForm) and Assigned(TColorizerLocalSettings.HookedWindows) and (TColorizerLocalSettings.HookedWindows.IndexOf(LParentForm.ClassName)>=0)) then
0 commit comments