Changeset 536 for trunk/Packages
- Timestamp:
- Apr 15, 2024, 8:59:23 PM (7 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Packages/CevoComponents/ScreenTools.pas
r533 r536 1233 1233 P, xp: Integer; 1234 1234 sp: string; 1235 shadow: Boolean;1235 Shadow: Boolean; 1236 1236 Text: string; 1237 1237 begin 1238 1238 Inc(X); 1239 1239 Inc(Y); 1240 for shadow := True downto False do1240 for Shadow := True downto False do 1241 1241 with Canvas do 1242 if not shadow or (clBack <> $7F007F) then1242 if not Shadow or (clBack <> $7F007F) then 1243 1243 begin 1244 if shadow then1244 if Shadow then 1245 1245 Font.Color := clBack 1246 1246 else … … 1253 1253 (sp[P + 1] in ['c', 'f', 'l', 'm', 'n', 'o', 'p', 'r', 't', 'w']) then 1254 1254 begin 1255 Canvas.Text out(xp, Y, sp);1255 Canvas.TextOut(xp, Y, sp); 1256 1256 Break; 1257 1257 end … … 1259 1259 begin 1260 1260 Text := Copy(sp, 1, P - 1); 1261 Text out(xp, Y, Text);1261 TextOut(xp, Y, Text); 1262 1262 Inc(xp, Canvas.TextWidth(Text)); 1263 if not shadow then1263 if not Shadow then 1264 1264 case sp[P + 1] of 1265 1265 'c': PaintIcon(xp + 1, Y, 6);
Note:
See TracChangeset
for help on using the changeset viewer.