summaryrefslogtreecommitdiffstats
path: root/macosx/ttkMacOSXTheme.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-06-05 14:46:29 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-06-05 14:46:29 (GMT)
commite81cca9a1580b0ddae6685aa568a6b79a0796691 (patch)
treeca74a5545f813d11d24abca3da0c91679e8e8a24 /macosx/ttkMacOSXTheme.c
parent333cbaa1015630f86d8e8378dd1f0fe173c5a258 (diff)
downloadtk-e81cca9a1580b0ddae6685aa568a6b79a0796691.zip
tk-e81cca9a1580b0ddae6685aa568a6b79a0796691.tar.gz
tk-e81cca9a1580b0ddae6685aa568a6b79a0796691.tar.bz2
Reduce the number of unnecessary end-of-line spacings
Diffstat (limited to 'macosx/ttkMacOSXTheme.c')
-rw-r--r--macosx/ttkMacOSXTheme.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/macosx/ttkMacOSXTheme.c b/macosx/ttkMacOSXTheme.c
index d8af0cb..c33e8c9 100644
--- a/macosx/ttkMacOSXTheme.c
+++ b/macosx/ttkMacOSXTheme.c
@@ -79,10 +79,10 @@ static CGFloat darkFocusRing[4] = {
38.0 / 255, 113.0 / 255, 159.0 / 255, 1.0
};
static CGFloat darkFocusRingTop[4] = {
- 50.0 / 255, 124.0 / 255, 171.0 / 255, 1.0
+ 50.0 / 255, 124.0 / 255, 171.0 / 255, 1.0
};
static CGFloat darkFocusRingBottom[4] = {
- 57.0 / 255, 130.0 / 255, 176.0 / 255, 1.0
+ 57.0 / 255, 130.0 / 255, 176.0 / 255, 1.0
};
static CGFloat darkTabSeparator[4] = {0.0, 0.0, 0.0, 0.25};
static CGFloat darkTrack[4] = {1.0, 1.0, 1.0, 0.25};
@@ -1043,7 +1043,7 @@ static void DrawDarkFocusRing(
};
CGPoint bottom[2] = {{x, y + h}, {x + w, y + h}};
CGRect outerRect = CGRectInset(bounds, -3, -3);
-
+
CGContextSaveGState(context);
CGContextSetShouldAntialias(context, false);
CGContextBeginPath(context);
@@ -1693,11 +1693,11 @@ static void EntryElementDraw(
NSColorSpace *deviceRGB = [NSColorSpace deviceRGBColorSpace];
CGFloat fill[4];
GetBackgroundColor(dc.context, tkwin, 1, fill);
-
+
/*
* Lighten the background to provide contrast.
*/
-
+
for (int i = 0; i < 3; i++) {
fill[i] += 9.0 / 255.0;
}