X-Git-Url: http://www.wagner.pp.ru/gitweb/?p=oss%2Ffgis.git;a=blobdiff_plain;f=tcl%2Fviewer.tcl;fp=tcl%2Fviewer.tcl;h=2ac799034568ade087da76d4449608d6e28ba2fc;hp=d03987f76772d8440f29cb39c736931ef2ce5eb6;hb=d0bba38cfba89b518451d787df1c2364bca90c3d;hpb=0f72a273d03cd2b67e60a9f5e0ae0c0809f0ed93 diff --git a/tcl/viewer.tcl b/tcl/viewer.tcl index d03987f..2ac7990 100644 --- a/tcl/viewer.tcl +++ b/tcl/viewer.tcl @@ -1,6 +1,29 @@ -# High-level operation with layers -# -# +#!/usr/bin/wish +## +## $Id: viewer.tcl,v 1.2 2003-01-08 15:52:45 dron Exp $ +## +## Project: fGIS Tcl library +## Purpose: High-level operation with layers +## +############################################################################## +## +## Copyright (C) 1997, Victor Wagner +## Copyright (C) 2002, Andrey Kiselev +## +## This program is free software; you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation; either version 2, or (at your option) +## any later version. +## +## This program is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with this program; if not, write to the Free Software +## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, +## USA. proc open_layer {filename} { global layerFile @@ -98,7 +121,7 @@ proc select_layers {} { } proc setup_look {box} { - global platnchet + global planchet set layers [layer names] $planchet look remove all foreach n [$box curselection] {