gimpguiconfig.h 3.43 KB
Newer Older
1
/* GIMP - The GNU Image Manipulation Program
2 3 4 5 6
 * Copyright (C) 1995 Spencer Kimball and Peter Mattis
 *
 * GimpGuiConfig class
 * Copyright (C) 2001  Sven Neumann <sven@gimp.org>
 *
7
 * This program is free software: you can redistribute it and/or modify
8
 * it under the terms of the GNU General Public License as published by
9
 * the Free Software Foundation; either version 3 of the License, or
10 11 12 13 14 15 16 17
 * (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
18
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
19 20 21 22 23
 */

#ifndef __GIMP_GUI_CONFIG_H__
#define __GIMP_GUI_CONFIG_H__

24
#include "config/gimpdisplayconfig.h"
25 26 27 28 29 30 31 32 33 34 35 36 37


#define GIMP_TYPE_GUI_CONFIG            (gimp_gui_config_get_type ())
#define GIMP_GUI_CONFIG(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), GIMP_TYPE_GUI_CONFIG, GimpGuiConfig))
#define GIMP_GUI_CONFIG_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), GIMP_TYPE_GUI_CONFIG, GimpGuiConfigClass))
#define GIMP_IS_GUI_CONFIG(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GIMP_TYPE_GUI_CONFIG))
#define GIMP_IS_GUI_CONFIG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GIMP_TYPE_GUI_CONFIG))


typedef struct _GimpGuiConfigClass GimpGuiConfigClass;

struct _GimpGuiConfig
{
38
  GimpDisplayConfig    parent_instance;
39

40
  gboolean             move_tool_changes_active;
41
  gint                 image_map_tool_max_recent;
42
  gboolean             trust_dirty_flag;
43 44
  gboolean             save_device_status;
  gboolean             save_session_info;
45
  gboolean             restore_session;
46
  gboolean             restore_monitor;
47
  gboolean             save_tool_options;
48
  gboolean             show_tooltips;
49
  gboolean             tearoff_menus;
50
  gboolean             can_change_accels;
51 52
  gboolean             save_accels;
  gboolean             restore_accels;
53
  gint                 last_opened_size;
54
  guint64              max_new_image_size;
55 56 57
  gboolean             toolbox_color_area;
  gboolean             toolbox_foo_area;
  gboolean             toolbox_image_area;
58
  gboolean             toolbox_wilber;
59 60
  gchar               *theme_path;
  gchar               *theme;
61 62
  gchar               *icon_theme_path;
  gchar               *icon_theme;
63
  gboolean             use_help;
64
  gboolean             show_help_button;
65
  gchar               *help_locales;
66
  GimpHelpBrowserType  help_browser;
67

68
  /* action search preferences */
69 70 71
  gboolean             search_show_unavailable;
  gint                 action_history_size;

72
  gchar               *web_browser;
73 74
  gboolean             user_manual_online;
  gchar               *user_manual_online_uri;
75
  GimpWindowHint       dock_window_hint;
76
  GimpHandedness       cursor_handedness;
77

78 79
  /* experimental playground */
  gboolean             playground_npd_tool;
80
  gboolean             playground_handle_transform_tool;
81
  gboolean             playground_seamless_clone_tool;
82

83 84 85
  /* saved in sessionrc */
  gboolean             hide_docks;
  gboolean             single_window_mode;
86
  GimpPosition         tabs_position;
87
  gint                 last_tip_shown;
88 89 90 91
};

struct _GimpGuiConfigClass
{
92
  GimpDisplayConfigClass  parent_class;
93 94 95 96 97 98 99
};


GType  gimp_gui_config_get_type (void) G_GNUC_CONST;


#endif /* GIMP_GUI_CONFIG_H__ */