1 /* GIMP - The GNU Image Manipulation Program
2  * Copyright (C) 1995 Spencer Kimball and Peter Mattis
3  *
4  * This program is free software: you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; either version 3 of the License, or
7  * (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program.  If not, see <https://www.gnu.org/licenses/>.
16  */
17 
18 #ifndef __GIMP_DISPLAY_SHELL_APPEARANCE_H__
19 #define __GIMP_DISPLAY_SHELL_APPEARANCE_H__
20 
21 
22 void       gimp_display_shell_appearance_update       (GimpDisplayShell       *shell);
23 
24 void       gimp_display_shell_set_show_menubar        (GimpDisplayShell       *shell,
25                                                        gboolean                show);
26 gboolean   gimp_display_shell_get_show_menubar        (GimpDisplayShell       *shell);
27 
28 void       gimp_display_shell_set_show_statusbar      (GimpDisplayShell       *shell,
29                                                        gboolean                show);
30 gboolean   gimp_display_shell_get_show_statusbar      (GimpDisplayShell       *shell);
31 
32 void       gimp_display_shell_set_show_rulers         (GimpDisplayShell       *shell,
33                                                        gboolean                show);
34 gboolean   gimp_display_shell_get_show_rulers         (GimpDisplayShell       *shell);
35 
36 void       gimp_display_shell_set_show_scrollbars     (GimpDisplayShell       *shell,
37                                                        gboolean                show);
38 gboolean   gimp_display_shell_get_show_scrollbars     (GimpDisplayShell       *shell);
39 
40 void       gimp_display_shell_set_show_selection      (GimpDisplayShell       *shell,
41                                                        gboolean                show);
42 gboolean   gimp_display_shell_get_show_selection      (GimpDisplayShell       *shell);
43 
44 void       gimp_display_shell_set_show_layer          (GimpDisplayShell       *shell,
45                                                        gboolean                show);
46 gboolean   gimp_display_shell_get_show_layer          (GimpDisplayShell       *shell);
47 
48 void       gimp_display_shell_set_show_canvas         (GimpDisplayShell       *shell,
49                                                        gboolean                show);
50 gboolean   gimp_display_shell_get_show_canvas         (GimpDisplayShell       *shell);
51 void       gimp_display_shell_update_show_canvas      (GimpDisplayShell       *shell);
52 
53 void       gimp_display_shell_set_show_grid           (GimpDisplayShell       *shell,
54                                                        gboolean                show);
55 gboolean   gimp_display_shell_get_show_grid           (GimpDisplayShell       *shell);
56 
57 void       gimp_display_shell_set_show_guides         (GimpDisplayShell       *shell,
58                                                        gboolean                show);
59 gboolean   gimp_display_shell_get_show_guides         (GimpDisplayShell       *shell);
60 
61 void       gimp_display_shell_set_snap_to_grid        (GimpDisplayShell       *shell,
62                                                        gboolean                snap);
63 gboolean   gimp_display_shell_get_snap_to_grid        (GimpDisplayShell       *shell);
64 
65 void       gimp_display_shell_set_show_sample_points  (GimpDisplayShell       *shell,
66                                                        gboolean                show);
67 gboolean   gimp_display_shell_get_show_sample_points  (GimpDisplayShell       *shell);
68 
69 void       gimp_display_shell_set_snap_to_guides      (GimpDisplayShell       *shell,
70                                                        gboolean                snap);
71 gboolean   gimp_display_shell_get_snap_to_guides      (GimpDisplayShell       *shell);
72 
73 void       gimp_display_shell_set_snap_to_canvas      (GimpDisplayShell       *shell,
74                                                        gboolean                snap);
75 gboolean   gimp_display_shell_get_snap_to_canvas      (GimpDisplayShell       *shell);
76 
77 void       gimp_display_shell_set_snap_to_vectors     (GimpDisplayShell       *shell,
78                                                        gboolean                snap);
79 gboolean   gimp_display_shell_get_snap_to_vectors     (GimpDisplayShell       *shell);
80 
81 void       gimp_display_shell_set_padding             (GimpDisplayShell       *shell,
82                                                        GimpCanvasPaddingMode   mode,
83                                                        const GimpRGB          *color);
84 void       gimp_display_shell_get_padding             (GimpDisplayShell       *shell,
85                                                        GimpCanvasPaddingMode  *mode,
86                                                        GimpRGB                *color);
87 void       gimp_display_shell_set_padding_in_show_all (GimpDisplayShell       *shell,
88                                                        gboolean                keep);
89 gboolean   gimp_display_shell_get_padding_in_show_all (GimpDisplayShell       *shell);
90 
91 
92 #endif /* __GIMP_DISPLAY_SHELL_APPEARANCE_H__ */
93