Bug 4679 - Colour gradient of views is not gradual (16bit color depth) (1GELWSO)
Summary: Colour gradient of views is not gradual (16bit color depth) (1GELWSO)
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 2.0   Edit
Hardware: All Windows 2000
: P4 normal (vote)
Target Milestone: ---   Edit
Assignee: Veronika Irvine CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-11 14:21 EDT by Mike Wilson CLA
Modified: 2002-05-27 16:43 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Wilson CLA 2001-10-11 14:21:08 EDT
When you are using 16-bit colour depth, the gradient on the active View window is not gradual,
it is very 'rough'.  The colour is a smooth gradient on the native Active window bars however.

Steps to see:
1) set your colour depth to 16-bit
	- on a Windows platform, right-click on your desktop and select Properties
	- in the settings tab, you can change your colour depth from there
2) run eclipse and activate a View window

Note that the native shell bar of eclipse is a smooth gradient, but the gradient of the View isn't - 
it has very blocky steps.

Eclipse is smart enough to detect colour depth on startup so that if you have a 256-colour depth
it does not attempt the draw the colour gradient, instead it uses a single colour.  Perhaps the same
can be done for 16-bits and use a different algorithm to paint the colour gradient.


NOTES:

	McQ (01/06/2001 8:55:22 AM) -
		We will not get to this for June.

	McQ (26/06/2001 2:30:44 PM) -
		Would require adding dithering support to graphics.
Comment 1 DJ Houghton CLA 2001-10-29 16:30:29 EST
PRODUCT VERSION:
115 (31/05/2001 4:25:05 PM)

Comment 2 Mike Wilson CLA 2002-05-24 18:47:35 EDT
Has this been fixed? (Pls, mark PR as either FIXED or LATER)
Comment 3 Veronika Irvine CLA 2002-05-27 16:43:30 EDT
Now using GC.fillGradiantRectangle which uses the OS mechanism.