DayZ 1.29
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ ButtonNormal()

void ButtonNormal ( Widget w)
protected

См. определение в файле ScriptConsoleWeatherTab.c строка 1384

1385 {
1386 ButtonWidget wb;
1387 if (Class.CastTo(wb, w))
1388 {
1389 if (wb.GetName() == "ButtonHide")
1390 {
1391 ImageWidget iw = ImageWidget.Cast(wb.FindAnyWidget(wb.GetName() + "Icon"));
1392 iw.SetColor(ARGB(255, 255, 255, 255));
1393 }
1394 else
1395 {
1396 wb.SetTextColor(ARGB(255, 255, 255, 255));
1397 }
1398 }
1399 }
Super root of all classes in Enforce script.
Определения EnScript.c:11
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.
int ARGB(int a, int r, int g, int b)
Определения proto.c:322

Перекрестные ссылки ARGB() и Class::CastTo().

Используется в OnMouseLeave().