Ignore:
Timestamp:
Apr 26, 2006, 6:42:46 PM (18 years ago)
Author:
mmc
Message:
  • Added <description> capability to output objects, including axes.
  • Fixed the ResultSet? so that it is more compact and supports the simulation number as a parameter. This is useful when there are datasets with wildly varying parameters.
File:
1 edited

Legend:

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

    r220 r413  
    2222option add *MoleculeViewer.backdrop black widgetDefault
    2323
    24 blt::bitmap define MoleculeViewer-reset {
    25 #define reset_width 12
    26 #define reset_height 12
    27 static unsigned char reset_bits[] = {
    28    0x00, 0x00, 0x00, 0x00, 0xfc, 0x03, 0x04, 0x02, 0x04, 0x02, 0x04, 0x02,
    29    0x04, 0x02, 0x04, 0x02, 0x04, 0x02, 0xfc, 0x03, 0x00, 0x00, 0x00, 0x00};
    30 }
    31 
    32 blt::bitmap define MoleculeViewer-zoomin {
    33 #define zoomin_width 12
    34 #define zoomin_height 12
    35 static unsigned char zoomin_bits[] = {
    36    0x7c, 0x00, 0x82, 0x00, 0x11, 0x01, 0x11, 0x01, 0x7d, 0x01, 0x11, 0x01,
    37    0x11, 0x01, 0x82, 0x03, 0xfc, 0x07, 0x80, 0x0f, 0x00, 0x0f, 0x00, 0x06};
    38 }
    39 
    40 blt::bitmap define MoleculeViewer-zoomout {
    41 #define zoomout_width 12
    42 #define zoomout_height 12
    43 static unsigned char zoomout_bits[] = {
    44    0x7c, 0x00, 0x82, 0x00, 0x01, 0x01, 0x01, 0x01, 0x7d, 0x01, 0x01, 0x01,
    45    0x01, 0x01, 0x82, 0x03, 0xfc, 0x07, 0x80, 0x0f, 0x00, 0x0f, 0x00, 0x06};
    46 }
    47 
    48 blt::bitmap define MoleculeViewer-atoms {
    49 #define atoms_width 12
    50 #define atoms_height 12
    51 static unsigned char atoms_bits[] = {
    52    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x48, 0x02, 0x4c, 0x02, 0xc8, 0x03,
    53    0x48, 0x02, 0x48, 0x02, 0x5c, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
    54 }
    55 
    5624itcl::class Rappture::MoleculeViewer {
    5725    inherit itk::Widget
     
    138106        button $itk_component(controls).reset \
    139107            -borderwidth 1 -padx 1 -pady 1 \
    140             -bitmap MoleculeViewer-reset \
     108            -bitmap [Rappture::icon reset] \
    141109            -command [itcl::code $this _zoom reset]
    142110    } {
     
    151119        button $itk_component(controls).zin \
    152120            -borderwidth 1 -padx 1 -pady 1 \
    153             -bitmap MoleculeViewer-zoomin \
     121            -bitmap [Rappture::icon zoomin] \
    154122            -command [itcl::code $this _zoom in]
    155123    } {
     
    164132        button $itk_component(controls).zout \
    165133            -borderwidth 1 -padx 1 -pady 1 \
    166             -bitmap MoleculeViewer-zoomout \
     134            -bitmap [Rappture::icon zoomout] \
    167135            -command [itcl::code $this _zoom out]
    168136    } {
     
    177145        label $itk_component(controls).labels \
    178146            -borderwidth 1 -padx 1 -pady 1 \
    179             -bitmap MoleculeViewer-atoms
     147            -bitmap [Rappture::icon atoms]
    180148    } {
    181149        usual
Note: See TracChangeset for help on using the changeset viewer.