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

◆ OnMouseLeave() [22/22]

override bool ScriptedWidgetEventHandler::OnMouseLeave ( Widget w,
Widget enterW,
int x,
int y )
inlineprotected

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

248 {
249 int index = m_TabControls.GetKeyByValue( w );
250 if ( m_SelectedIndex == index )
251 {
252 return false;
253 }
254
255 Widget tab_control = m_TabControls.Get( index );
256 if ( tab_control )
257 {
258 Widget tab_title = TextWidget.Cast(tab_control.FindAnyWidget( tab_control.GetName() + "_Title" ));
259 tab_title.SetColor( ARGB(255, 255, 255, 255) );
260 tab_control.SetColor( ARGB(0, 0, 0 ,0) );
261 }
262 return false;
263 }
int m_SelectedIndex
Определения TabberUI.c:11
ref map< int, Widget > m_TabControls
Определения TabberUI.c:8
WorkspaceWidget Widget
Defined in code.
int ARGB(int a, int r, int g, int b)
Определения proto.c:322

Перекрестные ссылки ARGB(), m_SelectedIndex, m_TabControls, x и y.