mirror of https://github.com/GNOME/gimp.git
app, cursors: add meson rules for single dot cursor mode implemented…
… in previous commit. Also fix some coding style bugs. Finally change s/"Single Dot"/"Single dot"/ to have the same label syntax (only capitalize the first letter of the label) as other labels. Cf. #7034 and !466.
This commit is contained in:
parent
187d2e3390
commit
ba21196c48
|
@ -87,7 +87,7 @@ gimp_cursor_mode_get_type (void)
|
|||
{ GIMP_CURSOR_MODE_TOOL_ICON, NC_("cursor-mode", "Tool icon"), NULL },
|
||||
{ GIMP_CURSOR_MODE_TOOL_CROSSHAIR, NC_("cursor-mode", "Tool icon with crosshair"), NULL },
|
||||
{ GIMP_CURSOR_MODE_CROSSHAIR, NC_("cursor-mode", "Crosshair only"), NULL },
|
||||
{ GIMP_CURSOR_MODE_SINGLE_DOT, NC_("cursor-mode", "Single Dot"), NULL },
|
||||
{ GIMP_CURSOR_MODE_SINGLE_DOT, NC_("cursor-mode", "Single dot"), NULL },
|
||||
{ 0, NULL, NULL }
|
||||
};
|
||||
|
||||
|
|
|
@ -53,7 +53,7 @@ typedef enum
|
|||
GIMP_CURSOR_MODE_TOOL_ICON, /*< desc="Tool icon" >*/
|
||||
GIMP_CURSOR_MODE_TOOL_CROSSHAIR, /*< desc="Tool icon with crosshair" >*/
|
||||
GIMP_CURSOR_MODE_CROSSHAIR, /*< desc="Crosshair only" >*/
|
||||
GIMP_CURSOR_MODE_SINGLE_DOT /*< desc="Single Dot" >*/
|
||||
GIMP_CURSOR_MODE_SINGLE_DOT /*< desc="Single dot" >*/
|
||||
} GimpCursorMode;
|
||||
|
||||
|
||||
|
|
|
@ -156,7 +156,7 @@ static GimpCursor gimp_cursors[] =
|
|||
"cursor-side-top-left",
|
||||
cursor_default_hot_x, cursor_default_hot_y
|
||||
},
|
||||
{
|
||||
{
|
||||
"cursor-single-dot",
|
||||
cursor_default_hot_x, cursor_default_hot_y
|
||||
}
|
||||
|
|
|
@ -47,7 +47,7 @@ CURSOR_IMAGES = \
|
|||
cursor-side-top-right-x2.png \
|
||||
cursor-side-top.png \
|
||||
cursor-side-top-x2.png \
|
||||
cursor-single-dot.png \
|
||||
cursor-single-dot.png \
|
||||
cursor-single-dot-x2.png \
|
||||
cursor-zoom.png \
|
||||
cursor-zoom-x2.png \
|
||||
|
|
|
@ -45,6 +45,8 @@ tool_cursors = [
|
|||
'cursor-side-top-right-x2.png',
|
||||
'cursor-side-top.png',
|
||||
'cursor-side-top-x2.png',
|
||||
'cursor-single-dot.png',
|
||||
'cursor-single-dot-x2.png',
|
||||
'cursor-zoom.png',
|
||||
'cursor-zoom-x2.png',
|
||||
|
||||
|
|
Loading…
Reference in New Issue