45 m_MainText1.SetText(
"#layout_mainmenu_newsfeed_sgz_title_1" );
47 m_MainText2.SetText(
"#layout_mainmenu_newsfeed_sgz_title_2" );
49 m_MainText3.SetText(
"#layout_mainmenu_newsfeed_sgz_title_3" );
51 m_SecText1.SetText(
"#layout_mainmenu_newsfeed_sgz_text_1" );
53 m_SecText2.SetText(
"#layout_mainmenu_newsfeed_sgz_text_2" );
55 m_SecText3.SetText(
"#layout_mainmenu_newsfeed_sgz_text_3" );
66 GetGame().
OpenURL(
"https://store.steampowered.com/app/830660/Survivor_GameZ/" );
185 if( w.IsInherited( ButtonWidget ) )
187 ButtonWidget button = ButtonWidget.Cast( w );
188 button.SetTextColor(
ARGB( 255, 255, 0, 0 ) );
189 button.SetAlpha( 0.9 );
194 ImageWidget image = ImageWidget.Cast( w.FindWidget( w.GetName() +
"_image" ) );
198 text.SetColor(
ARGB( 255, 255, 0, 0 ) );
203 text2.SetColor(
ARGB( 255, 255, 0, 0 ) );
208 image.SetColor(
ARGB( 255, 255, 0, 0 ) );
214 if( w.IsInherited( ButtonWidget ) )
216 ButtonWidget button = ButtonWidget.Cast( w );
217 button.SetTextColor(
ARGB( 255, 255, 255, 255 ) );
218 button.SetAlpha( 0.75 );
223 ImageWidget image = ImageWidget.Cast( w.FindWidget( w.GetName() +
"_image" ) );
227 text.SetColor(
ARGB( 255, 255, 255, 255 ) );
232 text2.SetColor(
ARGB( 255, 255, 255, 255 ) );
237 image.SetColor(
ARGB( 255, 255, 255, 255 ) );
proto native void OpenURL(string url)
proto native CGame GetGame()
int ARGB(int a, int r, int g, int b)