Commit d5fb6580 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

do like Liam taught us and use the golden ratio as default for new images.

2004-07-01  Sven Neumann  <sven@gimp.org>

	* app/core/gimptemplate.c: do like Liam taught us and use the
	golden ratio as default for new images.
parent bbed5b57
2004-07-01 Sven Neumann <sven@gimp.org>
* app/core/gimptemplate.c: do like Liam taught us and use the
golden ratio as default for new images.
2004-06-30 Philip Lafleur <plafleur@cvs.gnome.org>
* app/tools/gimppainttool.c (gimp_paint_tool_cursor_update):
......
......@@ -41,6 +41,19 @@
#include "gimp-intl.h"
/* The default image aspect ratio is the golden mean. We use
* two adjacent fibonacci numbers for the unstable series and
* some less odd values for the stable version.
*/
#ifdef GIMP_UNSTABLE
#define DEFAULT_IMAGE_WIDTH 377
#define DEFAULT_IMAGE_HEIGHT 233
#else
#define DEFAULT_IMAGE_WIDTH 420
#define DEFAULT_IMAGE_HEIGHT 300
#endif
enum
{
......@@ -134,11 +147,13 @@ gimp_template_class_init (GimpTemplateClass *klass)
GIMP_CONFIG_INSTALL_PROP_INT (object_class, PROP_WIDTH, "width",
NULL,
GIMP_MIN_IMAGE_SIZE, GIMP_MAX_IMAGE_SIZE, 256,
GIMP_MIN_IMAGE_SIZE, GIMP_MAX_IMAGE_SIZE,
DEFAULT_IMAGE_WIDTH,
0);
GIMP_CONFIG_INSTALL_PROP_INT (object_class, PROP_HEIGHT, "height",
NULL,
GIMP_MIN_IMAGE_SIZE, GIMP_MAX_IMAGE_SIZE, 256,
GIMP_MIN_IMAGE_SIZE, GIMP_MAX_IMAGE_SIZE,
DEFAULT_IMAGE_HEIGHT,
0);
GIMP_CONFIG_INSTALL_PROP_UNIT (object_class, PROP_UNIT, "unit",
N_("The unit used for coordinate display "
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment