diff options
author | drewski207 <drewski207@ae50a9b5-8222-0410-bf8d-8a13f76226bf> | 2007-08-09 01:12:47 +0000 |
---|---|---|
committer | drewski207 <drewski207@ae50a9b5-8222-0410-bf8d-8a13f76226bf> | 2007-08-09 01:12:47 +0000 |
commit | 03e2be3d9c130b02d5cc605de884aa2fe2162db9 (patch) | |
tree | 408f825d4269c279eb51783a9c35e685eb75f579 /src/gui | |
parent | 4e85bd67c3e3e65dd66c2f44594394d86d204d72 (diff) | |
download | fpGUI-03e2be3d9c130b02d5cc605de884aa2fe2162db9.tar.xz |
* moved FastDoubleBuffer to TfpgCanvasBase
* implemented FastDoubleBuffer for gdi - not tested
* start of listview resiazable headers
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/gui_listview.pas | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/src/gui/gui_listview.pas b/src/gui/gui_listview.pas index 97157f2e..7f9544b7 100644 --- a/src/gui/gui_listview.pas +++ b/src/gui/gui_listview.pas @@ -703,12 +703,14 @@ begin Continue; if Column.Resizable then begin - if X - (cLeft + Column.Width) > 2 then + if (X < cLeft + Column.Width) and ((cLeft + Column.Width) - X < 3) then begin - // Mouse.Cursor := mcIBeam;? - //xc - end; + MouseCursor := mcSizeEW; + end + else + if MouseCursor <> mcDefault then MouseCursor := mcDefault; end; + Inc(cLeft, Column.Width); end; end; @@ -884,7 +886,12 @@ begin if Y < (cRect.Top + HeaderHeight) then begin HandleHeaderMouseMove(x, y, btnstate, shiftstate); - end; + end + else + if MouseCursor <> mcDefault then MouseCursor := mcDefault; + + + //if FVScrollBar.Visible then Dec(cRect.Width, FVScrollBar.Width); //if FHScrollBar.Visible then Dec(cRect.Height, FHScrollBar.Height); |