Ignore:
Timestamp:
Apr 15, 2024, 8:59:23 PM (4 weeks ago)
Author:
chronos
Message:
  • Modified: Code cleanup.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Packages/CevoComponents/ScreenTools.pas

    r533 r536  
    12331233  P, xp: Integer;
    12341234  sp: string;
    1235   shadow: Boolean;
     1235  Shadow: Boolean;
    12361236  Text: string;
    12371237begin
    12381238  Inc(X);
    12391239  Inc(Y);
    1240   for shadow := True downto False do
     1240  for Shadow := True downto False do
    12411241    with Canvas do
    1242       if not shadow or (clBack <> $7F007F) then
     1242      if not Shadow or (clBack <> $7F007F) then
    12431243      begin
    1244         if shadow then
     1244        if Shadow then
    12451245          Font.Color := clBack
    12461246        else
     
    12531253            (sp[P + 1] in ['c', 'f', 'l', 'm', 'n', 'o', 'p', 'r', 't', 'w']) then
    12541254          begin
    1255             Canvas.Textout(xp, Y, sp);
     1255            Canvas.TextOut(xp, Y, sp);
    12561256            Break;
    12571257          end
     
    12591259          begin
    12601260            Text := Copy(sp, 1, P - 1);
    1261             Textout(xp, Y, Text);
     1261            TextOut(xp, Y, Text);
    12621262            Inc(xp, Canvas.TextWidth(Text));
    1263             if not shadow then
     1263            if not Shadow then
    12641264              case sp[P + 1] of
    12651265                'c': PaintIcon(xp + 1, Y, 6);
Note: See TracChangeset for help on using the changeset viewer.