RigsofRods
Soft-body Physics Simulation
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Functions
_
a
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Variables
a
b
c
d
e
f
g
i
k
l
m
n
p
r
s
t
u
v
w
Typedefs
a
c
d
e
f
g
l
m
n
o
p
r
s
t
v
w
Enumerations
a
b
c
d
e
f
g
h
i
k
l
m
n
p
r
s
t
u
v
w
Enumerator
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
Enumerations
a
b
c
d
g
h
l
m
n
o
p
r
s
t
v
Enumerator
a
b
c
d
f
g
h
l
m
n
o
r
s
t
v
Related Functions
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Typedefs
Enumerations
Enumerator
k
o
Macros
_
a
b
c
d
e
f
h
i
l
m
n
o
p
r
s
t
x
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
source
main
gui
panels
GUI_NodeBeamUtils.h
Go to the documentation of this file.
1
/*
2
This source file is part of Rigs of Rods
3
Copyright 2016-2020 Petr Ohlidal
4
5
For more information, see http://www.rigsofrods.org/
6
7
Rigs of Rods is free software: you can redistribute it and/or modify
8
it under the terms of the GNU General Public License version 3, as
9
published by the Free Software Foundation.
10
11
Rigs of Rods is distributed in the hope that it will be useful,
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
GNU General Public License for more details.
15
16
You should have received a copy of the GNU General Public License
17
along with Rigs of Rods. If not, see <http://www.gnu.org/licenses/>.
18
*/
19
20
#pragma once
21
22
#include "
Application.h
"
23
#include "
OgreImGui.h
"
24
25
namespace
RoR
{
26
namespace
GUI {
27
28
class
NodeBeamUtils
29
{
30
public
:
31
void
Draw
();
32
33
void
SetVisible
(
bool
visible);
34
bool
IsVisible
()
const
{
return
m_is_visible
; }
35
bool
IsHovered
()
const
{
return
IsVisible
() &&
m_is_hovered
; }
36
37
private
:
38
bool
m_is_visible
=
false
;
39
bool
m_is_hovered
=
false
;
40
bool
m_is_searching
=
false
;
41
42
const
ImVec4
GRAY_HINT_TEXT
= ImVec4(0.62f, 0.62f, 0.61f, 1.f);
43
44
void
DrawCreateProjectBanner
(
ActorPtr
actor,
bool
& window_open);
45
void
DrawMenubar
(
ActorPtr
actor);
46
void
DrawMassTab
(
ActorPtr
actor);
47
void
DrawSpringDampTab
(
ActorPtr
actor);
48
};
49
50
}
// namespace GUI
51
}
// namespace RoR
RoR::GUI::NodeBeamUtils::GRAY_HINT_TEXT
const ImVec4 GRAY_HINT_TEXT
Definition:
GUI_NodeBeamUtils.h:42
RoR::GUI::NodeBeamUtils::m_is_visible
bool m_is_visible
Definition:
GUI_NodeBeamUtils.h:38
RoR::GUI::NodeBeamUtils::m_is_searching
bool m_is_searching
Definition:
GUI_NodeBeamUtils.h:40
RoR::GUI::NodeBeamUtils::DrawMenubar
void DrawMenubar(ActorPtr actor)
Definition:
GUI_NodeBeamUtils.cpp:295
OgreImGui.h
RefCountingObjectPtr< Actor >
RoR::GUI::NodeBeamUtils::DrawSpringDampTab
void DrawSpringDampTab(ActorPtr actor)
Definition:
GUI_NodeBeamUtils.cpp:91
RoR::GUI::NodeBeamUtils::m_is_hovered
bool m_is_hovered
Definition:
GUI_NodeBeamUtils.h:39
Application.h
Central state/object manager and communications hub.
RoR::GUI::NodeBeamUtils
Definition:
GUI_NodeBeamUtils.h:28
RoR::GUI::NodeBeamUtils::IsHovered
bool IsHovered() const
Definition:
GUI_NodeBeamUtils.h:35
RoR::GUI::NodeBeamUtils::DrawCreateProjectBanner
void DrawCreateProjectBanner(ActorPtr actor, bool &window_open)
Definition:
GUI_NodeBeamUtils.cpp:252
RoR::GUI::NodeBeamUtils::SetVisible
void SetVisible(bool visible)
Definition:
GUI_NodeBeamUtils.cpp:242
RoR::GUI::NodeBeamUtils::IsVisible
bool IsVisible() const
Definition:
GUI_NodeBeamUtils.h:34
RoR
Definition:
AppContext.h:36
RoR::GUI::NodeBeamUtils::DrawMassTab
void DrawMassTab(ActorPtr actor)
Definition:
GUI_NodeBeamUtils.cpp:315
RoR::GUI::NodeBeamUtils::Draw
void Draw()
Definition:
GUI_NodeBeamUtils.cpp:32
Generated by
1.8.17