/aoo4110/main/svtools/source/edit/ |
H A D | editsyntaxhighlighter.cxx | 140 Color aColor; in GetColorValue() local 154 default: aColor = Color(0,0,0); in GetColorValue() 162 case TT_IDENTIFIER: aColor = Color(255,0,0); break; in GetColorValue() 163 case TT_COMMENT: aColor = Color(0,0,45); break; in GetColorValue() 165 case TT_STRING: aColor = Color(0,255,45); break; in GetColorValue() 166 case TT_OPERATOR: aColor = Color(0,0,100); break; in GetColorValue() 167 case TT_KEYWORDS: aColor = Color(0,0,255); break; in GetColorValue() 168 case TT_ERROR : aColor = Color(0,255,255); break; in GetColorValue() 169 default: aColor = Color(0,0,0); in GetColorValue() 173 default: aColor = Color(0,0,0); in GetColorValue() [all …]
|
/aoo4110/main/svx/source/engine3d/ |
H A D | float3d.cxx | 1070 Color aColor; in Update() local 1080 LBSelectColor( pLb, aColor ); in Update() 1129 LBSelectColor( pLb, aColor ); in Update() 1178 LBSelectColor( pLb, aColor ); in Update() 1227 LBSelectColor( pLb, aColor ); in Update() 1276 LBSelectColor( pLb, aColor ); in Update() 1325 LBSelectColor( pLb, aColor ); in Update() 1374 LBSelectColor( pLb, aColor ); in Update() 1991 Color aColor; in GetAttr() local 2885 aColorDlg.SetColor( aColor ); in IMPL_LINK() [all …]
|
/aoo4110/main/vcl/source/gdi/ |
H A D | bmpacc2.cxx | 117 BitmapColor aColor; in IMPL_FORMAT_GETPIXEL() local 118 rMask.GetColorFor8Bit( aColor, pScanline + nX ); in IMPL_FORMAT_GETPIXEL() 119 return aColor; in IMPL_FORMAT_GETPIXEL() 133 BitmapColor aColor; in IMPL_FORMAT_GETPIXEL() local 135 return aColor; in IMPL_FORMAT_GETPIXEL() 149 BitmapColor aColor; in IMPL_FORMAT_GETPIXEL() local 151 return aColor; in IMPL_FORMAT_GETPIXEL() 209 BitmapColor aColor; in IMPL_FORMAT_GETPIXEL() local 211 return aColor; in IMPL_FORMAT_GETPIXEL() 317 BitmapColor aColor; in IMPL_FORMAT_GETPIXEL() local [all …]
|
H A D | outdev4.cxx | 659 Color aColor; in DrawGradient() local 670 aColor = Color( ( aColor.GetRed() >> 1 ) | 0x80, in DrawGradient() 676 SetLineColor( aColor ); in DrawGradient() 677 SetFillColor( aColor ); in DrawGradient() 800 Color aColor; in DrawGradient() local 811 aColor = Color( ( aColor.GetRed() >> 1 ) | 0x80, in DrawGradient() 817 SetLineColor( aColor ); in DrawGradient() 818 SetFillColor( aColor ); in DrawGradient() 1061 aColor = Color( COL_BLACK ); in DrawHatch() 1076 aColor = Color( ( aColor.GetRed() >> 1 ) | 0x80, in DrawHatch() [all …]
|
H A D | outdev.cxx | 1263 Color aColor( rColor ); in SetLineColor() local 1273 aColor = Color( COL_BLACK ); in SetLineColor() 1277 aColor = Color( COL_WHITE ); in SetLineColor() 1291 aColor = Color( ( aColor.GetRed() >> 1 ) | 0x80, in SetLineColor() 1312 if( maLineColor != aColor ) in SetLineColor() 1316 maLineColor = aColor; in SetLineColor() 1352 Color aColor( rColor ); in SetFillColor() local 1362 aColor = Color( COL_BLACK ); in SetFillColor() 1384 aColor = Color( (aColor.GetRed() >> 1) | 0x80, in SetFillColor() 1405 if ( maFillColor != aColor ) in SetFillColor() [all …]
|
/aoo4110/main/canvas/source/vcl/ |
H A D | impltools.cxx | 391 aColor.SetRed( in transformBitmap() 394 aColor.GetRed() + .5 )); in transformBitmap() 395 aColor.SetGreen( in transformBitmap() 399 aColor.SetBlue( in transformBitmap() 402 aColor.GetBlue() + .5 )); in transformBitmap() 405 aColor ); in transformBitmap() 442 aColor.SetRed( in transformBitmap() 445 aColor.GetRed() + .5 )); in transformBitmap() 446 aColor.SetGreen( in transformBitmap() 450 aColor.SetBlue( in transformBitmap() [all …]
|
/aoo4110/main/basctl/source/basicide/ |
H A D | baside2.cxx | 1502 m_aSyntaxColors[TT_UNKNOWN] = aColor; in ModulWindowLayout() 1503 m_aSyntaxColors[TT_WHITESPACE] = aColor; in ModulWindowLayout() 1504 m_aSyntaxColors[TT_EOL] = aColor; in ModulWindowLayout() 1698 if (aColor in DataChanged() 1701 SetBackground(Wallpaper(aColor)); in DataChanged() 1709 aFont.SetColor(aColor); in DataChanged() 1720 m_aSyntaxColors[TT_EOL] = aColor; in DataChanged() 1737 m_aSyntaxColors[TT_NUMBER] = aColor; in ConfigurationChanged() 1741 m_aSyntaxColors[TT_STRING] = aColor; in ConfigurationChanged() 1746 m_aSyntaxColors[TT_COMMENT] = aColor; in ConfigurationChanged() [all …]
|
/aoo4110/main/svtools/source/filter/jpeg/ |
H A D | jpeg.cxx | 444 BitmapColor aColor; in FillBitmap() local 679 BitmapColor aColor; in GetScanline() local 688 *pTmp++ = aColor.GetRed(); in GetScanline() 691 *pTmp++ = aColor.GetGreen(); in GetScanline() 692 *pTmp++ = aColor.GetBlue(); in GetScanline() 699 aColor = pAcc->GetPixel( nY, nX ); in GetScanline() 700 *pTmp++ = aColor.GetRed(); in GetScanline() 703 *pTmp++ = aColor.GetGreen(); in GetScanline() 704 *pTmp++ = aColor.GetBlue(); in GetScanline() 745 BitmapColor aColor; in Write() local [all …]
|
/aoo4110/main/svtools/source/control/ |
H A D | prgsbar.cxx | 114 Color aColor; in ImplInitSettings() local 116 aColor = GetControlBackground(); in ImplInitSettings() 118 aColor = rStyleSettings.GetFaceColor(); in ImplInitSettings() 119 SetBackground( aColor ); in ImplInitSettings() 125 Color aColor = rStyleSettings.GetHighlightColor(); in ImplInitSettings() local 127 aColor = GetControlForeground(); in ImplInitSettings() 128 if ( aColor.IsRGBEqual( GetBackground().GetColor() ) ) in ImplInitSettings() 130 if ( aColor.GetLuminance() > 100 ) in ImplInitSettings() 131 aColor.DecreaseLuminance( 64 ); in ImplInitSettings() 133 aColor.IncreaseLuminance( 64 ); in ImplInitSettings() [all …]
|
H A D | hyperlabel.cxx | 138 const Color aColor = GetTextColor(); in MouseMove() local 142 DeactivateHyperMode(aFont, aColor); in MouseMove() 151 ActivateHyperMode( aFont, aColor); in MouseMove() 155 DeactivateHyperMode(aFont, aColor); in MouseMove() 159 void HyperLabel::ActivateHyperMode(Font aFont, const Color aColor) in ActivateHyperMode() argument 165 SetTextColor( aColor); in ActivateHyperMode() 169 void HyperLabel::DeactivateHyperMode(Font aFont, const Color aColor) in DeactivateHyperMode() argument 175 SetTextColor( aColor); in DeactivateHyperMode()
|
/aoo4110/main/svx/source/sdr/primitive2d/ |
H A D | sdrattributecreator.cxx | 240 const Color aColor(((const XLineColorItem&)(rSet.Get(XATTR_LINECOLOR))).GetColorValue()); in createNewSdrLineAttribute() local 260 aColor.getBColor(), in createNewSdrLineAttribute() 495 aColor.getBColor(), in createNewSdrFillAttribute() 919 aLightVector.push_back(attribute::Sdr3DLightAttribute(aColor, aDirection, true)); in createNewSdrLightingAttribute() 926 aLightVector.push_back(attribute::Sdr3DLightAttribute(aColor, aDirection, false)); in createNewSdrLightingAttribute() 933 aLightVector.push_back(attribute::Sdr3DLightAttribute(aColor, aDirection, false)); in createNewSdrLightingAttribute() 940 aLightVector.push_back(attribute::Sdr3DLightAttribute(aColor, aDirection, false)); in createNewSdrLightingAttribute() 947 aLightVector.push_back(attribute::Sdr3DLightAttribute(aColor, aDirection, false)); in createNewSdrLightingAttribute() 954 aLightVector.push_back(attribute::Sdr3DLightAttribute(aColor, aDirection, false)); in createNewSdrLightingAttribute() 961 aLightVector.push_back(attribute::Sdr3DLightAttribute(aColor, aDirection, false)); in createNewSdrLightingAttribute() [all …]
|
/aoo4110/main/vcl/unx/generic/app/ |
H A D | saldisp.cxx | 2988 XColor aColor; in SalColormap() local 2991 m_nBlackPixel = aColor.pixel; in SalColormap() 2994 m_nWhitePixel = aColor.pixel; in SalColormap() 3225 aColor[i].red = aColor[i].green = aColor[i].blue = 0; in GetPalette() 3226 aColor[i].pixel = i; in GetPalette() 3238 delete [] aColor; in GetPalette() 3308 XColor aColor; in GetColor() local 3310 aColor.pixel = nPixel; in GetColor() 3314 return MAKE_SALCOLOR( aColor.red>>8, aColor.green>>8, aColor.blue>>8 ); in GetColor() 3369 XColor aColor; in GetPixel() local [all …]
|
/aoo4110/main/cui/source/dialogs/ |
H A D | colorpicker.cxx | 757 maColor = aColor; in SetValues() 1251 Color aColor( nColor ); in ColorPickerDialog() local 1257 maColorPrevious.SetColor( aColor ); in ColorPickerDialog() 1261 mdRed = ((double)aColor.GetRed()) / 255.0; in ColorPickerDialog() 1262 mdGreen = ((double)aColor.GetGreen()) / 255.0; in ColorPickerDialog() 1263 mdBlue = ((double)aColor.GetBlue()) / 255.0; in ColorPickerDialog() 1289 Color aColor( nRed, nGreen, nBlue ); in update_color() local 1341 maEDHex.SetColor( aColor.GetColor() ); in update_color() 1357 maColorPreview.SetColor( aColor ); in update_color() 1454 Color aColor( nColor ); in IMPL_LINK() local [all …]
|
/aoo4110/main/sd/source/ui/presenter/ |
H A D | PresenterTextView.cxx | 107 void SetBackgroundColor (const Color aColor); 108 void SetTextColor (const Color aColor); 245 util::Color aColor = util::Color(); in SetPropertyValue() local 246 if (rValue >>= aColor) in SetPropertyValue() 247 mpImplementation->SetBackgroundColor(Color(aColor)); in SetPropertyValue() 251 util::Color aColor = util::Color(); in SetPropertyValue() local 252 if (rValue >>= aColor) in SetPropertyValue() 253 mpImplementation->SetTextColor(Color(aColor)); in SetPropertyValue() 451 maBackgroundColor = aColor; in SetBackgroundColor() 456 mpEditEngine->SetBackgroundColor(aColor); in SetBackgroundColor() [all …]
|
/aoo4110/main/xmloff/source/style/ |
H A D | GradientStyle.cxx | 172 Color aColor; in importXML() local 173 bHasStartColor = SvXMLUnitConverter::convertColor( aColor, rStrValue ); in importXML() 175 aGradient.StartColor = (sal_Int32)( aColor.GetColor() ); in importXML() 180 Color aColor; in importXML() local 181 bHasStartColor = SvXMLUnitConverter::convertColor( aColor, rStrValue ); in importXML() 183 aGradient.EndColor = (sal_Int32)( aColor.GetColor() ); in importXML() 293 Color aColor; in exportXML() local 296 aColor.SetColor( aGradient.StartColor ); in exportXML() 297 SvXMLUnitConverter::convertColor( aOut, aColor ); in exportXML() 302 aColor.SetColor( aGradient.EndColor ); in exportXML() [all …]
|
H A D | xmlbahdl.cxx | 485 Color aColor; in importXML() local 510 rValue <<= (sal_Int32)( aColor.GetColor() ); in importXML() 519 Color aColor; in exportXML() local 525 aColor.SetColor( nColor ); in exportXML() 527 SvXMLUnitConverter::convertColor( aOut, aColor ); in exportXML() 666 Color aColor; in importXML() local 668 rValue <<= (sal_Int32)( aColor.GetColor() ); in importXML() 683 Color aColor( nColor ); in exportXML() local 764 Color aColor; in importXML() local 767 rValue <<= (sal_Int32)( aColor.GetColor() ); in importXML() [all …]
|
H A D | TransGradientStyle.cxx | 171 Color aColor( n, n, n ); in importXML() local 172 aGradient.StartColor = (sal_Int32)( aColor.GetColor() ); in importXML() 183 Color aColor( n, n, n ); in importXML() local 184 aGradient.EndColor = (sal_Int32)( aColor.GetColor() ); in importXML() 285 Color aColor; in exportXML() local 288 aColor.SetColor( aGradient.StartColor ); in exportXML() 289 sal_Int32 aStartValue = 100 - (sal_Int32)(((aColor.GetRed() + 1) * 100) / 255); in exportXML() 295 aColor.SetColor( aGradient.EndColor ); in exportXML() 296 sal_Int32 aEndValue = 100 - (sal_Int32)(((aColor.GetRed() + 1) * 100) / 255); in exportXML()
|
/aoo4110/main/vcl/inc/ |
H A D | printergfx.hxx | 89 sal_Bool operator== (const PrinterColor& aColor) const in operator ==() 91 return aColor.Is() && this->Is() in operator ==() 92 && mnRed == aColor.mnRed in operator ==() 93 && mnGreen == aColor.mnGreen in operator ==() 94 && mnBlue == aColor.mnBlue; in operator ==() 97 { return ! (aColor==*this); } in operator !=() 98 PrinterColor& operator= (const PrinterColor& aColor) in operator =() argument 100 meColorspace = aColor.meColorspace; in operator =() 101 mnRed = aColor.mnRed; in operator =() 102 mnGreen = aColor.mnGreen; in operator =() [all …]
|
H A D | outdata.hxx | 35 inline SalColor ImplColorToSal( Color aColor ) in ImplColorToSal() argument 37 return MAKE_SALCOLOR( aColor.GetRed(), aColor.GetGreen(), aColor.GetBlue() ); in ImplColorToSal() 40 inline int ImplIsColorTransparent( Color aColor ) in ImplIsColorTransparent() argument 42 return aColor.GetTransparency(); in ImplIsColorTransparent()
|
/aoo4110/main/canvas/source/cairo/ |
H A D | cairo_canvashelper_text.cxx | 207 Color aColor( COL_WHITE ); in setupOutDevState() local 211 aColor = ::vcl::unotools::stdColorSpaceSequenceToColor( renderState.DeviceColor ); in setupOutDevState() 216 nTransparency = aColor.GetTransparency(); in setupOutDevState() 217 aColor.SetTransparency(0); in setupOutDevState() 222 rOutDev.SetLineColor( aColor ); in setupOutDevState() 228 rOutDev.SetFillColor( aColor ); in setupOutDevState() 234 rOutDev.SetTextColor( aColor ); in setupOutDevState() 266 Color aColor( COL_BLACK ); in setupTextOutput() local 270 aColor = ::vcl::unotools::stdColorSpaceSequenceToColor(renderState.DeviceColor ); in setupTextOutput() 274 aVCLFont.SetColor( aColor ); in setupTextOutput() [all …]
|
/aoo4110/main/vcl/workben/ |
H A D | svptest.cxx | 186 Color aColor; in approachColor() local 192 aColor.SetRed( rFrom.GetRed() + ( nDiff < 10 ? nDiff : 10 ) ); in approachColor() 197 aColor.SetRed( rFrom.GetRed() - ( nDiff < 10 ? nDiff : 10 ) ); in approachColor() 200 aColor.SetRed( rFrom.GetRed() ); in approachColor() 206 aColor.SetGreen( rFrom.GetGreen() + ( nDiff < 10 ? nDiff : 10 ) ); in approachColor() 211 aColor.SetGreen( rFrom.GetGreen() - ( nDiff < 10 ? nDiff : 10 ) ); in approachColor() 214 aColor.SetGreen( rFrom.GetGreen() ); in approachColor() 220 aColor.SetBlue( rFrom.GetBlue() + ( nDiff < 10 ? nDiff : 10 ) ); in approachColor() 225 aColor.SetBlue( rFrom.GetBlue() - ( nDiff < 10 ? nDiff : 10 ) ); in approachColor() 228 aColor.SetBlue( rFrom.GetBlue() ); in approachColor() [all …]
|
/aoo4110/main/svx/source/dialog/ |
H A D | dialcontrol.cxx | 161 Color aColor; in DrawBackground() local 163 aColor = GetBackgroundColor(); in DrawBackground() 164 SetFillColor( aColor ); in DrawBackground() 168 aColor.DecreaseLuminance( nDiff ); in DrawBackground() 169 SetFillColor( aColor ); in DrawBackground() 172 aColor.DecreaseLuminance( nDiff ); in DrawBackground() 173 SetFillColor( aColor ); in DrawBackground() 176 aColor = GetBackgroundColor(); in DrawBackground() 177 aColor.IncreaseLuminance( nDiff ); in DrawBackground() 178 SetFillColor( aColor ); in DrawBackground() [all …]
|
/aoo4110/main/editeng/source/items/ |
H A D | frmitems.cxx | 1534 Color aColor; in Create() local 1580 aColor = *pCol; in SvxBorderLine() 1594 aColor = r.aColor; in operator =() 2366 Color aColor; in Create() local 2772 Color aColor; in Create() local 3415 Color aColor; in Create() local 3487 aColor ( rColor ), in SvxBrushItem() 3619 aColor = aTempColor; in SvxBrushItem() 3936 aColor = rItem.aColor; in operator =() 4018 rStream << aColor; in Store() [all …]
|
/aoo4110/main/sd/source/ui/view/ |
H A D | drviews9.cxx | 391 else aGradient.SetEndColor (aColor); in AttrExec() 403 ? aColor in AttrExec() 406 ? aColor in AttrExec() 450 aHatch.SetColor (aColor); in AttrExec() 460 XHatch aHatch (aColor); in AttrExec() 815 Color aColor; in AttrState() local 841 aColor = (rWhatKind.GetValue () == 3) in AttrState() 852 aColor = rHatch.GetColor (); in AttrState() 861 ? aColor.GetRed () in AttrState() 863 ? aColor.GetGreen () in AttrState() [all …]
|
/aoo4110/main/svx/source/tbxctrls/ |
H A D | tbxcolorupdate.cxx | 76 Color aColor( rColor ); in Update() local 79 if( aColor.GetColor() == COL_AUTO ) in Update() 80 aColor = Color( COL_TRANSPARENT ); in Update() 82 if( ( maCurColor != aColor ) || bSizeChanged || bDisplayModeChanged ) in Update() 105 … if( mnDrawMode == TBX_UPDATER_MODE_CHAR_COLOR_NEW && ( COL_TRANSPARENT != aColor.GetColor() ) ) in Update() 106 pBmpAcc->SetLineColor( aColor ); in Update() 112 pBmpAcc->SetFillColor( maCurColor = aColor ); in Update() 149 if( COL_TRANSPARENT == aColor.GetColor() ) in Update()
|