small SnapDisplay changes, nothing serious

This commit is contained in:
AJ Kelly
2011-02-27 20:12:41 -06:00
parent 4ac8c51651
commit 6690b72bc6
2 changed files with 5 additions and 6 deletions
+1 -2
View File
@@ -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
View File
@@ -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
};