Changeset 1120
- Timestamp:
- Aug 19, 2008 9:36:54 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/heightmapviewer.tcl
r1112 r1120 217 217 grid $inner.f.grid -row 0 -column 0 -sticky w 218 218 219 set ::Rappture::HeightmapViewer::_settings($this-axes) 1219 set ::Rappture::HeightmapViewer::_settings($this-axes) 0 220 220 ::checkbutton $inner.f.axes \ 221 221 -text "Axes" \ -
trunk/gui/scripts/switch.tcl
r1076 r1120 16 16 inherit itk::Widget 17 17 18 itk_option define -oncolor onColor Color " green"18 itk_option define -oncolor onColor Color "#00cc00" 19 19 itk_option define -state state State "normal" 20 20 21 21 constructor {args} { # defined below } 22 22 public method value {args} 23 public method updateText {} 23 24 private variable _value 0 ;# value for this widget 24 25 } … … 34 35 35 36 itk_component add value { 36 checkbutton $itk_interior.value -variable [itcl::scope _value] 37 checkbutton $itk_interior.value \ 38 -variable [itcl::scope _value] \ 39 -command [itcl::code $this updateText] 37 40 } { 38 rename -background -textbackground textBackground Background41 #rename -background -textbackground textBackground Background 39 42 } 40 43 pack $itk_component(value) -side left -expand yes -fill both … … 70 73 set _value $newval 71 74 event generate $itk_component(hull) <<Value>> 72 75 updateText 73 76 } elseif {[llength $args] != 0} { 74 77 error "wrong # args: should be \"value ?-check? ?newval?\"" … … 77 80 } 78 81 82 itcl::body Rappture::Switch::updateText {} { 83 set mesg [expr {($_value) ? "on" : "off"}] 84 $itk_component(value) configure -text $mesg 85 } 86 79 87 80 88 # ---------------------------------------------------------------------- -
trunk/packages/vizservers/configure.in
r1115 r1120 150 150 AC_CHECK_HEADER([glui.h]) 151 151 AC_CHECK_HEADER([GL/glut.h]) 152 AC_CHECK_HEADER([GL/glew.h]) 152 153 153 154 AC_CHECK_HEADERS([stdio.h unistd.h stdlib.h string.h sys/types.h]) -
trunk/packages/vizservers/nanovis/Makefile.in
r1115 r1120 218 218 install-nanovis: nanovis 219 219 $(INSTALL) -m 0555 nanovis $(bindir) 220 @if test "$(RP_DIR)/bin" != "$(bindir)" ; then \221 $(MKDIR_P) $(bindir) ; \222 $(INSTALL_PROGRAM) $(RP_DIR)/bin/voronoi $(bindir) ; \223 fi224 @if test "$(RP_DIR)/lib" != "$(libdir)" ; then \225 $(MKDIR_P) $(libdir) ; \226 $(INSTALL_DATA) $(RP_DIR)/lib/librappture2.so $(libdir) ; \227 $(INSTALL_DATA) $(RP_DIR)/lib/libz.so $(libdir) ; \228 $(INSTALL_DATA) $(RP_DIR)/lib/libb64.so $(libdir) ; \229 fi230 220 231 221 clean: -
trunk/packages/vizservers/pymolproxy/pymolproxy.c
r1111 r1120 1214 1214 Tcl_CreateCommand(interp, "rotate", RotateCmd, &pymol, NULL); 1215 1215 Tcl_CreateCommand(interp, "zoom", ZoomCmd, &pymol, NULL); 1216 Tcl_CreateCommand(interp, "loadpdb ", LoadPDBCmd, &pymol, NULL);1217 Tcl_CreateCommand(interp, "loadpdb 2", LoadPDB2Cmd, &pymol, NULL);1216 Tcl_CreateCommand(interp, "loadpdb.old", LoadPDBCmd, &pymol, NULL); 1217 Tcl_CreateCommand(interp, "loadpdb", LoadPDB2Cmd, &pymol, NULL); 1218 1218 Tcl_CreateCommand(interp, "ballnstick",BallNStickCmd, &pymol, NULL); 1219 1219 Tcl_CreateCommand(interp, "spheres", SpheresCmd, &pymol, NULL);
Note: See TracChangeset
for help on using the changeset viewer.