galctrl.cxx (35726d9d) | galctrl.cxx (33b19716) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 290 unchanged lines hidden (view full) --- 299} 300 301// ------------------------------------------------------------------------ 302 303void drawTransparenceBackground(OutputDevice& rOut, const Point& rPos, const Size& rSize) 304{ 305 const StyleSettings& rStyleSettings = Application::GetSettings().GetStyleSettings(); 306 | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 290 unchanged lines hidden (view full) --- 299} 300 301// ------------------------------------------------------------------------ 302 303void drawTransparenceBackground(OutputDevice& rOut, const Point& rPos, const Size& rSize) 304{ 305 const StyleSettings& rStyleSettings = Application::GetSettings().GetStyleSettings(); 306 |
307 if(rStyleSettings.GetUIPreviewUsesCheckeredBackground()) | 307 if(rStyleSettings.GetPreviewUsesCheckeredBackground()) |
308 { 309 // draw checkered background 310 static const sal_uInt32 nLen(8); 311 static const Color aW(COL_WHITE); 312 static const Color aG(0xef, 0xef, 0xef); 313 314 rOut.DrawCheckered(rPos, rSize, nLen, aW, aG); 315 } --- 480 unchanged lines hidden --- | 308 { 309 // draw checkered background 310 static const sal_uInt32 nLen(8); 311 static const Color aW(COL_WHITE); 312 static const Color aG(0xef, 0xef, 0xef); 313 314 rOut.DrawCheckered(rPos, rSize, nLen, aW, aG); 315 } --- 480 unchanged lines hidden --- |