Closed
Bug 115753
Opened 23 years ago
Closed 23 years ago
NS_THEME_TOOLTIP implementation (Windows)
Categories
(Core Graveyard :: Skinability, enhancement)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla0.9.8
People
(Reporter: ian, Assigned: hyatt)
References
Details
Attachments
(2 files)
2.42 KB,
patch
|
Details | Diff | Splinter Review | |
3.29 KB,
patch
|
bryner
:
review+
sspitzer
:
superreview+
|
Details | Diff | Splinter Review |
This covers the implementation of NS_THEME_TOOLTIP for XUL and HTML tooltips on Windows.
Comment 1•23 years ago
|
||
Comment 2•23 years ago
|
||
Okay, so by the time someone applied and tested this, they could have written it. Shut up, I'm just getting my feet wet :)
Assignee | ||
Comment 3•23 years ago
|
||
BP_NORMAL and the three other generic states (hover/active/disabled) should be renamed to a generic constant, e.g., TS_NORMAL (theme state normal), and that should just be used rather than TSS_NORMAL and BP_NORMAL.
Assignee | ||
Comment 4•23 years ago
|
||
Here it is cleaned up and tested. It works, although you don't get the sexy drop shadows on popups. I need to figure out how we can just automatically put drop shadows on popup windows.
Assignee | ||
Updated•23 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.8
Comment 5•23 years ago
|
||
Comment on attachment 63600 [details] [diff] [review] Tested patch (merged in with current tip). r=bryner
Attachment #63600 -
Flags: review+
Comment 6•23 years ago
|
||
Comment on attachment 63600 [details] [diff] [review] Tested patch (merged in with current tip). sr=sspitzer
Attachment #63600 -
Flags: superreview+
Assignee | ||
Comment 7•23 years ago
|
||
Fixed.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 8•23 years ago
|
||
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winclass_3b1v.asp Basically, you use RegisterClassEx() to register a class that has WNDCLASSEX struct with its |style| member having the CS_DROPSHADOW flag set, then you use CreateWindowEx() and pass it the atom returned by RegisterClassEx() representing the window style you registered.
Assignee | ||
Comment 9•23 years ago
|
||
Yes, that worked like a charm. I'm breaking out the dropshadow stuff into a separate bug.
Updated•16 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•