aboutsummaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
Diffstat (limited to 'demos')
-rw-r--r--demos/photoAlpha.tcl7
1 files changed, 1 insertions, 6 deletions
diff --git a/demos/photoAlpha.tcl b/demos/photoAlpha.tcl
index e3d41d6..764baca 100644
--- a/demos/photoAlpha.tcl
+++ b/demos/photoAlpha.tcl
@@ -43,13 +43,8 @@ namespace eval photoAlpha {
###########################################
# Zinc
##########################################
- if { $tcl_platform(platform) eq "unix" } {
- zinc $w.zinc -width 350 -height 250 -render 1 -font $defaultfont \
+ zinc $w.zinc -width 350 -height 250 -render 1 -font $defaultfont \
-borderwidth 3 -relief sunken -tile $texture
- } else {
- zinc $w.zinc -width 350 -height 250 -render 1 -font $defaultfont \
- -borderwidth 3 -relief sunken -backcolor \#898A8F
- }
grid $w.zinc -row 1 -column 0 -columnspan 2 -sticky news
grid columnconfigure $w 0 -weight 1
grid columnconfigure $w 1 -weight 1