Ignore:
Timestamp:
Mar 18, 2009, 2:59:21 PM (15 years ago)
Author:
gah
Message:

preliminary HQ output from molvisviewer; unexpand tabs; all jpeg generation at 100%

File:
1 edited

Legend:

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

    r785 r1342  
    3535itcl::body Rappture::Image::constructor {xmlobj path} {
    3636    if {![Rappture::library isvalid $xmlobj]} {
    37         error "bad value \"$xmlobj\": should be LibraryObj"
     37        error "bad value \"$xmlobj\": should be LibraryObj"
    3838    }
    3939    set _xmlobj $xmlobj
     
    4141    set data [string trim [$xmlobj get $path.current]]
    4242    if {[string length $data] == 0} {
    43         set _image [image create photo]
     43        set _image [image create photo]
    4444    } else {
    45         set _image [image create photo -data $data]
     45        set _image [image create photo -data $data]
    4646    }
    4747
     
    6666itcl::body Rappture::Image::hints {{keyword ""}} {
    6767    if {$keyword != ""} {
    68         if {[info exists _hints($keyword)]} {
    69             return $_hints($keyword)
    70         }
    71         return ""
     68        if {[info exists _hints($keyword)]} {
     69            return $_hints($keyword)
     70        }
     71        return ""
    7272    }
    7373    return [array get _hints]
Note: See TracChangeset for help on using the changeset viewer.