gimp/app/gimprc.h
Michael Natterer b6c56ff9ac app/Makefile.am removed.
2002-05-07  Michael Natterer  <mitch@gimp.org>

	* app/Makefile.am
	* app/nav_window.[ch]: removed.

	* app/display/Makefile.am
	* app/display/display-types.h
	* app/display/gimpnavigationview.[ch]: new widget partially based
	on the removed nav_window.

	* libgimpproxy/gimpproxytypes.h: regnenerated.

	* app/display/gimpdisplay-foreach.[ch]: removed
	gdisplays_nav_preview_resized(). The new config system will allow
	us to get notified of changes.

	* app/display/gimpdisplayshell.[ch]: added "scaled" and "scrolled"
	signals.

	* app/display/gimpdisplayshell-scale.c
	* app/display/gimpdisplayshell-scroll.c: emit "scaled" and
	"scrolled" appropriately. Removed nav_window stuff.

	* app/display/gimpdisplay.c
	* app/display/gimpdisplayshell-callbacks.c: changed accordingly.

	* app/gui/dialogs-constructors.[ch]
	* app/gui/dialogs.c
	* app/gui/menus.c: made the navigation dialog dockable.

	* app/gui/view-commands.c: changed the nav_dialog callback accordingly.

	* app/gui/preferences-dialog.c
	* app/gimprc.[ch]
	* app/config/gimpguiconfig.[ch]: removed "nav_window_per_display"
	as it's now a dockable and it's state is saved in sessionrc.

	* app/widgets/gimpnavigationpreview.[ch]: added context sensitive
	mouse cursors.

	* app/widgets/gimpimagedock.c: made it capable of holding
	display-related dialogs (like GimpNavigationView) by connecting
	to the context's "display_changed" signal.

	* app/widgets/widgets-types.h: removed inclusion of
	"display/display-types.h".

	* app/widgets/gimpbufferview.c
	* app/widgets/gimpchannellistview.c
	* app/widgets/gimpcolormapeditor.c
	* app/widgets/gimpcomponentlistitem.c
	* app/widgets/gimpdocumentview.c
	* app/widgets/gimpdrawablelistitem.c
	* app/widgets/gimpdrawablelistview.c
	* app/widgets/gimpitemlistitem.c
	* app/widgets/gimpitemlistview.c
	* app/widgets/gimplayerlistitem.c
	* app/widgets/gimplayerlistview.c
	* app/widgets/gimppreview.c
	* app/widgets/gimpvectorslistview.c: warn about inclusion of
	"display/display-types.h".
2002-05-07 16:23:14 +00:00

91 lines
3.2 KiB
C

/* 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 __GIMPRC_H__
#define __GIMPRC_H__
typedef struct _GimpRc GimpRc;
/* global gimprc variables - need some comments on this stuff */
struct _GimpRc
{
gint marching_speed;
gint last_opened_size;
gdouble gamma_val;
gint transparency_type;
gboolean perfectmouse;
gint transparency_size;
gint min_colors;
gboolean install_cmap;
gboolean cycled_marching_ants;
gint default_threshold;
gboolean resize_windows_on_zoom;
gboolean resize_windows_on_resize;
gboolean no_cursor_updating;
gint preview_size;
gint nav_preview_size;
gboolean show_rulers;
gboolean show_statusbar;
gboolean auto_save;
gboolean confirm_on_close;
gboolean default_dot_for_dot;
gboolean save_session_info;
gboolean save_device_status;
gboolean always_restore_session;
gboolean show_tips;
gint last_tip;
gboolean show_tool_tips;
gdouble monitor_xres;
gdouble monitor_yres;
gboolean using_xserver_resolution;
gchar *image_title_format;
gchar *image_status_format;
guint max_new_image_size;
gboolean trust_dirty_flag;
gboolean use_help;
gboolean info_window_follows_mouse;
gint help_browser;
gint cursor_mode;
gboolean disable_tearoff_menus;
gchar *theme_path;
gchar *theme;
};
extern GimpRc gimprc;
/* this has to be called before any file is parsed
*/
gboolean gimprc_init (Gimp *gimp);
void gimprc_parse (Gimp *gimp,
const gchar *cmdline_system_gimprc,
const gchar *cmdline_gimprc);
void gimprc_save (GList **updated_options,
GList **conflicting_options);
gboolean gimprc_parse_file (const gchar *filename);
const gchar * gimprc_find_token (const gchar *token);
gchar * gimprc_value_to_str (const gchar *name);
void save_gimprc_strings (const gchar *token,
const gchar *value);
#endif /* __GIMPRC_H__ */