[Mono-bugs] [Bug 52674][Wis] Changed - SystemColors values are hardcoded

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 9 Dec 2004 00:11:55 -0500 (EST)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by rkumar@novell.com.

http://bugzilla.ximian.com/show_bug.cgi?id=52674

--- shadow/52674	2004-03-02 16:08:45.000000000 -0500
+++ shadow/52674.tmp.11392	2004-12-09 00:11:54.000000000 -0500
@@ -1,8 +1,8 @@
 Bug#: 52674
-Product: Mono/Class Libraries
+Product: Mono: Class Libraries
 Version: unspecified
 OS: unknown
 OS Details: 
 Status: NEW   
 Resolution: 
 Severity: Unknown
@@ -104,6 +104,18 @@
 ------- Additional Comments From rkumar@novell.com  2004-01-08 05:35 -------
 Looks like I have not reported bug well. Actually, I just want to 
 point out that the SystemColors values change as the theme is 
 changed. But, in S.D code values are hardcoded. Somehow, hardcoded 
 values must be replaced by the values available from the current 
 theme like .NET does.
+
+------- Additional Comments From rkumar@novell.com  2004-12-09 00:11 -------
+I can think of two ways to do it,
+
+1. The theme information can be obtained from SWF library, but it 
+would make SD library dependent on SWF.
+
+2. An environment variable for theme, the one used by SWF, could be 
+used in S.D as well to define the SystemColors values.
+
+These might not be very good solutions though, I would prefer the 
+second approach.