1997-11-25 06:05:25 +08:00
|
|
|
/* 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
|
1998-04-13 13:44:11 +08:00
|
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
1997-11-25 06:05:25 +08:00
|
|
|
*/
|
|
|
|
#ifndef __APPENV_H__
|
|
|
|
#define __APPENV_H__
|
|
|
|
|
2000-01-26 07:05:44 +08:00
|
|
|
#include <gtk/gtk.h>
|
1999-02-21 07:20:54 +08:00
|
|
|
|
1998-07-02 07:06:49 +08:00
|
|
|
#include "gimpsetF.h"
|
1999-02-21 07:20:54 +08:00
|
|
|
|
2000-01-26 07:05:44 +08:00
|
|
|
typedef enum
|
|
|
|
{
|
1998-06-20 07:45:54 +08:00
|
|
|
MESSAGE_BOX,
|
1998-07-29 05:11:47 +08:00
|
|
|
CONSOLE,
|
|
|
|
ERROR_CONSOLE
|
1998-06-20 07:45:54 +08:00
|
|
|
} MessageHandlerType;
|
|
|
|
|
2000-01-26 07:05:44 +08:00
|
|
|
extern gboolean no_interface;
|
|
|
|
extern gboolean no_splash;
|
|
|
|
extern gboolean no_splash_image;
|
|
|
|
extern gboolean no_data;
|
|
|
|
extern gboolean be_verbose;
|
|
|
|
extern gboolean use_debug_handler;
|
|
|
|
extern gboolean console_messages;
|
|
|
|
extern gboolean restore_session;
|
|
|
|
extern gboolean we_are_exiting; /* this is used in session_get_window_info() */
|
2000-01-26 07:05:44 +08:00
|
|
|
extern GimpSet *image_context;
|
1998-06-20 07:45:54 +08:00
|
|
|
extern MessageHandlerType message_handler;
|
|
|
|
|
1999-10-05 03:26:07 +08:00
|
|
|
#ifdef G_OS_WIN32
|
2000-01-26 07:05:44 +08:00
|
|
|
gchar * quote_spaces (gchar *string);
|
Overhaul of pixmap brushes and pipes: No separate pixmap pipe
brush tool any longer. The paintbrush, airbrush and pencil
tools, which already knew how to handle the single-pixmap
brushes now also handle the pipes as well.
* app/pixmapbrush.{h,c}
* app/gimpbrushpixmap.{h,c}: Removed these files.
* app/Makefile.am
* app/makefile.{cygwin,msc}: Remove from here, too.
* app/gimpbrushpipe.{h,c}: Total overhaul.
* app/paint_core.h
* app/apptypes.h: Some more types moved to apptypes.h
* app/context_manager.c
* app/tool_options.c
* app/tools.c
* app/toolsF.h: Remove PIXMAPBRUSH tool.
* app/gimpbrush.h: New method: select_brush. Used to change the
brush in paint_core, for pipe brushes.
* app/gimpbrush.c: Add gimp_brush_select_brush, which is dummy for
the normal brushes (returns the same brush).
* app/paint_core.c: Call the brush's select_brush method to get a
potential new brush before calling the paint_func.
* app/gimpbrushlist.c: Various changes related to the pixmap and
pipe overhaul.
* app/airbrush.c
* app/pencil.c: Reorder code a bit in the tool motion function to
avoid executing unnecessary code in the case of a pixmap brush.
Other changes in the same commit:
* app/install.c: Make quote_spaces extern.
* app/appenv.h: Declare it.
* libgimp/gimpui.def: Add missing entry points.
* libgimp/makefile.{cygwin,msc}: Add missing objects to gimpui.
1999-08-26 08:54:30 +08:00
|
|
|
#endif
|
|
|
|
|
2000-01-26 07:05:44 +08:00
|
|
|
#endif /* __APPENV_H__ */
|