Lines Matching refs:part
99 sal_Bool KDESalGraphics::IsNativeControlSupported( ControlType type, ControlPart part ) in IsNativeControlSupported() argument
125 …if (type == CTRL_SPINBOX && (part == PART_ENTIRE_CONTROL || part == HAS_BACKGROUND_TEXTURE) ) retu… in IsNativeControlSupported()
140 if (type == CTRL_SLIDER && (part == PART_TRACK_HORZ_AREA || part == PART_TRACK_VERT_AREA) ) in IsNativeControlSupported()
145 if ( (type == CTRL_TAB_ITEM) && (part == PART_ENTIRE_CONTROL) ) return true; in IsNativeControlSupported()
146 if ( (type == CTRL_TAB_PANE) && (part == PART_ENTIRE_CONTROL) ) return true; in IsNativeControlSupported()
148 if ( (type == CTRL_PROGRESS) && (part == PART_ENTIRE_CONTROL) ) return true; in IsNativeControlSupported()
231 sal_Bool KDESalGraphics::drawNativeControl( ControlType type, ControlPart part, in drawNativeControl() argument
245 if( type == CTRL_SPINBOX && part == PART_ALL_BUTTONS ) in drawNativeControl()
280 if (part == PART_MENU_ITEM) in drawNativeControl()
286 else if (part == PART_ENTIRE_CONTROL) in drawNativeControl()
296 if (part == PART_MENU_ITEM) in drawNativeControl()
302 else if (part == PART_MENU_ITEM_CHECK_MARK && (nControlState & CTRL_STATE_PRESSED) ) in drawNativeControl()
308 else if (part == PART_MENU_ITEM_RADIO_MARK && (nControlState & CTRL_STATE_PRESSED) ) in drawNativeControl()
326 else if ( (type == CTRL_TOOLBAR) && (part == PART_BUTTON) ) in drawNativeControl()
339 else if ( (type == CTRL_TOOLBAR) && (part == PART_ENTIRE_CONTROL) ) in drawNativeControl()
349 else if ( (type == CTRL_TOOLBAR) && (part == PART_THUMB_VERT) ) in drawNativeControl()
381 if( part == PART_WINDOW ) in drawNativeControl()
389 if (part == PART_SUB_EDIT) in drawNativeControl()
420 if ((part == PART_DRAW_BACKGROUND_VERT) || (part == PART_DRAW_BACKGROUND_HORZ)) in drawNativeControl()
431 if (part == PART_DRAW_BACKGROUND_VERT) in drawNativeControl()
533 else if (type == CTRL_SLIDER && (part == PART_TRACK_HORZ_AREA || part == PART_TRACK_VERT_AREA)) in drawNativeControl()
544 option.orientation = (part == PART_TRACK_HORZ_AREA) ? Qt::Horizontal : Qt::Vertical; in drawNativeControl()
588 sal_Bool KDESalGraphics::getNativeControlRegion( ControlType type, ControlPart part, in getNativeControlRegion() argument
604 if (part == PART_ENTIRE_CONTROL) in getNativeControlRegion()
641 if (part == PART_ENTIRE_CONTROL) in getNativeControlRegion()
671 switch ( part ) in getNativeControlRegion()
719 switch ( part ) in getNativeControlRegion()
752 if (part == PART_MENU_ITEM_CHECK_MARK) in getNativeControlRegion()
757 else if (part == PART_MENU_ITEM_RADIO_MARK) in getNativeControlRegion()
765 if( part == PART_BORDER ) in getNativeControlRegion()
800 if( part == PART_THUMB_HORZ ) in getNativeControlRegion()
806 else if( part == PART_THUMB_VERT ) in getNativeControlRegion()
827 switch ( part ) in getNativeControlRegion()
836 if ( part == PART_BUTTON_LEFT ) in getNativeControlRegion()
869 if ( part == PART_BUTTON_RIGHT ) in getNativeControlRegion()