* fix spelling mistake diamont -> diamond (fixes #1618)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22906 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus 2007-11-11 23:00:11 +00:00
parent 6548a8f371
commit c50a1ab8a4
4 changed files with 7 additions and 7 deletions

View File

@ -101,8 +101,8 @@ StyleView::StyleView(BRect frame)
message->AddInt32("type", GRADIENT_CIRCULAR);
menu->AddItem(new BMenuItem("Radial", message));
message = new BMessage(MSG_SET_GRADIENT_TYPE);
message->AddInt32("type", GRADIENT_DIAMONT);
menu->AddItem(new BMenuItem("Diamont", message));
message->AddInt32("type", GRADIENT_DIAMOND);
menu->AddItem(new BMenuItem("Diamond", message));
message = new BMessage(MSG_SET_GRADIENT_TYPE);
message->AddInt32("type", GRADIENT_CONIC);
menu->AddItem(new BMenuItem("Conic", message));

View File

@ -142,7 +142,7 @@ StyleHandler::generate_span(agg::rgba8* span, int x, int y,
styleItem->transformation);
break;
}
case GRADIENT_DIAMONT: {
case GRADIENT_DIAMOND: {
agg::gradient_diamond function;
_GenerateGradient(span, x, y, len, function, 0, 64, colors,
styleItem->transformation);

View File

@ -582,8 +582,8 @@ string_for_type(gradient_type type)
return "GRADIENT_LINEAR";
case GRADIENT_CIRCULAR:
return "GRADIENT_CIRCULAR";
case GRADIENT_DIAMONT:
return "GRADIENT_DIAMONT";
case GRADIENT_DIAMOND:
return "GRADIENT_DIAMOND";
case GRADIENT_CONIC:
return "GRADIENT_CONIC";
case GRADIENT_XY:
@ -615,7 +615,7 @@ Gradient::GradientArea() const
switch (fType) {
case GRADIENT_LINEAR:
case GRADIENT_CIRCULAR:
case GRADIENT_DIAMONT:
case GRADIENT_DIAMOND:
case GRADIENT_CONIC:
case GRADIENT_XY:
case GRADIENT_SQRT_XY:

View File

@ -29,7 +29,7 @@ namespace Icon {
enum gradient_type {
GRADIENT_LINEAR = 0,
GRADIENT_CIRCULAR,
GRADIENT_DIAMONT,
GRADIENT_DIAMOND,
GRADIENT_CONIC,
GRADIENT_XY,
GRADIENT_SQRT_XY,