Ignore:
Timestamp:
May 3, 2006, 8:15:18 PM (18 years ago)
Author:
mmc
Message:
  • Added <sequence> for playing movie outputs and other sequences of related results.
  • Added <resize> option to <image> elements. This can be used to resize input items to a smaller size, so they don't take up so much real estate on the form.
  • Fixed a bug in right/below cases for popup balloons.
  • Reduced the tooltip delay time to 750ms to interact better with Rick's attention span.
  • Fixed the sash between grips to light up when you touch it, so it's easier to see.
File:
1 edited

Legend:

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

    r413 r428  
    6565    protected method _simOutput {message}
    6666    protected method _resultTooltip {}
     67    protected method _mkdir {dir}
    6768
    6869    private variable _tool ""          ;# belongs to this tool
     
    364365            # file, then move the run.xml file there for storage
    365366            if {"" != $_resultdir} {
    366                 file rename -force -- $file $_resultdir
     367                catch {
     368                    if {![file exists $_resultdir]} {
     369                        _mkdir $_resultdir
     370                    }
     371                    file rename -force -- $file $_resultdir
     372                }
    367373            }
    368374        } else {
     
    454460            table* {
    455461                _autoLabel $xmlobj output.$item "Energy Levels" counters
     462            }
     463            sequence* {
     464                _autoLabel $xmlobj output.$item "Sequence" counters
    456465            }
    457466        }
     
    976985
    977986# ----------------------------------------------------------------------
     987# USAGE: _mkdir <directory>
     988#
     989# Used internally to create the <directory> in the file system.
     990# The parent directory is also created, as needed.
     991# ----------------------------------------------------------------------
     992itcl::body Rappture::Analyzer::_mkdir {dir} {
     993    set parent [file dirname $dir]
     994    if {"." != $parent && "/" != $parent} {
     995        if {![file exists $parent]} {
     996            _mkdir $parent
     997        }
     998    }
     999    file mkdir $dir
     1000}
     1001
     1002# ----------------------------------------------------------------------
    9781003# USAGE: _fixSimControl
    9791004#
Note: See TracChangeset for help on using the changeset viewer.