Closed Bug 115748 Opened 23 years ago Closed 23 years ago

NS_THEME_PROGRESSBAR* implementations (Windows)

Categories

(Core Graveyard :: Skinability, enhancement)

x86
Windows XP
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla0.9.8

People

(Reporter: ian, Assigned: hyatt)

References

Details

Attachments

(1 file, 1 obsolete file)

This covers the implementation of NS_THEME_PROGRESSBAR and
NS_THEME_PROGRESSBAR_CHUNK for XUL progress bars on Windows.

Query: how does NS_THEME_PROGRESSBAR_CHUNK know how big to be?
Blocks: 117584
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.8
Patch is coming.  There is a known issue with chunking in certain skins.  The
problem is that Windows XP lets you specify how to draw a background, e.g.,
either tiled or stretched.  In the case of Luna, chunks will be tiled, which
means I don't have to measure chunks; I can just pass the progress rect to the
theme API, and it will tile chunks into the rect provided.

Some skins, however, don't specify that chunks should be tiled, and to deal with
these I'm going to have to write my own little tiler that measures chunks and
tiles them into the progress rect.
Comment on attachment 63582 [details] [diff] [review]
Patch to clean up scrollbars and add progressbar support.

r=bryner
Attachment #63582 - Flags: review+
Comment on attachment 63595 [details] [diff] [review]
Make some state constants generic and fix a bug with min-width/min-height in themes

r=bryner
Attachment #63595 - Flags: review+
Comment on attachment 63595 [details] [diff] [review]
Make some state constants generic and fix a bug with min-width/min-height in themes

sr=sspitzer
Fixed.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
QA Contact: pmac
Why were changes made to the modern theme, specifically progressmeter.css, in 
this patch?  This caused the cosmetic bug 140854.
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: