Changeset 4712 for branches/1.3/gui/scripts
- Timestamp:
- Nov 12, 2014 11:56:13 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.3/gui/scripts/nanovisviewer.tcl
r4711 r4712 150 150 private variable _transferFunctionEditors 151 151 private variable _settings 152 private variable _alphamap153 152 private variable _widget 154 153 … … 1690 1689 #set bfg [option get $itk_component(hull) boldFont Font] 1691 1690 1692 checkbutton $inner.vol -text "Show volume" -font $fg \1693 -variable [itcl::scope _settings(-volumevisible)] \1694 -command [itcl::code $this AdjustSetting -volumevisible]1695 1691 label $inner.shading -text "Shading:" -font $fg 1696 1692 … … 1698 1694 -variable [itcl::scope _settings(-light2side)] \ 1699 1695 -command [itcl::code $this AdjustSetting -light2side] 1696 1697 checkbutton $inner.visibility -text "Visible" -font $fg \ 1698 -variable [itcl::scope _settings(-volumevisible)] \ 1699 -command [itcl::code $this AdjustSetting -volumevisible] 1700 1700 1701 1701 label $inner.dim -text "Glow" -font $fg … … 1747 1747 1,0 $inner.shading -cspan 4 -anchor w -pady {10 2} \ 1748 1748 2,0 $inner.light2side -cspan 4 -anchor w -pady 2 \ 1749 3,0 $inner.dim -anchor e -pady 2 \ 1750 3,1 $inner.light -cspan 2 -pady 2 -fill x \ 1751 3,3 $inner.bright -anchor w -pady 2 \ 1752 4,0 $inner.fog -anchor e -pady 2 \ 1753 4,1 $inner.transp -cspan 2 -pady 2 -fill x \ 1754 4,3 $inner.plastic -anchor w -pady 2 \ 1755 5,0 $inner.thin -anchor e -pady 2 \ 1756 5,1 $inner.thickness -cspan 2 -pady 2 -fill x\ 1757 5,3 $inner.thick -anchor w -pady 2 1749 3,0 $inner.visibility -cspan 4 -anchor w -pady 2 \ 1750 4,0 $inner.dim -anchor e -pady 2 \ 1751 4,1 $inner.light -cspan 2 -pady 2 -fill x \ 1752 4,3 $inner.bright -anchor w -pady 2 \ 1753 5,0 $inner.fog -anchor e -pady 2 \ 1754 5,1 $inner.transp -cspan 2 -pady 2 -fill x \ 1755 5,3 $inner.plastic -anchor w -pady 2 \ 1756 6,0 $inner.thin -anchor e -pady 2 \ 1757 6,1 $inner.thickness -cspan 2 -pady 2 -fill x\ 1758 6,3 $inner.thick -anchor w -pady 2 1758 1759 1759 1760 blt::table configure $inner c0 c1 c3 r* -resize none 1760 blt::table configure $inner r 6-resize expand1761 blt::table configure $inner r7 -resize expand 1761 1762 } 1762 1763 … … 1772 1773 -command [itcl::code $this AdjustSetting -cutplanesvisible] \ 1773 1774 -font "Arial 9" 1774 1775 1775 1776 # X-value slicer... 1776 1777 itk_component add xCutButton { … … 1857 1858 1858 1859 blt::table $inner \ 1859 1,1 $itk_component(xCutButton) \ 1860 1,2 $itk_component(yCutButton) \ 1861 1,3 $itk_component(zCutButton) \ 1862 0,1 $itk_component(xCutScale) \ 1863 0,2 $itk_component(yCutScale) \ 1864 0,3 $itk_component(zCutScale) 1865 1866 blt::table configure $inner r0 r1 c* -resize none 1867 blt::table configure $inner r2 c4 -resize expand 1860 0,1 $inner.visible -anchor w -pady 2 -cspan 4 \ 1861 1,1 $itk_component(xCutScale) \ 1862 1,2 $itk_component(yCutScale) \ 1863 1,3 $itk_component(zCutScale) \ 1864 2,1 $itk_component(xCutButton) \ 1865 2,2 $itk_component(yCutButton) \ 1866 2,3 $itk_component(zCutButton) 1867 1868 blt::table configure $inner r0 r1 r2 c* -resize none 1869 blt::table configure $inner r3 c4 -resize expand 1868 1870 blt::table configure $inner c0 -width 2 1869 1871 blt::table configure $inner c1 c2 c3 -padx 2
Note: See TracChangeset
for help on using the changeset viewer.