[Thinlet-development] thinlet/examples/demo Demo.java,1.1,1.2
Brought to you by:
bajzat
From: <ab...@us...> - 2003-05-16 13:07:32
|
Update of /cvsroot/thinlet/thinlet/examples/demo In directory sc8-pr-cvs1:/tmp/cvs-serv12467 Modified Files: Demo.java Log Message: Sync with API change (setColor). Index: Demo.java =================================================================== RCS file: /cvsroot/thinlet/thinlet/examples/demo/Demo.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- Demo.java 8 May 2003 21:33:25 -0000 1.1 +++ Demo.java 16 May 2003 13:07:29 -0000 1.2 @@ -255,7 +255,7 @@ float[] hsb = Color.RGBtoHSB(red, green, blue, null); - setBackground(rgb_label, new Color(red, green, blue)); + setColor(rgb_label, "background", new Color(red, green, blue)); setString(tf_hue, "text", String.valueOf(hsb[0])); setString(tf_saturation, "text", String.valueOf(hsb[1])); setString(tf_brightness, "text", String.valueOf(hsb[2])); |