Arma Reforger Explorer
1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Toggle main menu visibility
Loading...
Searching...
No Matches
SCR_RadialMenuNumberHintComponent.c
Go to the documentation of this file.
1
5
6
class
SCR_RadialMenuNumberHintComponent
:
SCR_SimpleEntryComponent
7
{
8
// Widgets
9
[
Attribute
(
"Background"
)]
10
protected
string
m_sBackround
;
11
12
protected
Widget
m_wBackround
;
13
14
// Colors
15
[
Attribute
(
"255 255 255 255"
)]
16
protected
ref
Color
m_cTextDefault
;
17
18
[
Attribute
(
"255 255 255 255"
)]
19
protected
ref
Color
m_cBackgroundDefault
;
20
21
[
Attribute
(
"255 255 255 255"
)]
22
protected
ref
Color
m_cTextHighlight
;
23
24
[
Attribute
(
"255 255 255 255"
)]
25
protected
ref
Color
m_cBackgroundHighlight
;
26
27
//------------------------------------------------------------------------------------------------------------------------
28
override
void
HandlerAttached
(
Widget
w)
29
{
30
super.HandlerAttached(w);
31
32
m_wBackround
= w.FindAnyWidget(
m_sBackround
);
33
34
Highlight
(
false
);
35
}
36
37
//------------------------------------------------------------------------------------------------------------------------
38
void
Highlight
(
bool
highlight)
39
{
40
// Highligh
41
if
(highlight)
42
{
43
if
(
m_wBackround
)
44
m_wBackround
.SetColor(
m_cBackgroundHighlight
);
45
46
if
(
m_wLabel
)
47
m_wLabel
.SetColor(
m_cTextHighlight
);
48
49
if
(
m_wMessage
)
50
m_wMessage
.SetColor(
m_cTextHighlight
);
51
52
return
;
53
}
54
55
// Default
56
if
(
m_wBackround
)
57
m_wBackround
.SetColor(
m_cBackgroundDefault
);
58
59
if
(
m_wLabel
)
60
m_wLabel
.SetColor(
m_cTextDefault
);
61
62
if
(
m_wMessage
)
63
m_wMessage
.SetColor(
m_cTextDefault
);
64
}
65
}
Color
Definition
Color.c:13
SCR_RadialMenuNumberHintComponent
Definition
SCR_RadialMenuNumberHintComponent.c:7
SCR_RadialMenuNumberHintComponent::m_sBackround
string m_sBackround
Definition
SCR_RadialMenuNumberHintComponent.c:10
SCR_RadialMenuNumberHintComponent::HandlerAttached
override void HandlerAttached(Widget w)
Definition
SCR_RadialMenuNumberHintComponent.c:28
SCR_RadialMenuNumberHintComponent::m_cTextHighlight
ref Color m_cTextHighlight
Definition
SCR_RadialMenuNumberHintComponent.c:22
SCR_RadialMenuNumberHintComponent::m_cTextDefault
ref Color m_cTextDefault
Definition
SCR_RadialMenuNumberHintComponent.c:16
SCR_RadialMenuNumberHintComponent::m_wBackround
Widget m_wBackround
Definition
SCR_RadialMenuNumberHintComponent.c:12
SCR_RadialMenuNumberHintComponent::m_cBackgroundHighlight
ref Color m_cBackgroundHighlight
Definition
SCR_RadialMenuNumberHintComponent.c:25
SCR_RadialMenuNumberHintComponent::m_cBackgroundDefault
ref Color m_cBackgroundDefault
Definition
SCR_RadialMenuNumberHintComponent.c:19
SCR_RadialMenuNumberHintComponent::Highlight
void Highlight(bool highlight)
Definition
SCR_RadialMenuNumberHintComponent.c:38
SCR_SimpleEntryComponent
Definition
SCR_SimpleEntryComponent.c:7
SCR_SimpleEntryComponent::m_wMessage
TextWidget m_wMessage
Definition
SCR_SimpleEntryComponent.c:21
SCR_SimpleEntryComponent::m_wLabel
TextWidget m_wLabel
Definition
SCR_SimpleEntryComponent.c:20
Widget
Definition
Widget.c:13
Attribute
SCR_FieldOfViewSettings Attribute
Definition
SendGoalMessage.c:170
scripts
Game
UI
HUD
SelectionMenu
RadialMenu
SCR_RadialMenuNumberHintComponent.c
Generated by
1.17.0