Changeset 1120


Ignore:
Timestamp:
Aug 19, 2008 9:36:54 AM (14 years ago)
Author:
gah
Message:
 
Location:
trunk
Files:
5 edited

Legend:

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

    r1112 r1120  
    217217    grid $inner.f.grid -row 0 -column 0 -sticky w
    218218
    219     set ::Rappture::HeightmapViewer::_settings($this-axes) 1
     219    set ::Rappture::HeightmapViewer::_settings($this-axes) 0
    220220    ::checkbutton $inner.f.axes \
    221221        -text "Axes" \
  • trunk/gui/scripts/switch.tcl

    r1076 r1120  
    1616    inherit itk::Widget
    1717
    18     itk_option define -oncolor onColor Color "green"
     18    itk_option define -oncolor onColor Color "#00cc00"
    1919    itk_option define -state state State "normal"
    2020
    2121    constructor {args} { # defined below }
    2222    public method value {args}
     23    public method updateText {}
    2324    private variable _value 0  ;# value for this widget
    2425}
     
    3435
    3536    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]
    3740    } {
    38         rename -background -textbackground textBackground Background
     41        #rename -background -textbackground textBackground Background
    3942    }
    4043    pack $itk_component(value) -side left -expand yes -fill both
     
    7073        set _value $newval
    7174        event generate $itk_component(hull) <<Value>>
    72 
     75        updateText
    7376    } elseif {[llength $args] != 0} {
    7477        error "wrong # args: should be \"value ?-check? ?newval?\""
     
    7780}
    7881
     82itcl::body Rappture::Switch::updateText {} {
     83    set mesg [expr {($_value) ? "on" : "off"}]
     84    $itk_component(value) configure -text $mesg
     85}
     86   
    7987
    8088# ----------------------------------------------------------------------
  • trunk/packages/vizservers/configure.in

    r1115 r1120  
    150150AC_CHECK_HEADER([glui.h])
    151151AC_CHECK_HEADER([GL/glut.h])
     152AC_CHECK_HEADER([GL/glew.h])
    152153
    153154AC_CHECK_HEADERS([stdio.h unistd.h stdlib.h string.h sys/types.h])
  • trunk/packages/vizservers/nanovis/Makefile.in

    r1115 r1120  
    218218install-nanovis: nanovis
    219219        $(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         fi
    224         @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         fi
    230220
    231221clean:
  • trunk/packages/vizservers/pymolproxy/pymolproxy.c

    r1111 r1120  
    12141214    Tcl_CreateCommand(interp, "rotate",  RotateCmd,     &pymol, NULL);
    12151215    Tcl_CreateCommand(interp, "zoom",    ZoomCmd,       &pymol, NULL);
    1216     Tcl_CreateCommand(interp, "loadpdb", LoadPDBCmd,    &pymol, NULL);
    1217     Tcl_CreateCommand(interp, "loadpdb2", LoadPDB2Cmd,  &pymol, NULL);
     1216    Tcl_CreateCommand(interp, "loadpdb.old", LoadPDBCmd,    &pymol, NULL);
     1217    Tcl_CreateCommand(interp, "loadpdb", LoadPDB2Cmd,  &pymol, NULL);
    12181218    Tcl_CreateCommand(interp, "ballnstick",BallNStickCmd, &pymol, NULL);
    12191219    Tcl_CreateCommand(interp, "spheres", SpheresCmd,    &pymol, NULL);
Note: See TracChangeset for help on using the changeset viewer.