Bug 9393 - No way to know when system colours change
Summary: No way to know when system colours change
Status: RESOLVED DUPLICATE of bug 13813
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P4 normal (vote)
Target Milestone: ---   Edit
Assignee: Silenio Quarti CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 9140
  Show dependency tree
 
Reported: 2002-02-11 10:17 EST by Tod Creasey CLA
Modified: 2003-05-14 16:32 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 Tod Creasey CLA 2002-02-11 10:17:07 EST
We need a callback that can be registered to determine when the system colours 
have changed so that any widget that does not use the default colours can 
update.
Comment 1 Mike Wilson CLA 2002-02-11 11:59:35 EST
Hm... If the widget is not using the default colors then it doesn't need to 
update, does it? :-P

The current model is that if you are using the system colors, then it will 
happen for you for free. If not, then you could presumably hook a paint 
listener on a widget which *was* using the system colors and watch for the 
change to occur. (Note: This is obviously hokey.)

If this is critical, we can provide it, although likely not on all platforms.
Comment 2 Tod Creasey CLA 2002-02-11 12:17:32 EST
The issue here is with widgets that set thier background colour to 
SWT.COLOR_LIST_BACKGROUND. When the user changes the window preferences so that 
the list background colour changes these widgets are not updated.

This is a low priority problem for us however.
Comment 3 Steve Northover CLA 2003-05-14 16:32:39 EDT

*** This bug has been marked as a duplicate of 13813 ***