Kaydet (Commit) a75c8443 authored tarafından Jennifer Liebel's avatar Jennifer Liebel Kaydeden (comit) Tobias Madl

changed timers to idles

Change-Id: Ic045e0c066ff1f607f0582b88e72375efaaa708f
üst 439c8eba
...@@ -89,8 +89,8 @@ SvImpLBox::SvImpLBox( SvTreeListBox* pLBView, SvTreeList* pLBTree, WinBits nWinS ...@@ -89,8 +89,8 @@ SvImpLBox::SvImpLBox( SvTreeListBox* pLBView, SvTreeList* pLBTree, WinBits nWinS
nNodeBmpWidth = 0; nNodeBmpWidth = 0;
bAsyncBeginDrag = false; bAsyncBeginDrag = false;
aAsyncBeginDragTimer.SetTimeout(0); aAsyncBeginDragIdle.SetPriority( VCL_IDLE_PRIORITY_HIGHEST );
aAsyncBeginDragTimer.SetTimeoutHdl( LINK(this,SvImpLBox,BeginDragHdl)); aAsyncBeginDragIdle.SetIdleHdl( LINK(this,SvImpLBox,BeginDragHdl));
// button animation in listbox // button animation in listbox
pActiveButton = 0; pActiveButton = 0;
pActiveEntry = 0; pActiveEntry = 0;
...@@ -2933,7 +2933,7 @@ void SvImpLBox::BeginDrag() ...@@ -2933,7 +2933,7 @@ void SvImpLBox::BeginDrag()
else else
{ {
aAsyncBeginDragPos = aSelEng.GetMousePosPixel(); aAsyncBeginDragPos = aSelEng.GetMousePosPixel();
aAsyncBeginDragTimer.Start(); aAsyncBeginDragIdle.Start();
} }
} }
......
...@@ -125,7 +125,7 @@ private: ...@@ -125,7 +125,7 @@ private:
Size aOutputSize; Size aOutputSize;
SelectionEngine aSelEng; SelectionEngine aSelEng;
ImpLBSelEng aFctSet; ImpLBSelEng aFctSet;
Timer aAsyncBeginDragTimer; Idle aAsyncBeginDragIdle;
Point aAsyncBeginDragPos; Point aAsyncBeginDragPos;
long nYoffsNodeBmp; long nYoffsNodeBmp;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment