Lines Matching refs:nPart

217 sal_Bool WinSalGraphics::IsNativeControlSupported( ControlType nType, ControlPart nPart )  in IsNativeControlSupported()  argument
226 if( nPart == PART_ENTIRE_CONTROL ) in IsNativeControlSupported()
230 if( nPart == PART_DRAW_BACKGROUND_HORZ || nPart == PART_DRAW_BACKGROUND_VERT ) in IsNativeControlSupported()
232 if( nPart == PART_ENTIRE_CONTROL ) in IsNativeControlSupported()
236 if( nPart == HAS_BACKGROUND_TEXTURE ) in IsNativeControlSupported()
238 if( nPart == PART_ENTIRE_CONTROL ) in IsNativeControlSupported()
240 else if( nPart == PART_BUTTON_DOWN ) in IsNativeControlSupported()
244 if( nPart == PART_ENTIRE_CONTROL ) in IsNativeControlSupported()
246 else if( nPart == PART_ALL_BUTTONS || in IsNativeControlSupported()
247 nPart == PART_BUTTON_UP || nPart == PART_BUTTON_DOWN || in IsNativeControlSupported()
248 nPart == PART_BUTTON_LEFT|| nPart == PART_BUTTON_RIGHT ) in IsNativeControlSupported()
252 if( nPart == PART_ENTIRE_CONTROL || nPart == PART_ALL_BUTTONS ) in IsNativeControlSupported()
257 if( nPart == HAS_BACKGROUND_TEXTURE ) in IsNativeControlSupported()
260 if( nPart == PART_ENTIRE_CONTROL ) in IsNativeControlSupported()
264 if( nPart == HAS_BACKGROUND_TEXTURE ) in IsNativeControlSupported()
266 if( nPart == PART_ENTIRE_CONTROL || nPart == PART_WINDOW ) in IsNativeControlSupported()
268 else if( nPart == PART_BUTTON_DOWN ) in IsNativeControlSupported()
275 if( nPart == PART_ENTIRE_CONTROL ) in IsNativeControlSupported()
279 if( nPart == PART_ENTIRE_CONTROL || nPart == PART_BUTTON ) in IsNativeControlSupported()
286 if( nPart == PART_ENTIRE_CONTROL ) in IsNativeControlSupported()
290 if( nPart == PART_MENU_ITEM ) in IsNativeControlSupported()
297 if( nPart == PART_ENTIRE_CONTROL || in IsNativeControlSupported()
298 nPart == PART_MENU_ITEM || in IsNativeControlSupported()
299 nPart == PART_MENU_ITEM_CHECK_MARK || in IsNativeControlSupported()
300 nPart == PART_MENU_ITEM_RADIO_MARK || in IsNativeControlSupported()
301 nPart == PART_MENU_SEPARATOR ) in IsNativeControlSupported()
306 if( nPart == PART_ENTIRE_CONTROL ) in IsNativeControlSupported()
310 if( nPart == PART_TRACK_HORZ_AREA || nPart == PART_TRACK_VERT_AREA ) in IsNativeControlSupported()
314 if( nPart == PART_ENTIRE_CONTROL ) in IsNativeControlSupported()
439 ControlPart nPart, in ImplDrawNativeControl() argument
446 if( nPart == PART_BUTTON_DOWN ) in ImplDrawNativeControl()
451 if( nPart == PART_ENTIRE_CONTROL ) in ImplDrawNativeControl()
456 if( nPart == PART_ENTIRE_CONTROL ) in ImplDrawNativeControl()
463 if( nPart == PART_BUTTON_UP ) in ImplDrawNativeControl()
477 if( nPart == PART_BUTTON_DOWN ) in ImplDrawNativeControl()
491 if( nPart == PART_BUTTON_LEFT ) in ImplDrawNativeControl()
505 if( nPart == PART_BUTTON_RIGHT ) in ImplDrawNativeControl()
519 if( nPart == PART_THUMB_HORZ || nPart == PART_THUMB_VERT ) in ImplDrawNativeControl()
521 iPart = (nPart == PART_THUMB_HORZ) ? SBP_THUMBBTNHORZ : SBP_THUMBBTNVERT; in ImplDrawNativeControl()
538 if( ( (nPart == PART_THUMB_VERT) && (rc.bottom-rc.top > 12) ) || in ImplDrawNativeControl()
539 ( (nPart == PART_THUMB_HORZ) && (rc.right-rc.left > 12) ) ) in ImplDrawNativeControl()
541 iPart = (nPart == PART_THUMB_HORZ) ? SBP_GRIPPERHORZ : SBP_GRIPPERVERT; in ImplDrawNativeControl()
547 …if( nPart == PART_TRACK_HORZ_LEFT || nPart == PART_TRACK_HORZ_RIGHT || nPart == PART_TRACK_VERT_UP… in ImplDrawNativeControl()
549 switch( nPart ) in ImplDrawNativeControl()
569 if( nType == CTRL_SPINBUTTONS && nPart == PART_ALL_BUTTONS ) in ImplDrawNativeControl()
594 if( nPart == PART_ALL_BUTTONS ) in ImplDrawNativeControl()
615 if( nPart == PART_BUTTON_DOWN ) in ImplDrawNativeControl()
627 if( nPart == PART_BUTTON_UP ) in ImplDrawNativeControl()
639 if( nPart == PART_BUTTON_RIGHT ) in ImplDrawNativeControl()
651 if( nPart == PART_BUTTON_LEFT ) in ImplDrawNativeControl()
663 …if( nPart == PART_BUTTON_LEFT || nPart == PART_BUTTON_RIGHT || nPart == PART_BUTTON_UP || nPart ==… in ImplDrawNativeControl()
668 if( nPart == PART_BUTTON_DOWN ) in ImplDrawNativeControl()
766 if( nPart == PART_ENTIRE_CONTROL || nPart == PART_WINDOW ) in ImplDrawNativeControl()
847 if( nPart == PART_BUTTON ) in ImplDrawNativeControl()
864 else if( nPart == PART_THUMB_HORZ || nPart == PART_THUMB_VERT ) in ImplDrawNativeControl()
871 else if( nPart == PART_DRAW_BACKGROUND_HORZ || nPart == PART_DRAW_BACKGROUND_VERT ) in ImplDrawNativeControl()
885 if( nPart == PART_ENTIRE_CONTROL ) in ImplDrawNativeControl()
894 else if( nPart == PART_MENU_ITEM ) in ImplDrawNativeControl()
906 if( nPart != PART_ENTIRE_CONTROL ) in ImplDrawNativeControl()
928 iPart = (nPart == PART_TRACK_HORZ_AREA) ? TKP_TRACK : TKP_TRACKVERT; in ImplDrawNativeControl()
929 iState = (nPart == PART_TRACK_HORZ_AREA) ? TRS_NORMAL : TRVS_NORMAL; in ImplDrawNativeControl()
933 if( nPart == PART_TRACK_HORZ_AREA ) in ImplDrawNativeControl()
954 iPart = (nPart == PART_TRACK_HORZ_AREA) ? TKP_THUMB : TKP_THUMBVERT; in ImplDrawNativeControl()
961 if( nPart != PART_ENTIRE_CONTROL ) in ImplDrawNativeControl()
984 if( nPart == PART_ENTIRE_CONTROL ) in ImplDrawNativeControl()
994 else if( nPart == PART_MENU_ITEM ) in ImplDrawNativeControl()
1002 else if( nPart == PART_MENU_ITEM_CHECK_MARK || nPart == PART_MENU_ITEM_RADIO_MARK ) in ImplDrawNativeControl()
1020 if( nPart == PART_MENU_ITEM_CHECK_MARK ) in ImplDrawNativeControl()
1029 else if( nPart == PART_MENU_SEPARATOR ) in ImplDrawNativeControl()
1056 ControlPart nPart, in drawNativeControl() argument
1076 if( nPart == PART_ENTIRE_CONTROL ) in drawNativeControl()
1078 else if( nPart == PART_BUTTON_DOWN ) in drawNativeControl()
1082 if( nPart == PART_ENTIRE_CONTROL ) in drawNativeControl()
1095 if( nPart == PART_ENTIRE_CONTROL || nPart == PART_WINDOW ) in drawNativeControl()
1097 else if( nPart == PART_BUTTON_DOWN ) in drawNativeControl()
1107 if( nPart == PART_ENTIRE_CONTROL || nPart == PART_BUTTON ) in drawNativeControl()
1114 if( nPart == PART_ENTIRE_CONTROL ) in drawNativeControl()
1118 if( nPart == PART_MENU_ITEM ) in drawNativeControl()
1123 if( nPart == PART_ENTIRE_CONTROL ) in drawNativeControl()
1127 if( nPart == PART_ENTIRE_CONTROL ) in drawNativeControl()
1131 if( nPart == PART_TRACK_HORZ_AREA || nPart == PART_TRACK_VERT_AREA ) in drawNativeControl()
1137 if( nPart == PART_ENTIRE_CONTROL || nPart == PART_MENU_ITEM || in drawNativeControl()
1138 nPart == PART_MENU_ITEM_CHECK_MARK || nPart == PART_MENU_ITEM_RADIO_MARK || in drawNativeControl()
1139 nPart == PART_MENU_SEPARATOR in drawNativeControl()
1164 nType, nPart, nState, aValue, in drawNativeControl()
1212 ControlPart nPart, in getNativeControlRegion() argument
1225 if( nPart == PART_THUMB_HORZ || nPart == PART_THUMB_VERT ) in getNativeControlRegion()
1249 if( nPart == PART_BUTTON ) in getNativeControlRegion()
1263 if( nType == CTRL_PROGRESS && nPart == PART_ENTIRE_CONTROL ) in getNativeControlRegion()
1276 if( (nType == CTRL_LISTBOX || nType == CTRL_COMBOBOX ) && nPart == PART_ENTIRE_CONTROL ) in getNativeControlRegion()
1295 if( (nType == CTRL_EDITBOX || nType == CTRL_SPINBOX) && nPart == PART_ENTIRE_CONTROL ) in getNativeControlRegion()
1333 if( nPart == PART_MENU_ITEM_CHECK_MARK || in getNativeControlRegion()
1334 nPart == PART_MENU_ITEM_RADIO_MARK ) in getNativeControlRegion()
1352 if( nType == CTRL_SLIDER && ( (nPart == PART_THUMB_HORZ) || (nPart == PART_THUMB_VERT) ) ) in getNativeControlRegion()
1357 int iPart = (nPart == PART_THUMB_HORZ) ? TKP_THUMB : TKP_THUMBVERT; in getNativeControlRegion()
1358 int iState = (nPart == PART_THUMB_HORZ) ? TUS_NORMAL : TUVS_NORMAL; in getNativeControlRegion()
1360 if( nPart == PART_THUMB_HORZ ) in getNativeControlRegion()
1380 if ( ( nType == CTRL_TAB_ITEM ) && ( nPart == PART_ENTIRE_CONTROL ) ) in getNativeControlRegion()