app/Makefile.am moved the palette_import dialog to it's own file.

2001-01-21  Michael Natterer  <mitch@gimp.org>

	* app/Makefile.am
	* app/palette_import.[ch]: moved the palette_import dialog to
	it's own file.

	* app/gimage.c
	* app/palette.[ch]
	* app/paletteP.h: changed accordingly.
This commit is contained in:
Michael Natterer 2001-01-21 21:29:31 +00:00 committed by Michael Natterer
parent 7bba2501f0
commit 6f06ed7478
16 changed files with 3565 additions and 3354 deletions

View File

@ -1,3 +1,13 @@
2001-01-21 Michael Natterer <mitch@gimp.org>
* app/Makefile.am
* app/palette_import.[ch]: moved the palette_import dialog to
it's own file.
* app/gimage.c
* app/palette.[ch]
* app/paletteP.h: changed accordingly.
2001-01-21 Simon Budig <simon@gimp.org>
* modules/colorsel_triangle.c: Fixed the "disappearing

View File

@ -287,6 +287,8 @@ gimp_SOURCES = \
ops_buttons.h \
palette.c \
palette.h \
palette_import.c \
palette_import.h \
palette_cmds.c \
palette_select.c \
palette_select.h \

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,31 @@
/* The GIMP -- an image manipulation program
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
*
* 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 of the License, 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.
*/
#ifndef __PALETTE_IMPORT_H__
#define __PALETTE_IMPORT_H__
void palette_import_dialog_show (void);
void palette_import_dialog_destroy (void);
/* FIXME */
void palette_import_image_renamed (GimpImage *gimage);
#endif /* __PALETTE_IMPORT_H__ */

View File

@ -33,7 +33,7 @@
#include "lc_dialog.h"
#include "gdisplay.h"
#include "paint_funcs.h"
#include "paletteP.h"
#include "palette_import.h"
#include "procedural_db.h"
#include "tools.h"
#include "undo.h"

File diff suppressed because it is too large Load Diff

View File

@ -26,16 +26,18 @@
#define COLOR_UPDATE 2
void palettes_init (gboolean no_data);
void palettes_init (gboolean no_data);
void palettes_free (void);
void palettes_list_insert (GimpPalette *palette);
void palette_dialog_create (void);
void palette_dialog_free (void);
void palette_set_active_color (gint r,
gint g,
gint b,
gint state);
void palette_set_active_color (gint r,
gint g,
gint b,
gint state);
extern GSList * palettes_list;

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,31 @@
/* The GIMP -- an image manipulation program
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
*
* 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 of the License, 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.
*/
#ifndef __PALETTE_IMPORT_H__
#define __PALETTE_IMPORT_H__
void palette_import_dialog_show (void);
void palette_import_dialog_destroy (void);
/* FIXME */
void palette_import_image_renamed (GimpImage *gimage);
#endif /* __PALETTE_IMPORT_H__ */

File diff suppressed because it is too large Load Diff

View File

@ -26,16 +26,18 @@
#define COLOR_UPDATE 2
void palettes_init (gboolean no_data);
void palettes_init (gboolean no_data);
void palettes_free (void);
void palettes_list_insert (GimpPalette *palette);
void palette_dialog_create (void);
void palette_dialog_free (void);
void palette_set_active_color (gint r,
gint g,
gint b,
gint state);
void palette_set_active_color (gint r,
gint g,
gint b,
gint state);
extern GSList * palettes_list;

View File

@ -32,7 +32,5 @@ void palette_clist_insert (GtkWidget *clist,
void palette_select_palette_init (void);
void palette_create_edit (GimpPalette *palette);
void palette_import_image_renamed (GimpImage *gimage);
#endif /* __PALETTE_P_H__ */

1123
app/palette_import.c Normal file

File diff suppressed because it is too large Load Diff

31
app/palette_import.h Normal file
View File

@ -0,0 +1,31 @@
/* The GIMP -- an image manipulation program
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
*
* 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 of the License, 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.
*/
#ifndef __PALETTE_IMPORT_H__
#define __PALETTE_IMPORT_H__
void palette_import_dialog_show (void);
void palette_import_dialog_destroy (void);
/* FIXME */
void palette_import_image_renamed (GimpImage *gimage);
#endif /* __PALETTE_IMPORT_H__ */

File diff suppressed because it is too large Load Diff

View File

@ -26,16 +26,18 @@
#define COLOR_UPDATE 2
void palettes_init (gboolean no_data);
void palettes_init (gboolean no_data);
void palettes_free (void);
void palettes_list_insert (GimpPalette *palette);
void palette_dialog_create (void);
void palette_dialog_free (void);
void palette_set_active_color (gint r,
gint g,
gint b,
gint state);
void palette_set_active_color (gint r,
gint g,
gint b,
gint state);
extern GSList * palettes_list;