Lines Matching refs:type

99 sal_Bool KDESalGraphics::IsNativeControlSupported( ControlType type, ControlPart part )  in IsNativeControlSupported()  argument
101 if (type == CTRL_PUSHBUTTON) return true; in IsNativeControlSupported()
103 if (type == CTRL_MENUBAR) return true; in IsNativeControlSupported()
105 if (type == CTRL_MENU_POPUP) return true; in IsNativeControlSupported()
107 if (type == CTRL_EDITBOX) return true; in IsNativeControlSupported()
109 if (type == CTRL_COMBOBOX) return true; in IsNativeControlSupported()
111 if (type == CTRL_TOOLBAR) return true; in IsNativeControlSupported()
113 if (type == CTRL_CHECKBOX) return true; in IsNativeControlSupported()
115 if (type == CTRL_LISTBOX) return true; in IsNativeControlSupported()
117 if (type == CTRL_LISTNODE) return true; in IsNativeControlSupported()
119 if (type == CTRL_FRAME) return true; in IsNativeControlSupported()
121 if (type == CTRL_SCROLLBAR) return true; in IsNativeControlSupported()
123 if (type == CTRL_WINDOW_BACKGROUND) return true; in IsNativeControlSupported()
125 …if (type == CTRL_SPINBOX && (part == PART_ENTIRE_CONTROL || part == HAS_BACKGROUND_TEXTURE) ) retu… in IsNativeControlSupported()
130 if (type == CTRL_GROUPBOX) return true; in IsNativeControlSupported()
132 if (type == CTRL_FIXEDLINE) return true; in IsNativeControlSupported()
134 if (type == CTRL_FIXEDBORDER) return true; in IsNativeControlSupported()
136 if (type == CTRL_TOOLTIP) return true; in IsNativeControlSupported()
138 if (type == CTRL_RADIOBUTTON) return true; 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
237 if (type == CTRL_SPINBUTTONS) in drawNativeControl()
245 if( type == CTRL_SPINBOX && part == PART_ALL_BUTTONS ) in drawNativeControl()
246 type = CTRL_SPINBUTTONS; in drawNativeControl()
247 if( type == CTRL_SPINBUTTONS ) in drawNativeControl()
272 if (type == CTRL_PUSHBUTTON) in drawNativeControl()
278 else if ( (type == CTRL_MENUBAR)) in drawNativeControl()
294 else if (type == CTRL_MENU_POPUP) 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()
362 else if (type == CTRL_EDITBOX) in drawNativeControl()
371 else if (type == CTRL_COMBOBOX) in drawNativeControl()
379 else if (type == CTRL_LISTBOX) in drawNativeControl()
401 else if (type == CTRL_LISTNODE) in drawNativeControl()
412 else if (type == CTRL_CHECKBOX) in drawNativeControl()
418 else if (type == CTRL_SCROLLBAR) in drawNativeControl()
455 else if (type == CTRL_SPINBOX) in drawNativeControl()
472 else if (type == CTRL_GROUPBOX) in drawNativeControl()
478 else if (type == CTRL_RADIOBUTTON) in drawNativeControl()
484 else if (type == CTRL_TOOLTIP) in drawNativeControl()
490 else if (type == CTRL_FRAME) in drawNativeControl()
515 else if (type == CTRL_FIXEDBORDER) in drawNativeControl()
520 else if (type == CTRL_WINDOW_BACKGROUND) in drawNativeControl()
524 else if (type == CTRL_FIXEDLINE) in drawNativeControl()
533 else if (type == CTRL_SLIDER && (part == PART_TRACK_HORZ_AREA || part == PART_TRACK_VERT_AREA)) in drawNativeControl()
588 sal_Bool KDESalGraphics::getNativeControlRegion( ControlType type, ControlPart part, in getNativeControlRegion() argument
600 switch ( type ) in getNativeControlRegion()
689 if( type == CTRL_COMBOBOX ) in getNativeControlRegion()