183 {
185 if( w.IsInherited( ButtonWidget ) )
186 {
187 ButtonWidget button = ButtonWidget.Cast( w );
188 button.SetTextColor(
ARGB( 255, 255, 0, 0 ) );
189 button.SetAlpha( 0.9 );
190 }
191
192 TextWidget text = TextWidget.Cast(w.FindWidget( w.GetName() + "_text" ) );
193 TextWidget text2 = TextWidget.Cast(w.FindWidget( w.GetName() + "_text_1" ) );
194 ImageWidget image = ImageWidget.Cast( w.FindWidget( w.GetName() + "_image" ) );
195
196 if( text )
197 {
198 text.SetColor(
ARGB( 255, 255, 0, 0 ) );
199 }
200
201 if( text2 )
202 {
203 text2.SetColor(
ARGB( 255, 255, 0, 0 ) );
204 }
205
206 if( image )
207 {
208 image.SetColor(
ARGB( 255, 255, 0, 0 ) );
209 }
210 }
int ARGB(int a, int r, int g, int b)