Lines Matching refs:nStyle
117 Button::Button( Window* pParent, WinBits nStyle ) : in Button() argument
121 ImplInit( pParent, nStyle, NULL ); in Button()
131 WinBits nStyle = ImplInitRes( rResId ); in Button() local
132 ImplInit( pParent, nStyle, NULL ); in Button()
135 if ( !(nStyle & WB_HIDE) ) in Button()
635 sal_uInt16 nStyle = 0; in ImplDrawAlignedImage() local
639 nStyle |= IMAGE_DRAW_DISABLE; in ImplDrawAlignedImage()
650 pDev->DrawImage( aImagePos, aImageSize, *pImage, nStyle ); in ImplDrawAlignedImage()
652 pDev->DrawImage( aImagePos, *pImage, nStyle ); in ImplDrawAlignedImage()
784 void PushButton::ImplInit( Window* pParent, WinBits nStyle ) in ImplInit() argument
786 nStyle = ImplInitStyle( pParent->GetWindow( WINDOW_LASTCHILD ), nStyle ); in ImplInit()
787 Button::ImplInit( pParent, nStyle, NULL ); in ImplInit()
789 if ( nStyle & WB_NOLIGHTBORDER ) in ImplInit()
797 WinBits PushButton::ImplInitStyle( const Window* pPrevWindow, WinBits nStyle ) in ImplInitStyle() argument
799 if ( !(nStyle & WB_NOTABSTOP) ) in ImplInitStyle()
800 nStyle |= WB_TABSTOP; in ImplInitStyle()
805 if ( ( nStyle & ( WB_TOP | WB_VCENTER | WB_BOTTOM ) ) == 0 ) in ImplInitStyle()
806 nStyle |= WB_VCENTER; in ImplInitStyle()
808 if ( !(nStyle & WB_NOGROUP) && in ImplInitStyle()
814 nStyle |= WB_GROUP; in ImplInitStyle()
815 return nStyle; in ImplInitStyle()
866 Rectangle& rRect, sal_uInt16 nStyle ) in ImplDrawPushButtonFrame() argument
884 rRect = aDecoView.DrawButton( rRect, nStyle ); in ImplDrawPushButtonFrame()
888 rRect = aDecoView.DrawButton( rRect, nStyle ); in ImplDrawPushButtonFrame()
980 sal_uInt16 nStyle; in ImplDrawPushButtonContent() local
1000 nStyle = 0; in ImplDrawPushButtonContent()
1002 nStyle = SYMBOL_DRAW_DISABLE; in ImplDrawPushButtonContent()
1037 aDecoView.DrawSymbol( aInRect, SYMBOL_SPIN_DOWN, aColor, nStyle ); in ImplDrawPushButtonContent()
1053 aDecoView.DrawSymbol( aSymbolRect, meSymbol, aColor, nStyle ); in ImplDrawPushButtonContent()
1345 PushButton::PushButton( Window* pParent, WinBits nStyle ) : in PushButton() argument
1349 ImplInit( pParent, nStyle ); in PushButton()
1359 WinBits nStyle = ImplInitRes( rResId ); in PushButton() local
1360 ImplInit( pParent, nStyle ); in PushButton()
1363 if ( !(nStyle & WB_HIDE) ) in PushButton()
1776 void PushButton::SetDropDown( sal_uInt16 nStyle ) in SetDropDown() argument
1778 if ( mnDDStyle != nStyle ) in SetDropDown()
1780 mnDDStyle = nStyle; in SetDropDown()
1883 void OKButton::ImplInit( Window* pParent, WinBits nStyle ) in ImplInit() argument
1885 PushButton::ImplInit( pParent, nStyle ); in ImplInit()
1893 OKButton::OKButton( Window* pParent, WinBits nStyle ) : in OKButton() argument
1896 ImplInit( pParent, nStyle ); in OKButton()
1905 WinBits nStyle = ImplInitRes( rResId ); in OKButton() local
1906 ImplInit( pParent, nStyle ); in OKButton()
1909 if ( !(nStyle & WB_HIDE) ) in OKButton()
1949 void CancelButton::ImplInit( Window* pParent, WinBits nStyle ) in ImplInit() argument
1951 PushButton::ImplInit( pParent, nStyle ); in ImplInit()
1959 CancelButton::CancelButton( Window* pParent, WinBits nStyle ) : in CancelButton() argument
1962 ImplInit( pParent, nStyle ); in CancelButton()
1971 WinBits nStyle = ImplInitRes( rResId ); in CancelButton() local
1972 ImplInit( pParent, nStyle ); in CancelButton()
1975 if ( !(nStyle & WB_HIDE) ) in CancelButton()
2015 void HelpButton::ImplInit( Window* pParent, WinBits nStyle ) in ImplInit() argument
2017 PushButton::ImplInit( pParent, nStyle | WB_NOPOINTERFOCUS ); in ImplInit()
2025 HelpButton::HelpButton( Window* pParent, WinBits nStyle ) : in HelpButton() argument
2028 ImplInit( pParent, nStyle ); in HelpButton()
2037 WinBits nStyle = ImplInitRes( rResId ); in HelpButton() local
2038 ImplInit( pParent, nStyle ); in HelpButton()
2041 if ( !(nStyle & WB_HIDE) ) in HelpButton()
2074 void RadioButton::ImplInit( Window* pParent, WinBits nStyle ) in ImplInit() argument
2076 nStyle = ImplInitStyle( pParent->GetWindow( WINDOW_LASTCHILD ), nStyle ); in ImplInit()
2077 Button::ImplInit( pParent, nStyle, NULL ); in ImplInit()
2084 WinBits RadioButton::ImplInitStyle( const Window* pPrevWindow, WinBits nStyle ) in ImplInitStyle() argument
2086 if ( !(nStyle & WB_NOGROUP) && in ImplInitStyle()
2088 nStyle |= WB_GROUP; in ImplInitStyle()
2089 if ( !(nStyle & WB_NOTABSTOP) ) in ImplInitStyle()
2092 nStyle |= WB_TABSTOP; in ImplInitStyle()
2094 nStyle &= ~WB_TABSTOP; in ImplInitStyle()
2096 return nStyle; in ImplInitStyle()
2200 sal_uInt16 nStyle = ImplGetButtonState(); in ImplDrawRadioButtonState() local
2202 nStyle |= BUTTON_DRAW_DISABLED; in ImplDrawRadioButtonState()
2204 nStyle |= BUTTON_DRAW_CHECKED; in ImplDrawRadioButtonState()
2205 Image aImage = GetRadioImage( GetSettings(), nStyle ); in ImplDrawRadioButtonState()
2491 WinBits nStyle; in ImplUncheckAllOther() local
2497 nStyle = pWindow->GetStyle(); in ImplUncheckAllOther()
2515 if ( nStyle & WB_GROUP ) in ImplUncheckAllOther()
2525 nStyle = pWindow->GetStyle(); in ImplUncheckAllOther()
2527 if ( nStyle & WB_GROUP ) in ImplUncheckAllOther()
2581 RadioButton::RadioButton( Window* pParent, WinBits nStyle ) : in RadioButton() argument
2585 ImplInit( pParent, nStyle ); in RadioButton()
2595 WinBits nStyle = ImplInitRes( rResId ); in RadioButton() local
2596 ImplInit( pParent, nStyle ); in RadioButton()
2599 if ( !(nStyle & WB_HIDE) ) in RadioButton()
3089 sal_uInt16 nStyle = 0; in GetRadioImage() local
3092 nStyle = STYLE_RADIOBUTTON_MONO; in GetRadioImage()
3095 (pSVData->maCtrlData.mnRadioStyle != nStyle) || in GetRadioImage()
3127 ResId( SV_RESID_BITMAP_RADIO+nStyle, *pResMgr ), 6 ); in GetRadioImage()
3128 pSVData->maCtrlData.mnRadioStyle = nStyle; in GetRadioImage()
3246 void CheckBox::ImplInit( Window* pParent, WinBits nStyle ) in ImplInit() argument
3248 nStyle = ImplInitStyle( pParent->GetWindow( WINDOW_LASTCHILD ), nStyle ); in ImplInit()
3249 Button::ImplInit( pParent, nStyle, NULL ); in ImplInit()
3256 WinBits CheckBox::ImplInitStyle( const Window* pPrevWindow, WinBits nStyle ) in ImplInitStyle() argument
3258 if ( !(nStyle & WB_NOTABSTOP) ) in ImplInitStyle()
3259 nStyle |= WB_TABSTOP; in ImplInitStyle()
3260 if ( !(nStyle & WB_NOGROUP) && in ImplInitStyle()
3262 nStyle |= WB_GROUP; in ImplInitStyle()
3263 return nStyle; in ImplInitStyle()
3373 sal_uInt16 nStyle = ImplGetButtonState(); in ImplDrawCheckBoxState() local
3375 nStyle |= BUTTON_DRAW_DISABLED; in ImplDrawCheckBoxState()
3377 nStyle |= BUTTON_DRAW_DONTKNOW; in ImplDrawCheckBoxState()
3379 nStyle |= BUTTON_DRAW_CHECKED; in ImplDrawCheckBoxState()
3380 Image aImage = GetCheckImage( GetSettings(), nStyle ); in ImplDrawCheckBoxState()
3545 CheckBox::CheckBox( Window* pParent, WinBits nStyle ) : in CheckBox() argument
3549 ImplInit( pParent, nStyle ); in CheckBox()
3559 WinBits nStyle = ImplInitRes( rResId ); in CheckBox() local
3560 ImplInit( pParent, nStyle ); in CheckBox()
3563 if ( !(nStyle & WB_HIDE) ) in CheckBox()
4007 sal_uInt16 nStyle = 0; in GetCheckImage() local
4010 nStyle = STYLE_CHECKBOX_MONO; in GetCheckImage()
4013 (pSVData->maCtrlData.mnCheckStyle != nStyle) || in GetCheckImage()
4030 ResId( SV_RESID_BITMAP_CHECK+nStyle, *pResMgr ), 9 ); in GetCheckImage()
4031 pSVData->maCtrlData.mnCheckStyle = nStyle; in GetCheckImage()
4151 ImageButton::ImageButton( Window* pParent, WinBits nStyle ) : in ImageButton() argument
4152 PushButton( pParent, nStyle ) in ImageButton()
4188 WinBits nStyle = GetStyle(); in ImplInitStyle() local
4190 if ( ! ( nStyle & ( WB_RIGHT | WB_LEFT ) ) ) in ImplInitStyle()
4191 nStyle |= WB_CENTER; in ImplInitStyle()
4193 if ( ! ( nStyle & ( WB_TOP | WB_BOTTOM ) ) ) in ImplInitStyle()
4194 nStyle |= WB_VCENTER; in ImplInitStyle()
4196 SetStyle( nStyle ); in ImplInitStyle()
4201 ImageRadioButton::ImageRadioButton( Window* pParent, WinBits nStyle ) : in ImageRadioButton() argument
4202 RadioButton( pParent, nStyle ) in ImageRadioButton()
4228 TriStateBox::TriStateBox( Window* pParent, WinBits nStyle ) : in TriStateBox() argument
4229 CheckBox( pParent, nStyle ) in TriStateBox()
4316 sal_uInt16 nStyle = 0; in ImplDrawCheckBoxState() local
4318 nStyle |= IMAGE_DRAW_DISABLE; in ImplDrawCheckBoxState()
4325 DrawImage( aOff, *pImg, nStyle ); in ImplDrawCheckBoxState()