Changeset 413 for trunk/gui/scripts/moleculeViewer.tcl
- Timestamp:
- Apr 26, 2006, 6:42:46 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/moleculeViewer.tcl
r220 r413 22 22 option add *MoleculeViewer.backdrop black widgetDefault 23 23 24 blt::bitmap define MoleculeViewer-reset {25 #define reset_width 1226 #define reset_height 1227 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 1234 #define zoomin_height 1235 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 1242 #define zoomout_height 1243 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 1250 #define atoms_height 1251 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 56 24 itcl::class Rappture::MoleculeViewer { 57 25 inherit itk::Widget … … 138 106 button $itk_component(controls).reset \ 139 107 -borderwidth 1 -padx 1 -pady 1 \ 140 -bitmap MoleculeViewer-reset\108 -bitmap [Rappture::icon reset] \ 141 109 -command [itcl::code $this _zoom reset] 142 110 } { … … 151 119 button $itk_component(controls).zin \ 152 120 -borderwidth 1 -padx 1 -pady 1 \ 153 -bitmap MoleculeViewer-zoomin\121 -bitmap [Rappture::icon zoomin] \ 154 122 -command [itcl::code $this _zoom in] 155 123 } { … … 164 132 button $itk_component(controls).zout \ 165 133 -borderwidth 1 -padx 1 -pady 1 \ 166 -bitmap MoleculeViewer-zoomout\134 -bitmap [Rappture::icon zoomout] \ 167 135 -command [itcl::code $this _zoom out] 168 136 } { … … 177 145 label $itk_component(controls).labels \ 178 146 -borderwidth 1 -padx 1 -pady 1 \ 179 -bitmap MoleculeViewer-atoms147 -bitmap [Rappture::icon atoms] 180 148 } { 181 149 usual
Note: See TracChangeset
for help on using the changeset viewer.