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

◆ ButtonNormal()

void ButtonNormal ( Widget w)
protected

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

1362 {
1363 ButtonWidget wb;
1364 if (Class.CastTo(wb, w))
1365 {
1366 if (wb.GetName() == "ButtonHide")
1367 {
1368 ImageWidget iw = ImageWidget.Cast(wb.FindAnyWidget(wb.GetName() + "Icon"));
1369 iw.SetColor(ARGB(255, 255, 255, 255));
1370 }
1371 else
1372 {
1373 wb.SetTextColor(ARGB(255, 255, 255, 255));
1374 }
1375 }
1376 }
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().