1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-26 15:50:29 +08:00

Further work on the progress graph, column states moved to an enum, SongProgressGraphColumnState -> ColumnState, graph can resize dynamically

This commit is contained in:
DrabWeb
2017-02-07 13:02:56 -04:00
Unverified
parent 3d0feb4de9
commit dfc53be095
3 changed files with 50 additions and 29 deletions
@@ -30,8 +30,8 @@ namespace osu.Game.Graphics.UserInterface
}
}
private SongProgressGraphColumnState state;
public SongProgressGraphColumnState State
private ColumnState state;
public ColumnState State
{
get
{
@@ -42,7 +42,7 @@ namespace osu.Game.Graphics.UserInterface
if (value == state) return;
state = value;
fillActive(value == SongProgressGraphColumnState.Lit ? lit_colour : dimmed_colour);
fillActive(value == ColumnState.Lit ? lit_colour : dimmed_colour);
}
}
@@ -74,7 +74,7 @@ namespace osu.Game.Graphics.UserInterface
}
}
public enum SongProgressGraphColumnState
public enum ColumnState
{
Lit, Dimmed
}