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

◆ OnMouseEnter() [21/21]

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

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

229 {
230 int index = m_TabControls.GetKeyByValue( w );
231 if ( m_SelectedIndex == index )
232 {
233 return false;
234 }
235
236 Widget tab_control = m_TabControls.Get( index );
237 if ( tab_control )
238 {
239 Widget tab_title = TextWidget.Cast(tab_control.FindAnyWidget( tab_control.GetName() + "_Title" ));
240 tab_title.SetColor( ARGB(255, 255, 0, 0) );
241 tab_control.SetColor( ARGB(255, 0, 0 ,0) );
242 }
243
244 return false;
245 }
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.