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
|
||||
Editor mode asset file drag and drop
|
||||
Editor mode pauses simulation
|
||||
Tabs for editor view
|
||||
|
||||
|
||||
|
||||
|
||||
@ -44,10 +44,21 @@ public class ImGuiEditorWindows {
|
||||
mainWindow.setCallback(new ImGuiWindowCallback() {
|
||||
@Override
|
||||
public void exec() {
|
||||
ImGui.text("hello :)");
|
||||
//close button
|
||||
if(ImGui.button("Close")){
|
||||
mainWindow.setOpen(false);
|
||||
if(ImGui.beginTabBar("Tabs")){
|
||||
if(ImGui.beginTabItem("General")){
|
||||
ImGui.text("hello :)");
|
||||
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