Lines Matching refs:nPart

80 ControlPart ImplgetCounterPart( ControlPart nPart )  in ImplgetCounterPart()  argument
83 switch (nPart) in ImplgetCounterPart()
138 static bool AquaGetScrollRect( /* TODO: int nScreen, */ ControlPart nPart, in AquaGetScrollRect() argument
144 switch( nPart ) in AquaGetScrollRect()
243 sal_Bool AquaSalGraphics::IsNativeControlSupported( ControlType nType, ControlPart nPart ) in IsNativeControlSupported() argument
258 if( nPart == PART_ENTIRE_CONTROL ) in IsNativeControlSupported()
263 if( nPart == PART_DRAW_BACKGROUND_HORZ || in IsNativeControlSupported()
264 nPart == PART_DRAW_BACKGROUND_VERT || in IsNativeControlSupported()
265 nPart == PART_ENTIRE_CONTROL || in IsNativeControlSupported()
266 nPart == HAS_THREE_BUTTONS ) in IsNativeControlSupported()
271 if( nPart == PART_TRACK_HORZ_AREA || nPart == PART_TRACK_VERT_AREA ) in IsNativeControlSupported()
276 if( nPart == PART_ENTIRE_CONTROL || in IsNativeControlSupported()
277 nPart == HAS_BACKGROUND_TEXTURE ) in IsNativeControlSupported()
282 if( nPart == PART_ENTIRE_CONTROL || in IsNativeControlSupported()
283 nPart == HAS_BACKGROUND_TEXTURE ) in IsNativeControlSupported()
288 if( nPart == PART_ENTIRE_CONTROL || in IsNativeControlSupported()
289 nPart == PART_ALL_BUTTONS || in IsNativeControlSupported()
290 nPart == HAS_BACKGROUND_TEXTURE ) in IsNativeControlSupported()
299 if( nPart == PART_ENTIRE_CONTROL || in IsNativeControlSupported()
300 nPart == HAS_BACKGROUND_TEXTURE ) in IsNativeControlSupported()
305 if( nPart == PART_ENTIRE_CONTROL || in IsNativeControlSupported()
306 nPart == PART_WINDOW || in IsNativeControlSupported()
307 nPart == HAS_BACKGROUND_TEXTURE || in IsNativeControlSupported()
308 nPart == PART_SUB_EDIT in IsNativeControlSupported()
317 if( nPart == PART_ENTIRE_CONTROL || in IsNativeControlSupported()
318 nPart == PART_TABS_DRAW_RTL || in IsNativeControlSupported()
319 nPart == HAS_BACKGROUND_TEXTURE ) in IsNativeControlSupported()
326 if( nPart == PART_ENTIRE_CONTROL || in IsNativeControlSupported()
327 nPart == PART_DRAW_BACKGROUND_HORZ || in IsNativeControlSupported()
328 nPart == PART_DRAW_BACKGROUND_VERT) in IsNativeControlSupported()
333 if ( nPart == PART_BACKGROUND_WINDOW || in IsNativeControlSupported()
334 nPart == PART_BACKGROUND_DIALOG ) in IsNativeControlSupported()
339 if( nPart == PART_ENTIRE_CONTROL ) in IsNativeControlSupported()
345 if( nPart == PART_ENTIRE_CONTROL ) // we don't currently support the tooltip in IsNativeControlSupported()
351 if( nPart == PART_ENTIRE_CONTROL || in IsNativeControlSupported()
352 nPart == PART_MENU_ITEM || in IsNativeControlSupported()
353 nPart == PART_MENU_ITEM_CHECK_MARK || in IsNativeControlSupported()
354 nPart == PART_MENU_ITEM_RADIO_MARK) in IsNativeControlSupported()
359 if( nPart == PART_ENTIRE_CONTROL ) in IsNativeControlSupported()
363 if( nPart == PART_BORDER ) in IsNativeControlSupported()
367 if( nPart == PART_ENTIRE_CONTROL ) in IsNativeControlSupported()
382 sal_Bool AquaSalGraphics::hitTestNativeControl( ControlType nType, ControlPart nPart, const Rectang… in hitTestNativeControl() argument
388 bool bValid = AquaGetScrollRect( /* TODO: m_nScreen */ nPart, rControlRegion, aRect ); in hitTestNativeControl()
396 if( nPart == PART_TRACK_HORZ_AREA ) in hitTestNativeControl()
402 else if( nPart == PART_TRACK_VERT_AREA ) in hitTestNativeControl()
474 ControlPart nPart, in drawNativeControl() argument
505 if ( nPart == HAS_BACKGROUND_TEXTURE || in drawNativeControl()
506 nPart == PART_ENTIRE_CONTROL ) in drawNativeControl()
554 …if ((nPart == PART_ENTIRE_CONTROL) || (nPart == PART_MENU_ITEM )|| (nPart == HAS_BACKGROUND_TEXTUR… in drawNativeControl()
567 if ((nPart == PART_MENU_ITEM ) && (nState & CTRL_STATE_SELECTED)) in drawNativeControl()
586 … else if(( nPart == PART_MENU_ITEM_CHECK_MARK )||( nPart == PART_MENU_ITEM_RADIO_MARK )) { in drawNativeControl()
600 … UniChar mark=( nPart == PART_MENU_ITEM_CHECK_MARK ) ? kCheckUnicode: kBulletUnicode;//0x2713; in drawNativeControl()
797 if( nPart == PART_TRACK_HORZ_AREA || nPart == PART_TRACK_VERT_AREA ) in drawNativeControl()
805 if( nPart == PART_TRACK_HORZ_AREA ) in drawNativeControl()
825 if( nPart == PART_DRAW_BACKGROUND_VERT || in drawNativeControl()
826 nPart == PART_DRAW_BACKGROUND_HORZ ) in drawNativeControl()
831 if (nPart == PART_DRAW_BACKGROUND_VERT) in drawNativeControl()
842 if( nPart == PART_DRAW_BACKGROUND_HORZ ) in drawNativeControl()
1000 switch( nPart) in drawNativeControl()
1068 if(nPart == PART_ENTIRE_CONTROL) in drawNativeControl()
1152 if( nPart == PART_BORDER ) { in drawNativeControl()
1249 sal_Bool AquaSalGraphics::getNativeControlRegion( ControlType nType, ControlPart nPart, const Recta… in getNativeControlRegion() argument
1267 if( nPart == PART_THUMB_HORZ ) in getNativeControlRegion()
1274 else if( nPart == PART_THUMB_VERT ) in getNativeControlRegion()
1287 if( AquaGetScrollRect( /* m_nScreen */ nPart, aCtrlBoundRect, aRect ) ) in getNativeControlRegion()
1379 if( nPart == PART_ENTIRE_CONTROL ) in getNativeControlRegion()
1389 else if( nPart == PART_BUTTON_DOWN ) in getNativeControlRegion()
1405 else if( nPart == PART_SUB_EDIT ) in getNativeControlRegion()
1427 if( nPart == PART_ENTIRE_CONTROL ) { in getNativeControlRegion()
1438 else if( nPart == PART_SUB_EDIT ) { in getNativeControlRegion()
1451 else if( nPart == PART_BUTTON_UP ) { in getNativeControlRegion()
1465 else if( nPart == PART_BUTTON_DOWN ) { in getNativeControlRegion()
1480 if( ( nPart == PART_BORDER ) && in getNativeControlRegion()
1510 if(( nPart == PART_MENU_ITEM_CHECK_MARK )||( nPart == PART_MENU_ITEM_RADIO_MARK )) { in getNativeControlRegion()