Changeset 522 for trunk


Ignore:
Timestamp:
Sep 12, 2006, 10:24:27 AM (18 years ago)
Author:
nkissebe
Message:

another case of widgets not knowing special named colors (Windows implementation). So we fetch rgb values and use those. *njk*

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/scripts/balloon.tcl

    r428 r522  
    316316            set light [Rappture::color::brightness $bg 0.4]
    317317            set dark [Rappture::color::brightness $bg -0.4]
     318            set rgb [winfo rgb . $bg]
     319            set bg [format "#%03x%03x%03x" [lindex $rgb 0] [lindex $rgb 1] [lindex $rgb 2]]
    318320
    319321            $_fills($dir) put $bg -to 0 0 $sw $sh
Note: See TracChangeset for help on using the changeset viewer.