[OptionRow] Added Text param to RefreshMessageCommand.
This commit is contained in:
@@ -17,6 +17,7 @@ sm-ssc v1.2.5 | 20110???
|
||||
--------
|
||||
* [ScreenOptions] Renamed "ScreenOptions LineHighlight" to "ScreenOptions
|
||||
LineHighlight P#", making it load per-player. [AJ]
|
||||
* [OptionRow] Added Text param to RefreshMessageCommand. [AJ]
|
||||
|
||||
20110428
|
||||
--------
|
||||
|
||||
@@ -645,6 +645,7 @@ void OptionRow::SetModIcon( PlayerNumber pn, const RString &sText, GameCommand &
|
||||
// update row frame
|
||||
Message msg( "Refresh" );
|
||||
msg.SetParam( "GameCommand", &gc );
|
||||
msg.SetParam( "Text", sText );
|
||||
m_sprFrame->HandleMessage( msg );
|
||||
if( m_ModIcons[pn] != NULL )
|
||||
m_ModIcons[pn]->Set( sText );
|
||||
|
||||
Reference in New Issue
Block a user