Lines Matching refs:pWin
39 void ImplGetSpinbuttonValue( Window *pWin, const Rectangle& rUpperRect, in ImplGetSpinbuttonValue() argument
50 Point aPointerPos = pWin->GetPointerPosPixel(); in ImplGetSpinbuttonValue()
55 if ( !pWin->IsEnabled() || !bUpperEnabled ) in ImplGetSpinbuttonValue()
57 if ( pWin->HasFocus() ) in ImplGetSpinbuttonValue()
59 if( pWin->IsMouseOver() && rUpperRect.IsInside( aPointerPos ) ) in ImplGetSpinbuttonValue()
66 if ( !pWin->IsEnabled() || !bLowerEnabled ) in ImplGetSpinbuttonValue()
68 if ( pWin->HasFocus() ) in ImplGetSpinbuttonValue()
71 if( pWin->IsMouseOver() && rLowerRect.IsInside( aPointerPos ) && in ImplGetSpinbuttonValue()
81 sal_Bool ImplDrawNativeSpinfield( Window *pWin, const SpinbuttonValue& rSpinbuttonValue ) in ImplDrawNativeSpinfield() argument
85 if( pWin->IsNativeControlSupported(CTRL_SPINBOX, PART_ENTIRE_CONTROL) && in ImplDrawNativeSpinfield()
87 !(pWin->GetStyle() & WB_DROPDOWN) ) in ImplDrawNativeSpinfield()
89 if( pWin->IsNativeControlSupported(CTRL_SPINBOX, rSpinbuttonValue.mnUpperPart) && in ImplDrawNativeSpinfield()
90 pWin->IsNativeControlSupported(CTRL_SPINBOX, rSpinbuttonValue.mnLowerPart) ) in ImplDrawNativeSpinfield()
93 …bNativeOK = pWin->DrawNativeControl( CTRL_SPINBOX, PART_ALL_BUTTONS, Rectangle(), CTRL_STATE_ENABL… in ImplDrawNativeSpinfield()
99 Window *pBorder = pWin->GetWindow( WINDOW_BORDER ); in ImplDrawNativeSpinfield()
106 … aClipRect.SetPos( pBorder->ScreenToOutputPixel(pWin->OutputToScreenPixel(aClipRect.TopLeft())) ); in ImplDrawNativeSpinfield()
132 sal_Bool ImplDrawNativeSpinbuttons( Window *pWin, const SpinbuttonValue& rSpinbuttonValue ) in ImplDrawNativeSpinbuttons() argument
136 if( pWin->IsNativeControlSupported(CTRL_SPINBUTTONS, PART_ENTIRE_CONTROL) ) in ImplDrawNativeSpinbuttons()
139 …bNativeOK = pWin->DrawNativeControl( CTRL_SPINBUTTONS, PART_ALL_BUTTONS, Rectangle(), CTRL_STATE_E… in ImplDrawNativeSpinbuttons()
197 Window *pWin = (Window*) pOutDev; in ImplDrawSpinButton() local
201 switch( pWin->GetType() ) in ImplDrawSpinButton()
221 ImplGetSpinbuttonValue( pWin, rUpperRect, rLowerRect, in ImplDrawSpinButton()
226 bNativeOK = ImplDrawNativeSpinfield( pWin, aValue ); in ImplDrawSpinButton()
228 bNativeOK = ImplDrawNativeSpinbuttons( pWin, aValue ); in ImplDrawSpinButton()
708 Window *pWin = (Window*) pDev; in ImplCalcButtonAreas() local
709 Window *pBorder = pWin->GetWindow( WINDOW_BORDER ); in ImplCalcButtonAreas()
720 pWin->GetNativeControlRegion(CTRL_SPINBOX, PART_BUTTON_UP, in ImplCalcButtonAreas()
722 pWin->GetNativeControlRegion(CTRL_SPINBOX, PART_BUTTON_DOWN, in ImplCalcButtonAreas()
728 aPoint = pBorder->ScreenToOutputPixel( pWin->OutputToScreenPixel( aPoint ) ); in ImplCalcButtonAreas()