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);
|
Inc(R.Bottom, FHeader.Height);
|
||||||
end;
|
end;
|
||||||
Logger.Send([lcScroll], 'Rect to Scroll', R);
|
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);
|
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
|
{$endif}
|
||||||
//InvalidateRect(Handle, nil, True);
|
{$ifdef Gtk}
|
||||||
|
InvalidateRect(Handle, nil, True);
|
||||||
|
{$endif}
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<CONFIG>
|
<CONFIG>
|
||||||
<Package Version="2">
|
<Package Version="3">
|
||||||
<Name Value="virtualtreeview_package"/>
|
<Name Value="virtualtreeview_package"/>
|
||||||
<Author Value="Mike Lischke (LCL Port: Luiz Americo)"/>
|
<Author Value="Mike Lischke (LCL Port: Luiz Americo)"/>
|
||||||
<CompilerOptions>
|
<CompilerOptions>
|
||||||
@ -8,7 +8,7 @@
|
|||||||
<SearchPaths>
|
<SearchPaths>
|
||||||
<IncludeFiles Value="include/intf/$(LCLWidgetType)/;units/;include/intf/"/>
|
<IncludeFiles Value="include/intf/$(LCLWidgetType)/;units/;include/intf/"/>
|
||||||
<OtherUnitFiles Value="units/$(LCLWidgetType)/"/>
|
<OtherUnitFiles Value="units/$(LCLWidgetType)/"/>
|
||||||
<UnitOutputDirectory Value="lib/$(TargetCPU)-$(TargetOS)"/>
|
<UnitOutputDirectory Value="lib/$(TargetCPU)-$(TargetOS)-$(LCLWidgetType)"/>
|
||||||
</SearchPaths>
|
</SearchPaths>
|
||||||
<CodeGeneration>
|
<CodeGeneration>
|
||||||
<Generate Value="Faster"/>
|
<Generate Value="Faster"/>
|
||||||
|
Reference in New Issue
Block a user