Commit a229702d authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer
Browse files

added ChannelType. removed ChannelType. regenerated.

2001-05-08  Michael Natterer  <mitch@gimp.org>

	* app/appenums.h: added ChannelType.
	* app/gimpimage.h: removed ChannelType.
	* tools/pdbgen/enums.pl: regenerated.

	* app/apptypes.h: don't include libgimpwidgets/gimpwidgetstypes.h
	and widgets/widgets-types.h any more.

	* app/devices.c
	* app/gimpdnd.c
	* app/gimprc.c
	* app/lc_dialog.c
	* app/gui/[many].c: include widgets/widgets-types.h

	* app/tools/histogram_tool.h: include widgets/widgets-types.h here
	because of an ugly dependency from pdb/color_cmds.c

	* app/tools/tool_options_dialog.c

	* app/widgets/widgets-types.h: include
	libgimpwidgets/gimpwidgetstypes.h and apptypes.h so files in
	widgets/ only have to include this file.

	* app/widgets/*.c: include widgets-types.h instead of apptypes.h

	* app/gimpdrawable-preview.c
	* app/gui/gradient-editor.c: removed useless #includes.
parent f63cd1d9
2001-05-08 Michael Natterer <mitch@gimp.org>
* app/appenums.h: added ChannelType.
* app/gimpimage.h: removed ChannelType.
* tools/pdbgen/enums.pl: regenerated.
* app/apptypes.h: don't include libgimpwidgets/gimpwidgetstypes.h
and widgets/widgets-types.h any more.
* app/devices.c
* app/gimpdnd.c
* app/gimprc.c
* app/lc_dialog.c
* app/gui/[many].c: include widgets/widgets-types.h
* app/tools/histogram_tool.h: include widgets/widgets-types.h here
because of an ugly dependency from pdb/color_cmds.c
* app/tools/tool_options_dialog.c
* app/widgets/widgets-types.h: include
libgimpwidgets/gimpwidgetstypes.h and apptypes.h so files in
widgets/ only have to include this file.
* app/widgets/*.c: include widgets-types.h instead of apptypes.h
* app/gimpdrawable-preview.c
* app/gui/gradient-editor.c: removed useless #includes.
2001-05-07 Michael Natterer <mitch@gimp.org>
* app/gimpimage.[hc]: new signal "floating_selection_changed",
......
......@@ -21,6 +21,7 @@
#include <gtk/gtk.h>
#include "apptypes.h"
#include "widgets/widgets-types.h"
#include "widgets/gimpdialogfactory.h"
#include "widgets/gimpdock.h"
......
......@@ -46,6 +46,18 @@ typedef enum
INDEXEDA_GIMAGE /*< nick=INDEXEDA_IMAGE >*/
} GimpImageType;
/* Channel types */
typedef enum
{
RED_CHANNEL,
GREEN_CHANNEL,
BLUE_CHANNEL,
GRAY_CHANNEL,
INDEXED_CHANNEL,
ALPHA_CHANNEL,
AUXILLARY_CHANNEL
} ChannelType;
/* Fill types */
typedef enum
{
......
......@@ -20,19 +20,15 @@
#define __APPTYPES_H__
#include "libgimp/gimpunit.h"
#include "libgimpcolor/gimpcolortypes.h"
#include "libgimpmath/gimpmathtypes.h"
#include "libgimpwidgets/gimpwidgetstypes.h"
#include "undo_types.h"
#include "appenums.h"
#ifdef __GTK_H__
#include "widgets/widgets-types.h"
#endif
/* base objects */
......
......@@ -28,8 +28,6 @@
#include "paint-funcs/paint-funcs.h"
#include "widgets/gimpdrawablepreview.h"
#include "gimpchannel.h"
#include "gimpimage.h"
#include "gimpdrawable.h"
......
......@@ -38,17 +38,6 @@
#define COLORMAP_SIZE 768
typedef enum
{
RED_CHANNEL,
GREEN_CHANNEL,
BLUE_CHANNEL,
GRAY_CHANNEL,
INDEXED_CHANNEL,
ALPHA_CHANNEL,
AUXILLARY_CHANNEL
} ChannelType;
typedef enum
{
EXPAND_AS_NECESSARY,
......
......@@ -38,17 +38,6 @@
#define COLORMAP_SIZE 768
typedef enum
{
RED_CHANNEL,
GREEN_CHANNEL,
BLUE_CHANNEL,
GRAY_CHANNEL,
INDEXED_CHANNEL,
ALPHA_CHANNEL,
AUXILLARY_CHANNEL
} ChannelType;
typedef enum
{
EXPAND_AS_NECESSARY,
......
......@@ -38,17 +38,6 @@
#define COLORMAP_SIZE 768
typedef enum
{
RED_CHANNEL,
GREEN_CHANNEL,
BLUE_CHANNEL,
GRAY_CHANNEL,
INDEXED_CHANNEL,
ALPHA_CHANNEL,
AUXILLARY_CHANNEL
} ChannelType;
typedef enum
{
EXPAND_AS_NECESSARY,
......
......@@ -38,17 +38,6 @@
#define COLORMAP_SIZE 768
typedef enum
{
RED_CHANNEL,
GREEN_CHANNEL,
BLUE_CHANNEL,
GRAY_CHANNEL,
INDEXED_CHANNEL,
ALPHA_CHANNEL,
AUXILLARY_CHANNEL
} ChannelType;
typedef enum
{
EXPAND_AS_NECESSARY,
......
......@@ -38,17 +38,6 @@
#define COLORMAP_SIZE 768
typedef enum
{
RED_CHANNEL,
GREEN_CHANNEL,
BLUE_CHANNEL,
GRAY_CHANNEL,
INDEXED_CHANNEL,
ALPHA_CHANNEL,
AUXILLARY_CHANNEL
} ChannelType;
typedef enum
{
EXPAND_AS_NECESSARY,
......
......@@ -38,17 +38,6 @@
#define COLORMAP_SIZE 768
typedef enum
{
RED_CHANNEL,
GREEN_CHANNEL,
BLUE_CHANNEL,
GRAY_CHANNEL,
INDEXED_CHANNEL,
ALPHA_CHANNEL,
AUXILLARY_CHANNEL
} ChannelType;
typedef enum
{
EXPAND_AS_NECESSARY,
......
......@@ -38,17 +38,6 @@
#define COLORMAP_SIZE 768
typedef enum
{
RED_CHANNEL,
GREEN_CHANNEL,
BLUE_CHANNEL,
GRAY_CHANNEL,
INDEXED_CHANNEL,
ALPHA_CHANNEL,
AUXILLARY_CHANNEL
} ChannelType;
typedef enum
{
EXPAND_AS_NECESSARY,
......
......@@ -27,6 +27,7 @@
#include "libgimpwidgets/gimpwidgets.h"
#include "apptypes.h"
#include "widgets/widgets-types.h"
#include "tools/gimptoolinfo.h"
#include "tools/tool_manager.h"
......
......@@ -24,6 +24,7 @@
#include "libgimpwidgets/gimpwidgets.h"
#include "apptypes.h"
#include "widgets/widgets-types.h"
#include "tools/gimptoolinfo.h"
#include "tools/tool_manager.h"
......
......@@ -21,6 +21,7 @@
#include <gtk/gtk.h>
#include "apptypes.h"
#include "widgets/widgets-types.h"
#include "widgets/gimpdialogfactory.h"
......
......@@ -23,6 +23,7 @@
#include "libgimpwidgets/gimpwidgets.h"
#include "apptypes.h"
#include "widgets/widgets-types.h"
#include "tools/gimptool.h"
#include "tools/gimpcolorpickertool.h"
......
......@@ -27,6 +27,7 @@
#include "libgimpwidgets/gimpwidgets.h"
#include "apptypes.h"
#include "widgets/widgets-types.h"
#include "tools/gimptool.h"
#include "tools/gimptoolinfo.h"
......
......@@ -28,8 +28,6 @@
#include "paint-funcs/paint-funcs.h"
#include "widgets/gimpdrawablepreview.h"
#include "gimpchannel.h"
#include "gimpimage.h"
#include "gimpdrawable.h"
......
......@@ -38,17 +38,6 @@
#define COLORMAP_SIZE 768
typedef enum
{
RED_CHANNEL,
GREEN_CHANNEL,
BLUE_CHANNEL,
GRAY_CHANNEL,
INDEXED_CHANNEL,
ALPHA_CHANNEL,
AUXILLARY_CHANNEL
} ChannelType;
typedef enum
{
EXPAND_AS_NECESSARY,
......
......@@ -36,6 +36,7 @@
#include "libgimpcolor/gimpcolor.h"
#include "apptypes.h"
#include "widgets/widgets-types.h"
#include "tools/gimptool.h"
#include "tools/gimptoolinfo.h"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment