Lines Matching refs:nStyle
566 const Color& rColor, sal_uInt16 nStyle ) in DrawSymbol() argument
579 nStyle |= BUTTON_DRAW_MONO; in DrawSymbol()
581 if ( nStyle & SYMBOL_DRAW_MONO ) in DrawSymbol()
583 if ( nStyle & SYMBOL_DRAW_DISABLE ) in DrawSymbol()
590 if ( nStyle & SYMBOL_DRAW_DISABLE ) in DrawSymbol()
627 sal_uInt16 nStyle ) in DrawHighlightFrame() argument
639 else if ( nStyle & FRAME_HIGHLIGHT_TESTBACKGROUND ) in DrawHighlightFrame()
664 if ( (nStyle & FRAME_HIGHLIGHT_STYLE) == FRAME_HIGHLIGHT_IN ) in DrawHighlightFrame()
726 const StyleSettings& rStyleSettings, sal_uInt16 nStyle ) in ImplDrawFrame() argument
729 sal_Bool bMenuStyle = (nStyle & FRAME_DRAW_MENU) ? sal_True : sal_False; in ImplDrawFrame()
730 nStyle &= ~FRAME_DRAW_MENU; in ImplDrawFrame()
755 sal_Bool bRound = (bFlatBorders && !(nStyle & FRAME_DRAW_WINDOWBORDER)); in ImplDrawFrame()
760 nStyle |= FRAME_DRAW_MONO; in ImplDrawFrame()
762 if ( nStyle & FRAME_DRAW_NODRAW ) in ImplDrawFrame()
764 sal_uInt16 nValueStyle = bMenuStyle ? nStyle | FRAME_DRAW_MENU : nStyle; in ImplDrawFrame()
775 else if ( nStyle & FRAME_DRAW_MONO ) in ImplDrawFrame()
779 sal_uInt16 nFrameStyle = nStyle & FRAME_DRAW_STYLE; in ImplDrawFrame()
809 sal_uInt16 nValueStyle = bMenuStyle ? nStyle | FRAME_DRAW_MENU : nStyle; in ImplDrawFrame()
827 if ( nStyle & FRAME_DRAW_MONO ) in ImplDrawFrame()
846 sal_uInt16 nFrameStyle = nStyle & FRAME_DRAW_STYLE; in ImplDrawFrame()
958 Rectangle DecorationView::DrawFrame( const Rectangle& rRect, sal_uInt16 nStyle ) in DrawFrame() argument
970 if ( nStyle & FRAME_DRAW_NODRAW ) in DrawFrame()
971 ImplDrawFrame( mpOutDev, aRect, mpOutDev->GetSettings().GetStyleSettings(), nStyle ); in DrawFrame()
976 ImplDrawFrame( mpOutDev, aRect, mpOutDev->GetSettings().GetStyleSettings(), nStyle ); in DrawFrame()
994 const StyleSettings& rStyleSettings, sal_uInt16 nStyle ) in ImplDrawButton() argument
998 if ( nStyle & BUTTON_DRAW_MONO ) in ImplDrawButton()
1000 if ( !(nStyle & BUTTON_DRAW_NODRAW) ) in ImplDrawButton()
1004 if ( nStyle & BUTTON_DRAW_DEFAULT ) in ImplDrawButton()
1027 if ( nStyle & (BUTTON_DRAW_PRESSED | BUTTON_DRAW_CHECKED) ) in ImplDrawButton()
1051 if ( !(nStyle & BUTTON_DRAW_NODRAW) ) in ImplDrawButton()
1053 if ( nStyle & BUTTON_DRAW_DEFAULT ) in ImplDrawButton()
1060 if ( !(nStyle & BUTTON_DRAW_NODRAW) ) in ImplDrawButton()
1063 if ( nStyle & BUTTON_DRAW_NOLEFTLIGHTBORDER ) in ImplDrawButton()
1070 if ( (nStyle & BUTTON_DRAW_NOTOPLIGHTBORDER) && in ImplDrawButton()
1071 !(nStyle & (BUTTON_DRAW_PRESSED | BUTTON_DRAW_CHECKED)) ) in ImplDrawButton()
1078 …if ( (( (nStyle & BUTTON_DRAW_NOBOTTOMSHADOWBORDER) | BUTTON_DRAW_FLAT) == (BUTTON_DRAW_NOBOTTOMSH… in ImplDrawButton()
1079 !(nStyle & (BUTTON_DRAW_PRESSED | BUTTON_DRAW_CHECKED | BUTTON_DRAW_HIGHLIGHT)) ) in ImplDrawButton()
1089 if ( nStyle & (BUTTON_DRAW_PRESSED | BUTTON_DRAW_CHECKED) ) in ImplDrawButton()
1096 if ( nStyle & BUTTON_DRAW_NOLIGHTBORDER ) in ImplDrawButton()
1100 if ( (nStyle & BUTTON_DRAW_FLATTEST) == BUTTON_DRAW_FLAT ) in ImplDrawButton()
1111 if ( !((nStyle & BUTTON_DRAW_FLATTEST) == BUTTON_DRAW_FLAT) ) in ImplDrawButton()
1113 if ( nStyle & (BUTTON_DRAW_PRESSED | BUTTON_DRAW_CHECKED) ) in ImplDrawButton()
1120 if ( nStyle & BUTTON_DRAW_NOLIGHTBORDER ) in ImplDrawButton()
1135 if ( !(nStyle & (BUTTON_DRAW_NOFILL | BUTTON_DRAW_NODRAW)) ) in ImplDrawButton()
1138 if ( nStyle & BUTTON_DRAW_MONO ) in ImplDrawButton()
1149 if ( nStyle & (BUTTON_DRAW_CHECKED | BUTTON_DRAW_DONTKNOW) ) in ImplDrawButton()
1164 if ( nStyle & BUTTON_DRAW_NOLIGHTBORDER ) in ImplDrawButton()
1169 else if ( nStyle & BUTTON_DRAW_NOLEFTLIGHTBORDER ) in ImplDrawButton()
1172 if ( nStyle & BUTTON_DRAW_PRESSED ) in ImplDrawButton()
1189 else if ( nStyle & BUTTON_DRAW_CHECKED ) in ImplDrawButton()
1207 Rectangle DecorationView::DrawButton( const Rectangle& rRect, sal_uInt16 nStyle ) in DrawButton() argument
1222 nStyle |= BUTTON_DRAW_MONO; in DrawButton()
1224 if ( nStyle & BUTTON_DRAW_NODRAW ) in DrawButton()
1225 ImplDrawButton( mpOutDev, aRect, rStyleSettings, nStyle ); in DrawButton()
1230 ImplDrawButton( mpOutDev, aRect, rStyleSettings, nStyle ); in DrawButton()