Changeset 317 for trunk/Packages/CevoComponents/ScreenTools.pas
- Timestamp:
- Mar 19, 2021, 9:59:02 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Packages/CevoComponents/ScreenTools.pas
r316 r317 92 92 procedure VLightGradient(ca: TCanvas; x, y, Height, Color: integer); 93 93 procedure VDarkGradient(ca: TCanvas; x, y, Height, Kind: integer); 94 procedure UnderlinedTitleValue(Canvas: TCanvas; Title, Value: string; X, Y, Width: Integer); 94 95 procedure NumberBar(dst: TBitmap; x, y: integer; Cap: string; val: integer; 95 96 const T: TTexture); … … 1313 1314 Gradient(ca, x, y, 1, 0, 0, Height, 1314 1315 HGrSystem.Data.Canvas.Pixels[187, 137 + Kind], Brightness); 1316 end; 1317 1318 procedure UnderlinedTitleValue(Canvas: TCanvas; Title, Value: string; X, Y, Width: Integer); 1319 begin 1320 DLine(Canvas, X, X + Width, Y + 19, MainTexture.clBevelLight, MainTexture.clBevelShade); 1321 RisedTextOut(Canvas, X, Y, Title); 1322 RisedTextOut(Canvas, X + Width - BiColorTextWidth(Canvas, Value), Y, Value); 1315 1323 end; 1316 1324
Note:
See TracChangeset
for help on using the changeset viewer.