Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Gauthier Quesnel
irritator
Commits
a2da659d
Commit
a2da659d
authored
Nov 21, 2020
by
Gauthier Quesnel
Browse files
move data into new zone
parent
b3b9556d
Changes
2
Hide whitespace changes
Inline
Side-by-side
app/gui/node-editor.cpp
View file @
a2da659d
...
@@ -2492,6 +2492,14 @@ editor::show_editor() noexcept
...
@@ -2492,6 +2492,14 @@ editor::show_editor() noexcept
"D -- duplicate selected nodes / "
"D -- duplicate selected nodes / "
"G -- group model"
);
"G -- group model"
);
ImGui
::
Columns
(
2
,
"TODO column"
);
if
(
starting
)
{
ImGui
::
SetColumnWidth
(
0
,
400.
f
);
starting
=
false
;
}
ImGui
::
Separator
();
imnodes
::
BeginNodeEditor
();
imnodes
::
BeginNodeEditor
();
show_top
();
show_top
();
...
@@ -2676,6 +2684,9 @@ editor::show_editor() noexcept
...
@@ -2676,6 +2684,9 @@ editor::show_editor() noexcept
}
}
}
}
ImGui
::
NextColumn
();
ImGui
::
Text
(
"Here node editor"
);
ImGui
::
End
();
ImGui
::
End
();
return
true
;
return
true
;
...
...
app/gui/node-editor.hpp
View file @
a2da659d
...
@@ -280,6 +280,7 @@ struct editor
...
@@ -280,6 +280,7 @@ struct editor
ImVector
<
ImVec2
>
displacements
;
ImVector
<
ImVec2
>
displacements
;
bool
use_real_time
;
bool
use_real_time
;
bool
starting
=
true
;
double
synchronize_timestep
;
double
synchronize_timestep
;
top_cluster
top
;
top_cluster
top
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment