Lines Matching refs:nPart

237                 ControlPart nPart = PART_ENTIRE_CONTROL );
425 ControlPart nPart ) in drawStyledWidget() argument
685 if ( nPart == PART_THUMB_HORZ || nPart == PART_THUMB_VERT ) in drawStyledWidget()
724 if ( nPart == PART_ENTIRE_CONTROL ) in drawStyledWidget()
730 else if ( nPart == PART_MENU_ITEM ) in drawStyledWidget()
1164 virtual sal_Bool IsNativeControlSupported( ControlType nType, ControlPart nPart );
1165 virtual sal_Bool hitTestNativeControl( ControlType nType, ControlPart nPart,
1168 virtual sal_Bool drawNativeControl( ControlType nType, ControlPart nPart,
1172 virtual sal_Bool drawNativeControlText( ControlType nType, ControlPart nPart,
1176 virtual sal_Bool getNativeControlRegion( ControlType nType, ControlPart nPart,
1194 sal_Bool KDESalGraphics::IsNativeControlSupported( ControlType nType, ControlPart nPart ) in IsNativeControlSupported() argument
1197 ( (nType == CTRL_PUSHBUTTON) && (nPart == PART_ENTIRE_CONTROL) ) || in IsNativeControlSupported()
1198 ( (nType == CTRL_RADIOBUTTON) && (nPart == PART_ENTIRE_CONTROL) ) || in IsNativeControlSupported()
1199 ( (nType == CTRL_CHECKBOX) && (nPart == PART_ENTIRE_CONTROL) ) || in IsNativeControlSupported()
1200 …( (nType == CTRL_COMBOBOX) && (nPart == PART_ENTIRE_CONTROL || nPart == HAS_BACKGROUND_TEXTURE)… in IsNativeControlSupported()
1201 …( (nType == CTRL_EDITBOX) && (nPart == PART_ENTIRE_CONTROL || nPart == HAS_BACKGROUND_TEXTURE)… in IsNativeControlSupported()
1202 …( (nType == CTRL_LISTBOX) && (nPart == PART_ENTIRE_CONTROL || nPart == PART_WINDOW || nPart ==… in IsNativeControlSupported()
1203 …( (nType == CTRL_SPINBOX) && (nPart == PART_ENTIRE_CONTROL || nPart == HAS_BACKGROUND_TEXTURE)… in IsNativeControlSupported()
1205 ( (nType == CTRL_TAB_ITEM) && (nPart == PART_ENTIRE_CONTROL) ) || in IsNativeControlSupported()
1206 ( (nType == CTRL_TAB_PANE) && (nPart == PART_ENTIRE_CONTROL) ) || in IsNativeControlSupported()
1208 …( (nType == CTRL_SCROLLBAR) && (nPart == PART_ENTIRE_CONTROL || nPart == PART_DRAW_BACKGROUND_HO… in IsNativeControlSupported()
1209 …( (nType == CTRL_SCROLLBAR) && (nPart == HAS_THREE_BUTTONS) ) || // TODO small optimization is p… in IsNativeControlSupported()
1213 ( (nType == CTRL_TOOLBAR) && (nPart == PART_ENTIRE_CONTROL || in IsNativeControlSupported()
1214nPart == PART_DRAW_BACKGROUND_HORZ || nPart == PART_DRAW_BACKGROUND_VERT || in IsNativeControlSupported()
1215 nPart == PART_THUMB_HORZ || nPart == PART_THUMB_VERT || in IsNativeControlSupported()
1216 nPart == PART_BUTTON) ) || in IsNativeControlSupported()
1217 ( (nType == CTRL_MENUBAR) && (nPart == PART_ENTIRE_CONTROL || nPart == PART_MENU_ITEM) ) || in IsNativeControlSupported()
1218 ( (nType == CTRL_MENU_POPUP) && (nPart == PART_ENTIRE_CONTROL || nPart == PART_MENU_ITEM) ) || in IsNativeControlSupported()
1219 ( (nType == CTRL_PROGRESS) && (nPart == PART_ENTIRE_CONTROL) ) in IsNativeControlSupported()
1230 sal_Bool KDESalGraphics::hitTestNativeControl( ControlType nType, ControlPart nPart, in hitTestNativeControl() argument
1240 sal_Bool bHorizontal = ( nPart == PART_BUTTON_LEFT || nPart == PART_BUTTON_RIGHT ); in hitTestNativeControl()
1278 switch ( nPart ) in hitTestNativeControl()
1337 sal_Bool KDESalGraphics::drawNativeControl( ControlType nType, ControlPart nPart, in drawNativeControl() argument
1348 if ( (nType == CTRL_PUSHBUTTON) && (nPart == PART_ENTIRE_CONTROL) ) in drawNativeControl()
1355 else if ( (nType == CTRL_RADIOBUTTON) && (nPart == PART_ENTIRE_CONTROL) ) in drawNativeControl()
1362 else if ( (nType == CTRL_CHECKBOX) && (nPart == PART_ENTIRE_CONTROL) ) in drawNativeControl()
1369 else if ( (nType == CTRL_COMBOBOX) && (nPart == PART_ENTIRE_CONTROL) ) in drawNativeControl()
1376 else if ( (nType == CTRL_EDITBOX) && (nPart == PART_ENTIRE_CONTROL) ) in drawNativeControl()
1383 else if ( (nType == CTRL_LISTBOX) && (nPart == PART_ENTIRE_CONTROL) ) in drawNativeControl()
1390 else if ( (nType == CTRL_LISTBOX) && (nPart == PART_WINDOW) ) in drawNativeControl()
1397 else if ( (nType == CTRL_SPINBOX) && (nPart == PART_ENTIRE_CONTROL) ) in drawNativeControl()
1404 else if ( (nType==CTRL_TAB_ITEM) && (nPart == PART_ENTIRE_CONTROL) ) in drawNativeControl()
1411 else if ( (nType==CTRL_TAB_PANE) && (nPart == PART_ENTIRE_CONTROL) ) in drawNativeControl()
1418 …else if ( (nType == CTRL_SCROLLBAR) && (nPart == PART_DRAW_BACKGROUND_HORZ || nPart == PART_DRAW_B… in drawNativeControl()
1421 pWidgetPainter->scrollBar( rControlRegion, nPart == PART_DRAW_BACKGROUND_HORZ, aValue ), in drawNativeControl()
1425 … == CTRL_TOOLBAR) && (nPart == PART_DRAW_BACKGROUND_HORZ || nPart == PART_DRAW_BACKGROUND_VERT || in drawNativeControl()
1428 …pWidgetPainter->toolBar( rControlRegion, nPart == PART_DRAW_BACKGROUND_HORZ || nPart == PART_THUMB… in drawNativeControl()
1430 dpy, drawable, GetScreenNumber(), GetVisual().GetDepth(), gc, nPart ); in drawNativeControl()
1432 else if ( (nType == CTRL_TOOLBAR) && (nPart == PART_BUTTON) ) in drawNativeControl()
1437 dpy, drawable, GetScreenNumber(), GetVisual().GetDepth(), gc, nPart ); in drawNativeControl()
1439 else if ( (nType == CTRL_MENUBAR) && (nPart == PART_ENTIRE_CONTROL || nPart == PART_MENU_ITEM) ) in drawNativeControl()
1444 dpy, drawable, GetScreenNumber(), GetVisual().GetDepth(), gc, nPart ); in drawNativeControl()
1446 …else if ( (nType == CTRL_MENU_POPUP) && (nPart == PART_ENTIRE_CONTROL || nPart == PART_MENU_ITEM) ) in drawNativeControl()
1453 else if ( (nType == CTRL_PROGRESS) && (nPart == PART_ENTIRE_CONTROL) ) in drawNativeControl()
1504 sal_Bool KDESalGraphics::getNativeControlRegion( ControlType nType, ControlPart nPart, in getNativeControlRegion() argument
1521 switch ( nPart ) in getNativeControlRegion()
1542 if ( nPart == PART_ENTIRE_CONTROL ) in getNativeControlRegion()
1555 if ( nPart == PART_ENTIRE_CONTROL ) in getNativeControlRegion()
1568 switch ( nPart ) in getNativeControlRegion()
1592 switch ( nPart ) in getNativeControlRegion()
1620 ( nPart == PART_BUTTON_LEFT || nPart == PART_BUTTON_RIGHT ), in getNativeControlRegion()
1622 switch ( nPart ) in getNativeControlRegion()
1631 if ( nPart == PART_BUTTON_LEFT ) in getNativeControlRegion()
1664 if ( nPart == PART_BUTTON_RIGHT ) in getNativeControlRegion()