]> www.wagner.pp.ru Git - oss/fgis.git/blobdiff - dll/fgisPalette.c
*** empty log message ***
[oss/fgis.git] / dll / fgisPalette.c
index d6e129dac7bef399118895cbeed1156f6875bc3a..b9561d7c91aa0a957357896c333a8486c5316382 100644 (file)
@@ -1,12 +1,37 @@
+/******************************************************************************
+ * $Id: fgisPalette.c,v 1.2 2003-01-07 10:59:52 dron Exp $
+ *
+ * Project:  fGIS core engine
+ * Purpose:  palette handling
+ *
+ ******************************************************************************
+ *
+ * Copyright (C) 1997, Victor Wagner <vitus@ice.ru>
+ * Copyright (C) 2003, Andrey Kiselev <dron@remotesensing.org>
+ *
+ * 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.
+ *****************************************************************************
+ */
+
 #include <string.h>
 #include <stdlib.h>
 #include <stdio.h>
 #include <tcl.h>
 #include "fgis.h"
-/* 
- * fgisclr.c - palette handling for Fgis
- * Copyringht (C) by SoftWeyr, 1997
- */
+
 /*
  * Global variables
  */
 /*
  *# Default palette array 
  */
-int defarray[]={
+static int defarray[]={
 #include "defpal.h"
 };
 
-PALETTE default_palette=defarray;
+static PALETTE default_palette=defarray;
 /*
  * Creates new palette. Optionally fills from existing palette. If no existing
  * palette supplied, all colors will be white