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

◆ Preview()

void ScriptedWidgetEventHandler::Preview ( Widget w,
int x,
int y )
inlineprivate

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

744 {
745 if (m_Selected)
746 return;
747
748 switch (w)
749 {
750 case m_Root:
751 case m_Favorite:
752 {
753 m_Root.SetColor(ARGB(255, 0, 0, 0));
754 m_Root.SetAlpha(1);
755 UpdateColors();
756
757 m_ServerName.SetColor(ARGB(255, 255, 0, 0));
758 if (!IsOnline())
759 {
760 m_ServerName.SetAlpha(0.5);
761 }
762 break;
763 }
764 }
765 }
Widget m_Root
Определения SizeToChild.c:9
Widget m_Favorite
Определения ServerBrowserEntry.c:4
TextWidget m_ServerName
Определения ServerBrowserEntry.c:7
int ARGB(int a, int r, int g, int b)
Определения proto.c:322

Перекрестные ссылки ARGB(), IsOnline(), m_Favorite, m_Root, m_Selected, m_ServerName, UpdateColors(), x и y.

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