refactored field names, organized classes, text ui module now can scale and wrap.

This commit is contained in:
2018-11-20 18:12:02 -06:00
parent 1edebdd223
commit 88baab37db
10 changed files with 117 additions and 45 deletions

View File

@@ -46,14 +46,14 @@ namespace RhythmBullet.Zer01HD.Audio.Visualizer
{
for (int i = 0; i < BAR_COUNT; i++)
{
bar.X = (i * (bar.Width + spaceBetweenBars)) + Bounds.X;
bar.Y = Bounds.Y;
bar.X = (i * (bar.Width + spaceBetweenBars)) + bounds.X;
bar.Y = bounds.Y;
bar.Height = barValue[i];
batch.Draw(barTexture, bar, Color);
batch.Draw(barTexture, bar, color);
bar.Height = -barValue[BAR_COUNT - i - 1];
batch.Draw(barTexture, bar, Color);
batch.Draw(barTexture, bar, color);
}
base.Draw(batch);
}