Commit 2ff979d4 authored by Henrik Brix Andersen's avatar Henrik Brix Andersen Committed by Henrik Brix Andersen

added more intuitive decribtions

2003-07-31 Henrik Brix Andersen <brix@gimp.org>

* app/core/core-enums.h (GimpGridType): added more intuitive
decribtions

* app/core/core-enums.c: regenerated

* app/display/gimpdisplayshell.c (gimp_display_shell_draw_grid):
use gdk_draw_point() instead of gdk_draw_line() for dots-only mode

* .cvsignore: added gimptool-win32.c
parent e53a7763
......@@ -13,6 +13,7 @@ config.sub
ltmain.sh
gimp.spec
gimptool-1.3
gimptool-win32.c
gimp-1.3.pc
gimpui-1.3.pc
intltool-extract
......
2003-07-31 Henrik Brix Andersen <brix@gimp.org>
* app/core/core-enums.h (GimpGridType): added more intuitive
decribtions
* app/core/core-enums.c: regenerated
* app/display/gimpdisplayshell.c (gimp_display_shell_draw_grid):
use gdk_draw_point() instead of gdk_draw_line() for dots-only mode
* .cvsignore: added gimptool-win32.c
2003-07-30 Manish Singh <yosh@gimp.org>
* plug-ins/common/Makefile.am
......@@ -215,8 +215,8 @@ gimp_gradient_type_get_type (void)
static const GEnumValue gimp_grid_type_enum_values[] =
{
{ GIMP_GRID_TYPE_DOTS, N_("Dots"), "dots" },
{ GIMP_GRID_TYPE_INTERSECTIONS, N_("Intersections Only"), "intersections" },
{ GIMP_GRID_TYPE_DOTS, N_("Intersections (dots)"), "dots" },
{ GIMP_GRID_TYPE_INTERSECTIONS, N_("Intersections (crosshairs)"), "intersections" },
{ GIMP_GRID_TYPE_ON_OFF_DASH, N_("Dashed"), "on-off-dash" },
{ GIMP_GRID_TYPE_DOUBLE_DASH, N_("Double Dashed"), "double-dash" },
{ GIMP_GRID_TYPE_SOLID, N_("Solid"), "solid" },
......
......@@ -176,11 +176,11 @@ GType gimp_grid_type_get_type (void) G_GNUC_CONST;
typedef enum /*< pdb-skip >*/
{
GIMP_GRID_TYPE_DOTS, /*< desc="Dots" >*/
GIMP_GRID_TYPE_INTERSECTIONS, /*< desc="Intersections Only" >*/
GIMP_GRID_TYPE_ON_OFF_DASH, /*< desc="Dashed" >*/
GIMP_GRID_TYPE_DOUBLE_DASH, /*< desc="Double Dashed" >*/
GIMP_GRID_TYPE_SOLID /*< desc="Solid" >*/
GIMP_GRID_TYPE_DOTS, /*< desc="Intersections (dots)" >*/
GIMP_GRID_TYPE_INTERSECTIONS, /*< desc="Intersections (crosshairs)" >*/
GIMP_GRID_TYPE_ON_OFF_DASH, /*< desc="Dashed" >*/
GIMP_GRID_TYPE_DOUBLE_DASH, /*< desc="Double Dashed" >*/
GIMP_GRID_TYPE_SOLID /*< desc="Solid" >*/
} GimpGridType;
......
......@@ -1461,9 +1461,8 @@ gimp_display_shell_draw_grid (GimpDisplayShell *shell)
gimp_display_shell_transform_xy (shell, x, y, &x_real, &y_real, FALSE);
if (x_real >= x1 && x_real < x2 && y_real >= y1 && y_real < y2)
{
gdk_draw_line (shell->canvas->window, gc,
x_real, y_real,
x_real, y_real);
gdk_draw_point (shell->canvas->window, gc,
x_real, y_real);
}
}
}
......
......@@ -1461,9 +1461,8 @@ gimp_display_shell_draw_grid (GimpDisplayShell *shell)
gimp_display_shell_transform_xy (shell, x, y, &x_real, &y_real, FALSE);
if (x_real >= x1 && x_real < x2 && y_real >= y1 && y_real < y2)
{
gdk_draw_line (shell->canvas->window, gc,
x_real, y_real,
x_real, y_real);
gdk_draw_point (shell->canvas->window, gc,
x_real, y_real);
}
}
}
......
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