blob: a0150ada0422d06df51836813b36fee83d8f457d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
using System;
public class TFUIBlockoutElement : ThronefallUIElement
{
public ThronefallUIElement target;
private void OnEnable()
{
botNav = target.botNav;
topNav = target.topNav;
rightNav = target.rightNav;
leftNav = target.leftNav;
}
protected override void OnApply()
{
target.Apply();
}
protected override void OnClear()
{
target.Clear();
}
protected override void OnFocus()
{
target.Focus();
}
protected override void OnFocusAndSelect()
{
target.FocusAndSelect();
}
protected override void OnHardStateSet(SelectionState selectionState)
{
throw new NotImplementedException();
}
protected override void OnSelect()
{
target.Select();
}
}
|