Closed Bug 444007 Opened 16 years ago Closed 7 years ago

Redesign theme API

Categories

(Core :: Widget, defect)

defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: robarnold, Unassigned)

References

Details

nsLookAndFeel and nsNativeThemeWin each contain duplicate code for dynamically loading uxtheme.dll and extracting the theme functions and handles. Aero glass needs the ability to query theme data (color specifically) from nsWindow in its fallback case. This logic and data should be centralized somewhere and easily accessible.

While we're at it bug 392644 would be easier to fix with animation support built in to the theme APIs. OSX also needs some animation support for its widgets.

And some of that code is pretty old and could stand to be cleaned up.
Depends on: 444013
No longer blocks: 418454
Bug 444013 reduced the duplicate code. I think that nsILookAndFeel and nsITheme should be merged since all our supported platforms provide an nsITheme implementation (and a default one is fairly easy).
Component: Widget: Win32 → Widget
OS: Windows Vista → All
QA Contact: win32 → general
Hardware: PC → All
Blocks: 386929
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.