Removed useless default:break

This commit is contained in:
Flamefire committed 2013-03-19 23:03:31 +01:00
1 parent 7469e86617
commit 71d5b2ce76
10 files changed
-42

No files matched your search

-10
View File
@@ -648,8 +648,6 @@ namespace Vocaluxe.Menu
case EHAlignment.Bottom:
sFactor = (Height - _DrawPosition.tH) * 0.5f;
break;
default:
break;
}
CBase.Fonts.DrawTextReflection(_Text, _DrawPosition.tH, _DrawPosition.X, _DrawPosition.Y, Z, color, ReflectionSpace + sFactor, ReflectionHeight);
}
@@ -676,8 +674,6 @@ namespace Vocaluxe.Menu
case EAlignment.Right:
x = X - bounds.Width;
break;
default:
break;
}
SColorF CurrentColor = new SColorF(Color);
@@ -743,8 +739,6 @@ namespace Vocaluxe.Menu
case EHAlignment.Bottom:
y += step * 0.75f;
break;
default:
break;
}
bounds = CBase.Fonts.GetTextBounds(this, h);
@@ -758,8 +752,6 @@ namespace Vocaluxe.Menu
case EAlignment.Right:
x = x - bounds.Width;
break;
default:
break;
}
@@ -850,8 +842,6 @@ namespace Vocaluxe.Menu
case EHAlignment.Bottom:
y += step * 0.75f;
break;
default:
break;
}
bounds = CBase.Fonts.GetTextBounds(this, h);