Closed
Bug 599241
Opened 14 years ago
Closed 14 years ago
Draw accent colour in titlebar until we can draw content in titlebar again
Categories
(Core :: Widget: Cocoa, defect)
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
blocking2.0 | --- | beta7+ |
People
(Reporter: joe, Assigned: joe)
References
Details
Attachments
(1 file, 2 obsolete files)
6.13 KB,
patch
|
mstange
:
review+
|
Details | Diff | Splinter Review |
It's quite a bit of work to get drawing of the persona in the titlebar working with OpenGL, but it's much less work to get the accent colour drawing in the titlebar again. This patch does that.
Attachment #478181 -
Flags: review?(mstange)
Assignee | ||
Updated•14 years ago
|
Comment 1•14 years ago
|
||
The LightweightThemeConsumer.jsm part is good, the nsChildView.mm is unnecessary if you land bug 595933 first, and I'm not happy with the nsCocoaWindow.mm part. I think you only need to change this: > CGPatternDrawPatternCallback cb = [mWindow drawsContentsIntoWindowFrame] ? > &ContentPatternDrawCallback : &RepeatedPatternDrawCallback; to ignore [mWindow drawsContentsIntoWindowFrame] and use RepeatedPatternDrawCallback always. RepeatedPatternDrawCallback should already do the right thing. But couldn't we just do the accent color fallback only for the OpenGL case? You could add a isUsingOpenGL method to the ChildView class and query that from setFill.
Whiteboard: [needs review]
Assignee | ||
Comment 3•14 years ago
|
||
Hope you don't mind - I just subsumed your patch in the other bug, since it's needed for this one.
Attachment #478181 -
Attachment is obsolete: true
Attachment #479191 -
Flags: review?(mstange)
Attachment #478181 -
Flags: review?(mstange)
Assignee | ||
Updated•14 years ago
|
Whiteboard: [needs review] → [needs review mstange]
Assignee | ||
Comment 4•14 years ago
|
||
this time with more qrefresh
Attachment #479191 -
Attachment is obsolete: true
Attachment #479192 -
Flags: review?(mstange)
Attachment #479191 -
Flags: review?(mstange)
Updated•14 years ago
|
Attachment #479192 -
Flags: review?(mstange) → review+
Assignee | ||
Updated•14 years ago
|
Whiteboard: [needs review mstange]
Assignee | ||
Comment 5•14 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/a976293325c6
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Updated•14 years ago
|
Flags: in-litmus?(abillings)
Updated•12 years ago
|
Flags: in-litmus?(abillings) → in-litmus?
You need to log in
before you can comment on or make changes to this bug.
Description
•