You've already forked lazarus-ccr
* Make the target output dir different for each widgetset
* Workaround to buggy ScrollWindowEx under Qt and Gtk git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@421 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -18652,9 +18652,16 @@ begin
|
||||
Inc(R.Bottom, FHeader.Height);
|
||||
end;
|
||||
Logger.Send([lcScroll], 'Rect to Scroll', R);
|
||||
//todo: temporary hack to avoid some drawing problems.
|
||||
//Will be removed when scrollwindowex is properly implemented in all widgets
|
||||
{$ifdef LCLQt}
|
||||
DelphiCompat.ScrollWindow(Handle, DeltaX, DeltaY, @R, @R);
|
||||
{$else}
|
||||
ScrollWindowEx(Handle, DeltaX, DeltaY, @R, @R,0, nil, SW_INVALIDATE or SW_SCROLLCHILDREN);
|
||||
//todo: temporary hack to avoid some drawing problems. Will be removed when the header is properly implemented
|
||||
//InvalidateRect(Handle, nil, True);
|
||||
{$endif}
|
||||
{$ifdef Gtk}
|
||||
InvalidateRect(Handle, nil, True);
|
||||
{$endif}
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?xml version="1.0"?>
|
||||
<CONFIG>
|
||||
<Package Version="2">
|
||||
<Package Version="3">
|
||||
<Name Value="virtualtreeview_package"/>
|
||||
<Author Value="Mike Lischke (LCL Port: Luiz Americo)"/>
|
||||
<CompilerOptions>
|
||||
@ -8,7 +8,7 @@
|
||||
<SearchPaths>
|
||||
<IncludeFiles Value="include/intf/$(LCLWidgetType)/;units/;include/intf/"/>
|
||||
<OtherUnitFiles Value="units/$(LCLWidgetType)/"/>
|
||||
<UnitOutputDirectory Value="lib/$(TargetCPU)-$(TargetOS)"/>
|
||||
<UnitOutputDirectory Value="lib/$(TargetCPU)-$(TargetOS)-$(LCLWidgetType)"/>
|
||||
</SearchPaths>
|
||||
<CodeGeneration>
|
||||
<Generate Value="Faster"/>
|
||||
|
Reference in New Issue
Block a user