refactored field names, organized classes, text ui module now can scale and wrap.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user