Changeset 174 for trunk/Packages/Common
- Timestamp:
- Feb 14, 2018, 10:39:55 AM (7 years ago)
- Location:
- trunk/Packages/Common
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Packages/Common/Common.lpk
r170 r174 40 40 <License Value="GNU/GPL"/> 41 41 <Version Minor="7"/> 42 <Files Count="2 0">42 <Files Count="21"> 43 43 <Item1> 44 44 <Filename Value="StopWatch.pas"/> … … 129 129 <UnitName Value="UScaleDPI"/> 130 130 </Item20> 131 <Item21> 132 <Filename Value="UTheme.pas"/> 133 <HasRegisterProc Value="True"/> 134 <UnitName Value="UTheme"/> 135 </Item21> 131 136 </Files> 132 137 <i18n> -
trunk/Packages/Common/Common.pas
r10 r174 8 8 9 9 uses 10 StopWatch, UCommon, UDebugLog, UDelay, UPrefixMultiplier, UURI, UThreading, 11 UMemory, UResetableThread, UPool, ULastOpenedList, URegistry, 12 UJobProgressView, UXMLUtils, UApplicationInfo, USyncCounter, UListViewSort, 13 UPersistentForm, UFindFile, UScaleDPI, LazarusPackageIntf;10 StopWatch, UCommon, UDebugLog, UDelay, UPrefixMultiplier, UURI, UThreading, 11 UMemory, UResetableThread, UPool, ULastOpenedList, URegistry, 12 UJobProgressView, UXMLUtils, UApplicationInfo, USyncCounter, UListViewSort, 13 UPersistentForm, UFindFile, UScaleDPI, UTheme, LazarusPackageIntf; 14 14 15 15 implementation … … 25 25 RegisterUnit('UFindFile', @UFindFile.Register); 26 26 RegisterUnit('UScaleDPI', @UScaleDPI.Register); 27 RegisterUnit('UTheme', @UTheme.Register); 27 28 end; 28 29 -
trunk/Packages/Common/UListViewSort.pas
r170 r174 353 353 TP1: TPoint; 354 354 XBias, YBias: Integer; 355 OldColor: TColor; 355 PenColor: TColor; 356 BrushColor: TColor; 356 357 BiasTop, BiasLeft: Integer; 357 358 Rect1: TRect; … … 365 366 Item.Left := 0; 366 367 GetCheckBias(XBias, YBias, BiasTop, BiasLeft, ListView); 367 OldColor := ListView.Canvas.Pen.Color; 368 PenColor := ListView.Canvas.Pen.Color; 369 BrushColor := ListView.Canvas.Brush.Color; 368 370 //TP1 := Item.GetPosition; 369 371 lRect := Item.DisplayRect(drBounds); // Windows 7 workaround … … 408 410 end; 409 411 //ListView.Canvas.Brush.Color := ListView.Color; 410 ListView.Canvas.Brush.Color := clWindow;411 ListView.Canvas.Pen.Color := OldColor;412 ListView.Canvas.Brush.Color := BrushColor; 413 ListView.Canvas.Pen.Color := PenColor; 412 414 end; 413 415
Note:
See TracChangeset
for help on using the changeset viewer.