Kaydet (Commit) a315454f authored tarafından Tor Lillqvist's avatar Tor Lillqvist

fdo#69358: Avoid discontinuity in the gradient of window bar and toolbar

CUIDraw() is undocumented (as it should be, it is after all a private
API), but I was lucky and guessed what was needed.

Change-Id: If686667d9b5dfa3a40e57e5e2b4f87be5796c801
üst c8a089d7
...@@ -545,7 +545,7 @@ sal_Bool AquaSalGraphics::drawNativeControl(ControlType nType, ...@@ -545,7 +545,7 @@ sal_Bool AquaSalGraphics::drawNativeControl(ControlType nType,
@"regularwin", @"windowtype", @"regularwin", @"windowtype",
(isMain ? @"normal" : @"inactive"), @"state", (isMain ? @"normal" : @"inactive"), @"state",
[NSNumber numberWithDouble:unifiedHeight], @"kCUIWindowFrameUnifiedTitleBarHeightKey", [NSNumber numberWithDouble:unifiedHeight], @"kCUIWindowFrameUnifiedTitleBarHeightKey",
[NSNumber numberWithBool:YES], @"kCUIWindowFrameDrawTitleSeparatorKey", [NSNumber numberWithBool:NO], @"kCUIWindowFrameDrawTitleSeparatorKey",
[NSNumber numberWithBool:YES], @"is.flipped", [NSNumber numberWithBool:YES], @"is.flipped",
nil], nil],
nil);; nil);;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment