small SnapDisplay changes, nothing serious
This commit is contained in:
+1
-2
@@ -40,7 +40,7 @@ bool SnapDisplay::PrevSnapMode()
|
||||
|
||||
bool SnapDisplay::NextSnapMode()
|
||||
{
|
||||
if( m_NoteType == NOTE_TYPE_192ND ) // this is the smallest snap we should allow
|
||||
if( m_NoteType == NOTE_TYPE_192ND ) // the smallest snap we should allow
|
||||
return false;
|
||||
enum_add( m_NoteType, 1 );
|
||||
|
||||
@@ -48,7 +48,6 @@ bool SnapDisplay::NextSnapMode()
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
void SnapDisplay::SnapModeChanged()
|
||||
{
|
||||
for( int i=0; i<2; i++ )
|
||||
|
||||
+4
-4
@@ -6,10 +6,6 @@
|
||||
#include "Sprite.h"
|
||||
#include "PlayerNumber.h"
|
||||
|
||||
/* sm-ssc todo:
|
||||
* Convert m_sprIndicators to AutoActors
|
||||
* ThemeMetric for deciding to load one or two indicators? -aj
|
||||
*/
|
||||
/** @brief Graphics on ends of receptors on Edit screen that show the current snap type. */
|
||||
class SnapDisplay : public ActorFrame
|
||||
{
|
||||
@@ -30,6 +26,10 @@ protected:
|
||||
|
||||
/** @brief the NoteType to snap to. */
|
||||
NoteType m_NoteType;
|
||||
/**
|
||||
* @brief Indicators showing what NoteType is currently snapped to.
|
||||
*
|
||||
* TODO: Convert to an AutoActor. -aj */
|
||||
Sprite m_sprIndicators[2]; // left and right side
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user