Rework BarGraph to use Quads

This commit is contained in:
Andrei Zavatski
2022-11-19 00:19:49 +03:00
parent e4fc14faee
commit e8ca9f5dc5
2 changed files with 188 additions and 35 deletions

View File

@ -109,15 +109,11 @@ namespace osu.Game.Graphics.UserInterface
}
}
[Flags]
public enum BarDirection
{
LeftToRight = 1,
RightToLeft = 1 << 1,
TopToBottom = 1 << 2,
BottomToTop = 1 << 3,
Vertical = TopToBottom | BottomToTop,
Horizontal = LeftToRight | RightToLeft,
LeftToRight,
RightToLeft,
TopToBottom,
BottomToTop
}
}