Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_OnFocusUIComponent.c
Go to the documentation of this file.
1 
5 class SCR_OnFocusUIComponent: ScriptedWidgetComponent
6 {
7  protected ref ScriptInvoker Event_OnFocusChanged = new ScriptInvoker;
8 
9  ScriptInvoker GetOnFocusChanged()
10  {
11  return Event_OnFocusChanged;
12  }
13 
14  override bool OnFocus(Widget w, int x, int y)
15  {
16  Event_OnFocusChanged.Invoke(true);
17  return true;
18  }
19 
20  override bool OnFocusLost(Widget w, int x, int y)
21  {
22  Event_OnFocusChanged.Invoke(false);
23  return false;
24  }
25 
26 };
SCR_OnFocusUIComponent
Definition: SCR_OnFocusUIComponent.c:5