/usr/include/gthumb-2.14/gthumb/typedefs.h is in gthumb-dev 3:2.14.3-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
* GThumb
*
* Copyright (C) 2001-2008 The Free Software Foundation, Inc.
*
* 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, see <http://www.gnu.org/licenses/>.
*/
#ifndef TYPEDEFS_H
#define TYPEDEFS_H
#include <gtk/gtk.h>
G_BEGIN_DECLS
/*
#define RC_DIR ".gnome2/gthumb"
#define RC_CATALOG_DIR ".gnome2/gthumb/collections"
#define RC_COMMENTS_DIR ".gnome2/gthumb/comments"
#define RC_BOOKMARKS_FILE ".gnome2/gthumb/bookmarks"
#define RC_HISTORY_FILE ".gnome2/gthumb/history"
#define RC_CATEGORIES_FILE ".gnome2/gthumb/categories"
#define RC_REMOTE_CACHE_DIR ".gnome2/gthumb/remote_cache"
*/
#define BOOKMARKS_FILE "bookmarks.xbel"
#define FILTERS_FILE "filters.xml"
#define TAGS_FILE "tags.xml"
#define FILE_CACHE "cache"
typedef enum {
GTH_CLICK_POLICY_NAUTILUS,
GTH_CLICK_POLICY_SINGLE,
GTH_CLICK_POLICY_DOUBLE
} GthClickPolicy;
typedef enum {
GTH_DIRECTION_FORWARD,
GTH_DIRECTION_REVERSE,
GTH_DIRECTION_RANDOM
} GthDirection;
typedef enum {
GTH_TOOLBAR_STYLE_SYSTEM,
GTH_TOOLBAR_STYLE_TEXT_BELOW,
GTH_TOOLBAR_STYLE_TEXT_BESIDE,
GTH_TOOLBAR_STYLE_ICONS,
GTH_TOOLBAR_STYLE_TEXT
} GthToolbarStyle;
/* The GthTransform numeric values range from 1 to 8, corresponding to
* the valid range of Exif orientation tags. The name associated with each
* numeric valid describes the data transformation required that will allow
* the orientation value to be reset to "1" without changing the displayed
* image.
* GthTransform and ExifShort values are interchangeably in a number of
* places. The main difference is that ExifShort can have a value of zero,
* corresponding to an error or an absence of an Exif orientation tag.
* See bug 361913 for additional details. */
typedef enum {
GTH_TRANSFORM_NONE = 1, /* no transformation */
GTH_TRANSFORM_FLIP_H, /* horizontal flip */
GTH_TRANSFORM_ROTATE_180, /* 180-degree rotation */
GTH_TRANSFORM_FLIP_V, /* vertical flip */
GTH_TRANSFORM_TRANSPOSE, /* transpose across UL-to-LR axis (= rotate_90 + flip_h) */
GTH_TRANSFORM_ROTATE_90, /* 90-degree clockwise rotation */
GTH_TRANSFORM_TRANSVERSE, /* transpose across UR-to-LL axis (= rotate_90 + flip_v) */
GTH_TRANSFORM_ROTATE_270 /* 270-degree clockwise */
} GthTransform;
typedef enum {
GTH_UNIT_PIXELS,
GTH_UNIT_PERCENTAGE
} GthUnit;
typedef enum {
GTH_METRIC_PIXELS,
GTH_METRIC_MILLIMETERS,
GTH_METRIC_INCHES
} GthMetric;
typedef enum {
GTH_ASPECT_RATIO_NONE = 0,
GTH_ASPECT_RATIO_SQUARE,
GTH_ASPECT_RATIO_IMAGE,
GTH_ASPECT_RATIO_DISPLAY,
GTH_ASPECT_RATIO_5x4,
GTH_ASPECT_RATIO_4x3,
GTH_ASPECT_RATIO_7x5,
GTH_ASPECT_RATIO_3x2,
GTH_ASPECT_RATIO_16x10,
GTH_ASPECT_RATIO_16x9,
GTH_ASPECT_RATIO_185x100,
GTH_ASPECT_RATIO_239x100,
GTH_ASPECT_RATIO_CUSTOM
} GthAspectRatio;
typedef enum {
GTH_OVERWRITE_SKIP,
GTH_OVERWRITE_RENAME,
GTH_OVERWRITE_ASK,
GTH_OVERWRITE_OVERWRITE
} GthOverwriteMode;
typedef enum {
GTH_GRID_NONE = 0,
GTH_GRID_THIRDS,
GTH_GRID_GOLDEN,
GTH_GRID_CENTER,
GTH_GRID_UNIFORM
} GthGridType;
typedef void (*DataFunc) (gpointer user_data);
typedef void (*ReadyFunc) (GError *error,
gpointer user_data);
typedef void (*ReadyCallback) (GObject *object,
GError *error,
gpointer user_data);
typedef void (*ProgressCallback) (GObject *object,
const char *description,
const char *details,
gboolean pulse,
double fraction,
gpointer user_data);
typedef void (*DialogCallback) (gboolean opened,
GtkWidget *dialog,
gpointer user_data);
G_END_DECLS
#endif /* TYPEDEFS_H */
|