app/display/Makefile.am new files that implement a GimpConfig object with
2003-10-22 Sven Neumann <sven@gimp.org> * app/display/Makefile.am * app/display/gimpdisplayoptions.[ch]: new files that implement a GimpConfig object with GimpDisplayShell and GimpCanvas options. Actually two classes, one for the normal view, a derived one with different default values for fullscreen mode. * app/display/display-enums.[ch]: renamed GimpDisplayPadding enum to GimpCanvasPadding. * app/config/config-types.h: added the GimpDisplayOptions typedef. * app/config/gimprc-blurbs.h * app/config/gimpdisplayconfig.[ch]: replaced a bunch of properties with two instances of GimpDisplayOptions. * app/display/gimpdisplayshell.[ch]: replaced the GimpDisplayShellAppearance struct with GimpDisplayOptions. * app/display/gimpdisplayshell-appearance.[ch] * app/display/gimpdisplayshell-callbacks.c * app/display/gimpdisplayshell-handlers.[ch] * app/gui/image-menu.c: changed accordingly. * app/gui/preferences-dialog.c: added a convenience function that creates a view on a GimpDisplayOptions object. Not all values are configurable here yet. * docs/gimprc-1.3.5.in * etc/gimprc: regenerated to document the gimprc format changes.
This commit is contained in:

committed by
Sven Neumann

parent
49fd45e277
commit
e3480536f3
@ -27,26 +27,6 @@
|
||||
#include "gui/gui-types.h"
|
||||
|
||||
|
||||
typedef struct _GimpDisplayShellAppearance GimpDisplayShellAppearance;
|
||||
|
||||
struct _GimpDisplayShellAppearance
|
||||
{
|
||||
gboolean selection;
|
||||
gboolean active_layer;
|
||||
gboolean guides;
|
||||
gboolean grid;
|
||||
|
||||
gboolean menubar;
|
||||
gboolean rulers;
|
||||
gboolean scrollbars;
|
||||
gboolean statusbar;
|
||||
|
||||
GimpDisplayPaddingMode padding_mode;
|
||||
GimpRGB padding_color;
|
||||
gboolean padding_mode_set;
|
||||
};
|
||||
|
||||
|
||||
/* finding the effective screen resolution (double) */
|
||||
#define SCREEN_XRES(s) (s->dot_for_dot ? \
|
||||
s->gdisp->gimage->xresolution : s->monitor_xres)
|
||||
@ -170,8 +150,8 @@ struct _GimpDisplayShell
|
||||
GQuark vectors_thaw_handler;
|
||||
GQuark vectors_visible_handler;
|
||||
|
||||
GimpDisplayShellAppearance appearance;
|
||||
GimpDisplayShellAppearance fullscreen_appearance;
|
||||
GimpDisplayOptions *options;
|
||||
GimpDisplayOptions *fullscreen_options;
|
||||
|
||||
/* the state of gimp_display_shell_tool_events() */
|
||||
gboolean space_pressed;
|
||||
|
Reference in New Issue
Block a user