Lines Matching refs:mpData
134 if ( mpData && mpData->mpWindow && !mpData->mbCurVisible ) in ImplDraw()
136 Window* pWindow = mpData->mpWindow; in ImplDraw()
137 mpData->maPixPos = pWindow->LogicToPixel( maPos ); in ImplDraw()
138 mpData->maPixSize = pWindow->LogicToPixel( maSize ); in ImplDraw()
139 mpData->mnPixSlant = pWindow->LogicToPixel( Size( mnSlant, 0 ) ).Width(); in ImplDraw()
140 mpData->mnOrientation = mnOrientation; in ImplDraw()
141 mpData->mnDirection = mnDirection; in ImplDraw()
145 mpData->maPixPos.Y() -= nOffsetY; in ImplDraw()
146 mpData->maPixRotOff = mpData->maPixPos; in ImplDraw()
147 mpData->maPixRotOff.Y() += nOffsetY; in ImplDraw()
151 if ( !mpData->maPixSize.Width() ) in ImplDraw()
152 mpData->maPixSize.Width() = pWindow->GetSettings().GetStyleSettings().GetCursorSize(); in ImplDraw()
155 ImplCursorInvert( mpData ); in ImplDraw()
156 mpData->mbCurVisible = sal_True; in ImplDraw()
164 if ( mpData && mpData->mbCurVisible ) in ImplRestore()
166 ImplCursorInvert( mpData ); in ImplRestore()
167 mpData->mbCurVisible = sal_False; in ImplRestore()
192 if ( !mpData ) in ImplShow()
194 mpData = new ImplCursorData; in ImplShow()
195 mpData->mbCurVisible = sal_False; in ImplShow()
196 mpData->maTimer.SetTimeoutHdl( LINK( this, Cursor, ImplTimerHdl ) ); in ImplShow()
199 mpData->mpWindow = pWindow; in ImplShow()
200 mpData->mnStyle = mnStyle; in ImplShow()
204 if ( !mpWindow && ! ( ! bDrawDirect && mpData->maTimer.IsActive()) ) in ImplShow()
206 mpData->maTimer.SetTimeout( pWindow->GetSettings().GetStyleSettings().GetCursorBlinkTime() ); in ImplShow()
207 if ( mpData->maTimer.GetTimeout() != STYLE_CURSOR_NOBLINKTIME ) in ImplShow()
208 mpData->maTimer.Start(); in ImplShow()
209 else if ( !mpData->mbCurVisible ) in ImplShow()
221 if ( mpData && mpData->mpWindow ) in ImplHide()
223 bWasCurVisible = mpData->mbCurVisible; in ImplHide()
224 if ( mpData->mbCurVisible ) in ImplHide()
228 if( mpData && i_bStopTimer ) in ImplHide()
230 mpData->maTimer.Stop(); in ImplHide()
231 mpData->mpWindow = NULL; in ImplHide()
241 if ( mbVisible && mpData && mpData->mpWindow ) in ImplNew()
243 if ( mpData->mbCurVisible ) in ImplNew()
249 if ( mpData->maTimer.GetTimeout() != STYLE_CURSOR_NOBLINKTIME ) in ImplNew()
250 mpData->maTimer.Start(); in ImplNew()
259 if ( mpData->mbCurVisible ) in IMPL_LINK()
270 mpData = NULL; in Cursor()
286 mpData = NULL; in Cursor()
299 if ( mpData ) in ~Cursor()
301 if ( mpData->mbCurVisible ) in ~Cursor()
304 delete mpData; in ~Cursor()