You've already forked lazarus-ccr
* Gtk - Draw dotted line using a bitmap brush like win32
* Workaround to LCL bug 8823 git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@163 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -4764,6 +4764,7 @@ begin
|
||||
else
|
||||
Images.Handle := LoadBitmap(FindClassHInstance(TBaseVirtualTree), PChar(ImageName));
|
||||
}
|
||||
Images.TransparentColor := clNone;
|
||||
Images.LoadFromLazarusResource(ImageName);
|
||||
Logger.SendBitmap([lcCheck],ImageName,Images);
|
||||
try
|
||||
@ -13702,8 +13703,7 @@ begin
|
||||
|
||||
if NeedLines then
|
||||
begin
|
||||
//Workaround till LCL gets fixed
|
||||
{$ifdef Windows}
|
||||
//WARNING: It requires a patched LCL
|
||||
if FDottedBrush <> 0 then
|
||||
DeleteObject(FDottedBrush);
|
||||
|
||||
@ -13719,9 +13719,6 @@ begin
|
||||
PatternBitmap := CreateBitmap(8, 8, 1, 1, Bits);
|
||||
FDottedBrush := CreatePatternBrush(PatternBitmap);
|
||||
DeleteObject(PatternBitmap);
|
||||
{$else}
|
||||
FDottedBrush := CreatePatternBrush(0);
|
||||
{$endif}
|
||||
end;
|
||||
end;
|
||||
|
||||
|
@ -17,7 +17,6 @@
|
||||
</VersionInfo>
|
||||
<PublishOptions>
|
||||
<Version Value="2"/>
|
||||
<IgnoreBinaries Value="False"/>
|
||||
<IncludeFileFilter Value="*.(pas|pp|inc|lfm|lpr|lrs|lpi|lpk|sh|xml)"/>
|
||||
<ExcludeFileFilter Value="*.(bak|ppu|ppw|o|so);*~;backup"/>
|
||||
</PublishOptions>
|
||||
|
@ -64,6 +64,9 @@
|
||||
</ProjectOptions>
|
||||
<CompilerOptions>
|
||||
<Version Value="5"/>
|
||||
<SearchPaths>
|
||||
<LCLWidgetType Value="gtk"/>
|
||||
</SearchPaths>
|
||||
<CodeGeneration>
|
||||
<Generate Value="Faster"/>
|
||||
</CodeGeneration>
|
||||
|
Reference in New Issue
Block a user