6 static const ResourceName s_sLayout =
"{5FBB1623E3CD1DF2}UI/layouts/HUD/VehicleInfo/VehicleGearShift.layout";
7 ResourceName GetLayout() {
return s_sLayout; }
9 OverlayWidget m_LowerSelected;
11 TextWidget m_LowerSelectedText;
13 OverlayWidget m_Lower;
15 TextWidget m_LowerText;
17 OverlayWidget m_MiddleSelected;
19 TextWidget m_MiddleSelectedText;
21 OverlayWidget m_Middle;
23 TextWidget m_MiddleText;
25 OverlayWidget m_UpperSelected;
27 TextWidget m_UpperSelectedText;
29 OverlayWidget m_Upper;
31 TextWidget m_UpperText;
33 bool Init(Widget root)
35 m_LowerSelected = OverlayWidget.Cast(root.FindWidget(
"HorizontalLayout0.SlotLower.m_LowerSelected"));
37 m_LowerSelectedText = TextWidget.Cast(root.FindWidget(
"HorizontalLayout0.SlotLower.m_LowerSelected.m_LowerSelectedText"));
39 m_Lower = OverlayWidget.Cast(root.FindWidget(
"HorizontalLayout0.SlotLower.m_Lower"));
41 m_LowerText = TextWidget.Cast(root.FindWidget(
"HorizontalLayout0.SlotLower.m_Lower.m_LowerText"));
43 m_MiddleSelected = OverlayWidget.Cast(root.FindWidget(
"HorizontalLayout0.SlotMiddle.m_MiddleSelected"));
45 m_MiddleSelectedText = TextWidget.Cast(root.FindWidget(
"HorizontalLayout0.SlotMiddle.m_MiddleSelected.m_MiddleSelectedText"));
47 m_Middle = OverlayWidget.Cast(root.FindWidget(
"HorizontalLayout0.SlotMiddle.m_Middle"));
49 m_MiddleText = TextWidget.Cast(root.FindWidget(
"HorizontalLayout0.SlotMiddle.m_Middle.m_MiddleText"));
51 m_UpperSelected = OverlayWidget.Cast(root.FindWidget(
"HorizontalLayout0.SlotUpper.m_UpperSelected"));
53 m_UpperSelectedText = TextWidget.Cast(root.FindWidget(
"HorizontalLayout0.SlotUpper.m_UpperSelected.m_UpperSelectedText"));
55 m_Upper = OverlayWidget.Cast(root.FindWidget(
"HorizontalLayout0.SlotUpper.m_Upper"));
57 m_UpperText = TextWidget.Cast(root.FindWidget(
"HorizontalLayout0.SlotUpper.m_Upper.m_UpperText"));