aboutsummaryrefslogtreecommitdiff
path: root/demos/groupsInAtcStrips.tcl
diff options
context:
space:
mode:
authorlecoanet2004-09-21 07:52:10 +0000
committerlecoanet2004-09-21 07:52:10 +0000
commit6a495d868f7fa7a0989f2fe7c30ce468496b2f10 (patch)
treebad6730489e70ea51dba0fc62d78b01e4dd5218c /demos/groupsInAtcStrips.tcl
parent9373cebaaceb73b1f0682dfa764dc3f86f4a3721 (diff)
downloadtkzinc-6a495d868f7fa7a0989f2fe7c30ce468496b2f10.zip
tkzinc-6a495d868f7fa7a0989f2fe7c30ce468496b2f10.tar.gz
tkzinc-6a495d868f7fa7a0989f2fe7c30ce468496b2f10.tar.bz2
tkzinc-6a495d868f7fa7a0989f2fe7c30ce468496b2f10.tar.xz
The various demos now use a central Tcl proc demosPath to
obtain the path to the images and data.
Diffstat (limited to 'demos/groupsInAtcStrips.tcl')
-rw-r--r--demos/groupsInAtcStrips.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/groupsInAtcStrips.tcl b/demos/groupsInAtcStrips.tcl
index 5092ae0..3e8e5c7 100644
--- a/demos/groupsInAtcStrips.tcl
+++ b/demos/groupsInAtcStrips.tcl
@@ -55,7 +55,7 @@ namespace eval groupsInAtcStrips {
wm iconname $w groupsInAtcStrips
variable defaultfont [font create -family Helvetica -size 10 -weight bold]
- variable imagePath [file join $zinc_library demos images]
+ variable imagePath [file join [demosPath] images]
grid [button $w.dismiss -text Dismiss -command "destroy $w"] -row 2 -column 0 -pady 10
grid [button $w.code -text "See Code" -command "showCode $w"] -row 2 -column 1 -pady 10
@@ -83,7 +83,7 @@ namespace eval groupsInAtcStrips {
# Zinc
##########################################
image create photo texture -file \
- [file join $zinc_library demos images background_texture.gif]
+ [file join [demosPath] images background_texture.gif]
grid [zinc $w.zinc -render 1 -width 700 -height 500 -borderwidth 0 \
-lightangle 130 -tile texture] -row 1 -column 0 -columnspan 2 -sticky news