Add PlayerState::GetDisplayedPosition() and PlayerState::GetDisplayedTiming()

which returns the dispalyed position and timing (based on the timing display
switch in the editor), so less copy n paste in ArrowEffects and NoteField.
This commit is contained in:
Thai Pangsakulyanont
2011-09-14 12:20:42 +07:00
parent 48ca50940a
commit 8fdf42e2bb
4 changed files with 31 additions and 47 deletions
+3
View File
@@ -41,6 +41,9 @@ public:
// Music statistics:
SongPosition m_Position;
const SongPosition &GetDisplayedPosition() const;
const TimingData &GetDisplayedTiming() const;
/**
* @brief Change the PlayerOptions to their default.