1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 
3 /*
4  *  GThumb
5  *
6  *  Copyright (C) 2009 Free Software Foundation, Inc.
7  *
8  *  This program is free software; you can redistribute it and/or modify
9  *  it under the terms of the GNU General Public License as published by
10  *  the Free Software Foundation; either version 2 of the License, or
11  *  (at your option) any later version.
12  *
13  *  This program is distributed in the hope that it will be useful,
14  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
15  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16  *  GNU General Public License for more details.
17  *
18  *  You should have received a copy of the GNU General Public License
19  *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
20  */
21 
22 #ifndef PREFERENCES_H
23 #define PREFERENCES_H
24 
25 #include <gthumb.h>
26 
27 /* schema */
28 
29 #define GTHUMB_IMAGE_VIEWER_SCHEMA          GTHUMB_SCHEMA ".image-viewer"
30 
31 /* keys */
32 
33 #define PREF_IMAGE_VIEWER_ZOOM_QUALITY       "zoom-quality"
34 #define PREF_IMAGE_VIEWER_ZOOM_CHANGE        "zoom-change"
35 #define PREF_IMAGE_VIEWER_RESET_SCROLLBARS   "reset-scrollbars"
36 #define PREF_IMAGE_VIEWER_HISTOGRAM_SCALE    "histogram-scale"
37 #define PREF_IMAGE_VIEWER_TRANSPARENCY_STYLE "transparency-style"
38 
39 void image_viewer__dlg_preferences_construct_cb (GtkWidget  *dialog,
40 						 GthBrowser *browser,
41 						 GtkBuilder *builder);
42 
43 #endif /* PREFERENCES_H */
44