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
This commit is contained in:
Henrik Brix Andersen 2003-07-31 01:41:01 +00:00 committed by Henrik Brix Andersen
parent e53a776325
commit 2ff979d421
6 changed files with 24 additions and 13 deletions

View File

@ -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

View File

@ -1,3 +1,15 @@
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

View File

@ -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" },

View File

@ -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;

View File

@ -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);
}
}
}

View File

@ -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);
}
}
}