log, don't SystemMessage because it is unnecessary and messes up screenshots
This commit is contained in:
@@ -459,21 +459,28 @@ bool ScreenDebugOverlay::OverlayInput( const InputEventPlus &input )
|
|||||||
if( input.type != IET_FIRST_PRESS )
|
if( input.type != IET_FIRST_PRESS )
|
||||||
return true; /* eat the input but do nothing */
|
return true; /* eat the input but do nothing */
|
||||||
|
|
||||||
BitmapText &txt1 = *m_vptextButton[i];
|
// do the action
|
||||||
txt1.FinishTweening();
|
|
||||||
float fZoom = txt1.GetZoom();
|
|
||||||
txt1.SetZoom( fZoom * 1.2f );
|
|
||||||
txt1.BeginTweening( 0.2f, TWEEN_LINEAR );
|
|
||||||
txt1.SetZoom( fZoom );
|
|
||||||
|
|
||||||
RString sMessage;
|
RString sMessage;
|
||||||
(*p)->DoAndMakeSystemMessage( sMessage );
|
(*p)->DoAndMakeSystemMessage( sMessage );
|
||||||
if( !sMessage.empty() )
|
if( !sMessage.empty() )
|
||||||
SCREENMAN->SystemMessage( sMessage );
|
LOG->Trace("DEBUG: " + sMessage );
|
||||||
if( (*p)->ForceOffAfterUse() )
|
if( (*p)->ForceOffAfterUse() )
|
||||||
m_bForcedHidden = true;
|
m_bForcedHidden = true;
|
||||||
|
|
||||||
|
// update text to show the effect of what changed above
|
||||||
UpdateText();
|
UpdateText();
|
||||||
|
|
||||||
|
// blink the text to show what changed
|
||||||
|
BitmapText &bt = *m_vptextButton[i];
|
||||||
|
bt.FinishTweening();
|
||||||
|
for( int i=0; i<8; i++ )
|
||||||
|
{
|
||||||
|
bt.SetGlow( RageColor(1,0,0,1) );
|
||||||
|
bt.Sleep(0.1f);
|
||||||
|
bt.SetGlow( RageColor(1,0,0,0) );
|
||||||
|
bt.Sleep(0.1f);
|
||||||
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -889,6 +896,8 @@ static void FillProfileStats( Profile *pProfile )
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SCREENMAN->ZeroNextUpdate();
|
||||||
}
|
}
|
||||||
|
|
||||||
class DebugLineFillProfileStats : public IDebugLine
|
class DebugLineFillProfileStats : public IDebugLine
|
||||||
|
|||||||
Reference in New Issue
Block a user