tabs for editor view
All checks were successful
studiorailgun/Renderer/pipeline/head This commit looks good
All checks were successful
studiorailgun/Renderer/pipeline/head This commit looks good
This commit is contained in:
parent
2cf46cc38f
commit
7f3cad3064
@ -1329,6 +1329,7 @@ Add debug control to swap first/third person
|
|||||||
Setup scaffolding for drag-and-drop asset handling
|
Setup scaffolding for drag-and-drop asset handling
|
||||||
Editor mode asset file drag and drop
|
Editor mode asset file drag and drop
|
||||||
Editor mode pauses simulation
|
Editor mode pauses simulation
|
||||||
|
Tabs for editor view
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -44,10 +44,21 @@ public class ImGuiEditorWindows {
|
|||||||
mainWindow.setCallback(new ImGuiWindowCallback() {
|
mainWindow.setCallback(new ImGuiWindowCallback() {
|
||||||
@Override
|
@Override
|
||||||
public void exec() {
|
public void exec() {
|
||||||
ImGui.text("hello :)");
|
if(ImGui.beginTabBar("Tabs")){
|
||||||
//close button
|
if(ImGui.beginTabItem("General")){
|
||||||
if(ImGui.button("Close")){
|
ImGui.text("hello :)");
|
||||||
mainWindow.setOpen(false);
|
ImGui.endTabItem();
|
||||||
|
}
|
||||||
|
if(ImGui.beginTabItem("Assets")){
|
||||||
|
ImGui.text("asset selector here");
|
||||||
|
ImGui.endTabItem();
|
||||||
|
}
|
||||||
|
if(ImGui.beginTabItem("Hierarchy")){
|
||||||
|
ImGui.text("hierarchy controls here");
|
||||||
|
ImGui.endTabItem();
|
||||||
|
}
|
||||||
|
|
||||||
|
ImGui.endTabBar();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user