Lines Matching refs:nStyle

57 static Point ImplCalcPos( WinBits nStyle, const Point& rPos,  in ImplCalcPos()  argument
63 if ( nStyle & WB_LEFT ) in ImplCalcPos()
65 else if ( nStyle & WB_RIGHT ) in ImplCalcPos()
70 if ( nStyle & WB_TOP ) in ImplCalcPos()
72 else if ( nStyle & WB_BOTTOM ) in ImplCalcPos()
77 if ( nStyle & WB_TOPLEFTVISIBLE ) in ImplCalcPos()
91 void FixedText::ImplInit( Window* pParent, WinBits nStyle ) in ImplInit() argument
93 nStyle = ImplInitStyle( nStyle ); in ImplInit()
94 Control::ImplInit( pParent, nStyle, NULL ); in ImplInit()
100 WinBits FixedText::ImplInitStyle( WinBits nStyle ) in ImplInitStyle() argument
102 if ( !(nStyle & WB_NOGROUP) ) in ImplInitStyle()
103 nStyle |= WB_GROUP; in ImplInitStyle()
104 return nStyle; in ImplInitStyle()
153 FixedText::FixedText( Window* pParent, WinBits nStyle ) : in FixedText() argument
156 ImplInit( pParent, nStyle ); in FixedText()
165 WinBits nStyle = ImplInitRes( rResId ); in FixedText() local
166 ImplInit( pParent, nStyle ); in FixedText()
169 if ( !(nStyle & WB_HIDE) ) in FixedText()
179 WinBits nStyle = ImplInitRes( rResId ); in FixedText() local
180 ImplInit( pParent, nStyle ); in FixedText()
185 if ( !(nStyle & WB_HIDE) ) in FixedText()
386 sal_uInt16 nStyle = ImplGetTextStyle( pControl->GetStyle() ); in CalcMinimumTextSize() local
388 nStyle |= TEXT_DRAW_MNEMONIC; in CalcMinimumTextSize()
391 pControl->GetText(), nStyle ).GetSize(); in CalcMinimumTextSize()
431 void FixedLine::ImplInit( Window* pParent, WinBits nStyle ) in ImplInit() argument
433 nStyle = ImplInitStyle( nStyle ); in ImplInit()
434 Control::ImplInit( pParent, nStyle, NULL ); in ImplInit()
440 WinBits FixedLine::ImplInitStyle( WinBits nStyle ) in ImplInitStyle() argument
442 if ( !(nStyle & WB_NOGROUP) ) in ImplInitStyle()
443 nStyle |= WB_GROUP; in ImplInitStyle()
444 return nStyle; in ImplInitStyle()
544 …sal_uInt16 nStyle = TEXT_DRAW_MNEMONIC | TEXT_DRAW_LEFT | TEXT_DRAW_VCENTER | TEXT_DRAW_ENDELLIPS… in ImplDraw() local
548 nStyle |= TEXT_DRAW_CENTER; in ImplDraw()
551 nStyle |= TEXT_DRAW_DISABLE; in ImplDraw()
553 nStyle &= ~TEXT_DRAW_MNEMONIC; in ImplDraw()
555 nStyle |= TEXT_DRAW_MONO; in ImplDraw()
557 DrawControlText( *this, aRect, aText, nStyle, pVector, pDisplayText ); in ImplDraw()
571 FixedLine::FixedLine( Window* pParent, WinBits nStyle ) : in FixedLine() argument
574 ImplInit( pParent, nStyle ); in FixedLine()
584 WinBits nStyle = ImplInitRes( rResId ); in FixedLine() local
585 ImplInit( pParent, nStyle ); in FixedLine()
588 if ( !(nStyle & WB_HIDE) ) in FixedLine()
691 void FixedBitmap::ImplInit( Window* pParent, WinBits nStyle ) in ImplInit() argument
693 nStyle = ImplInitStyle( nStyle ); in ImplInit()
694 Control::ImplInit( pParent, nStyle, NULL ); in ImplInit()
700 WinBits FixedBitmap::ImplInitStyle( WinBits nStyle ) in ImplInitStyle() argument
702 if ( !(nStyle & WB_NOGROUP) ) in ImplInitStyle()
703 nStyle |= WB_GROUP; in ImplInitStyle()
704 return nStyle; in ImplInitStyle()
749 FixedBitmap::FixedBitmap( Window* pParent, WinBits nStyle ) : in FixedBitmap() argument
752 ImplInit( pParent, nStyle ); in FixedBitmap()
761 WinBits nStyle = ImplInitRes( rResId ); in FixedBitmap() local
762 ImplInit( pParent, nStyle ); in FixedBitmap()
765 if ( !(nStyle & WB_HIDE) ) in FixedBitmap()
780 sal_uInt16 nStyle = 0; in ImplDraw() local
789 if( nStyle & IMAGE_DRAW_COLORTRANSFORM ) in ImplDraw()
796 pDev->DrawImage( rPos, rSize, aImage, nStyle ); in ImplDraw()
800 pDev->DrawImage( aPos, aImage, nStyle ); in ImplDraw()
935 void FixedImage::ImplInit( Window* pParent, WinBits nStyle ) in ImplInit() argument
937 nStyle = ImplInitStyle( nStyle ); in ImplInit()
939 Control::ImplInit( pParent, nStyle, NULL ); in ImplInit()
945 WinBits FixedImage::ImplInitStyle( WinBits nStyle ) in ImplInitStyle() argument
947 if ( !(nStyle & WB_NOGROUP) ) in ImplInitStyle()
948 nStyle |= WB_GROUP; in ImplInitStyle()
949 return nStyle; in ImplInitStyle()
994 FixedImage::FixedImage( Window* pParent, WinBits nStyle ) : in FixedImage() argument
997 ImplInit( pParent, nStyle ); in FixedImage()
1006 WinBits nStyle = ImplInitRes( rResId ); in FixedImage() local
1007 ImplInit( pParent, nStyle ); in FixedImage()
1010 if ( !(nStyle & WB_HIDE) ) in FixedImage()
1025 sal_uInt16 nStyle = 0; in ImplDraw() local
1029 nStyle |= IMAGE_DRAW_DISABLE; in ImplDraw()
1044 pDev->DrawImage( rPos, rSize, *pImage, nStyle ); in ImplDraw()
1048 pDev->DrawImage( aPos, *pImage, nStyle ); in ImplDraw()
1053 UserDrawEvent aUDEvt( pDev, Rectangle( rPos, rSize ), 0, nStyle ); in ImplDraw()