Revision: 40667
          http://brlcad.svn.sourceforge.net/brlcad/?rev=40667&view=rev
Author:   bob1961
Date:     2010-09-24 13:49:46 +0000 (Fri, 24 Sep 2010)

Log Message:
-----------
Added a configbody for Legend::textColor.

Modified Paths:
--------------
    brlcad/trunk/src/tclscripts/lib/Legend.tcl

Modified: brlcad/trunk/src/tclscripts/lib/Legend.tcl
===================================================================
--- brlcad/trunk/src/tclscripts/lib/Legend.tcl  2010-09-24 13:44:05 UTC (rev 
40666)
+++ brlcad/trunk/src/tclscripts/lib/Legend.tcl  2010-09-24 13:49:46 UTC (rev 
40667)
@@ -174,6 +174,14 @@
     cadwidgets::Legend::update
 }
 
+::itcl::configbody cadwidgets::Legend::textColor {
+    if {[catch {winfo rgb $itk_interior $itk_option(-textColor)} msg]} {
+       error $msg
+    }
+
+    cadwidgets::Legend::update
+}
+
 ::itcl::body cadwidgets::Legend::constructor {args} {
     itk_component add canvas {
        ::canvas $itk_interior.canvas


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to