X-Git-Url: http://www.wagner.pp.ru/gitweb/?p=oss%2Ffgis.git;a=blobdiff_plain;f=dll%2FfgisPalette.c;fp=dll%2FfgisPalette.c;h=b9561d7c91aa0a957357896c333a8486c5316382;hp=d6e129dac7bef399118895cbeed1156f6875bc3a;hb=8d7c92e1a47c24c89b96e384aac6b808e5d4ecde;hpb=ed514d6406b2a9110a2dcc043b4c6a1af755e081 diff --git a/dll/fgisPalette.c b/dll/fgisPalette.c index d6e129d..b9561d7 100644 --- a/dll/fgisPalette.c +++ b/dll/fgisPalette.c @@ -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 + * Copyright (C) 2003, 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. + ***************************************************************************** + */ + #include #include #include #include #include "fgis.h" -/* - * fgisclr.c - palette handling for Fgis - * Copyringht (C) by SoftWeyr, 1997 - */ + /* * Global variables */ @@ -14,11 +39,11 @@ /* *# 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