mirror of
https://github.com/glfw/glfw.git
synced 2025-06-07 08:14:57 +00:00
test
This commit is contained in:
parent
b6187626ab
commit
c2952e047a
@ -1037,7 +1037,7 @@ void _glfwSetWindowTitlebarColorCocoa(_GLFWwindow* window, int r, int g, int b,
|
|||||||
|
|
||||||
NSColor *color = [NSColor colorWithCalibratedRed:red green:green blue:blue alpha:alpha];
|
NSColor *color = [NSColor colorWithCalibratedRed:red green:green blue:blue alpha:alpha];
|
||||||
|
|
||||||
[window->ns.object setTitlebarAppearsTransparent:YES]; // gives it "flat" look
|
// [window->ns.object setTitlebarAppearsTransparent:YES]; // gives it "flat" look
|
||||||
[window->ns.object setBackgroundColor:color];
|
[window->ns.object setBackgroundColor:color];
|
||||||
} // autoreleasepool
|
} // autoreleasepool
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user