summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2014-10-23 13:25:55 +0000
committerManolo Gouy <Manolo>2014-10-23 13:25:55 +0000
commit9d5fde73b6a72008b88eabae1bfe82653c4ca872 (patch)
tree371fbd786fc82bd34971681a97b4546c437ec04d /src
parent8bc8a2fc34afffd2ad95b2df36c46369c2b01e2b (diff)
Fixed uchar arguments of fl_rgb_color() calls.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10392 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
-rw-r--r--src/Fl_cocoa.mm10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm
index a2827289f..4817412d0 100644
--- a/src/Fl_cocoa.mm
+++ b/src/Fl_cocoa.mm
@@ -3994,15 +3994,15 @@ void Fl_Paged_Device::print_window(Fl_Window *win, int x_offset, int y_offset)
delete[] bitmap;
}
if (fl_mac_os_version >= 101000) { // print the title bar buttons
- Fl_Color inactive = fl_rgb_color((uchar)0xCECE, (uchar)0xCECE, (uchar)0xCECE); // inactive button color
+ Fl_Color inactive = fl_rgb_color((uchar)0xCE, (uchar)0xCE, (uchar)0xCE); // inactive button color
Fl_Color redish, yellowish, greenish;
if ([[NSUserDefaults standardUserDefaults] integerForKey:@"AppleAquaColorVariant"] == 6) { // graphite appearance
- redish = yellowish = greenish = fl_rgb_color((uchar)0x8C8C, (uchar)0x8C8C, (uchar)0x8C8C);
+ redish = yellowish = greenish = fl_rgb_color((uchar)0x8C, (uchar)0x8C, (uchar)0x8C);
}
else {
- redish = fl_rgb_color((uchar)0xFFFF, (uchar)0x6363, (uchar)0x5A5A);
- yellowish = fl_rgb_color((uchar)0xFFFF, (uchar)0xC6C6, (uchar)0x4242);
- greenish = fl_rgb_color((uchar)0x2929, (uchar)0xD6D6, (uchar)0x5252);
+ redish = fl_rgb_color((uchar)0xFF, (uchar)0x63, (uchar)0x5A);
+ yellowish = fl_rgb_color((uchar)0xFF, (uchar)0xC6, (uchar)0x42);
+ greenish = fl_rgb_color((uchar)0x29, (uchar)0xD6, (uchar)0x52);
}
if (![close isEnabled]) fl_color(inactive); else fl_color(redish);