Skip to content

Commit

Permalink
Added some buttons for save etc.
Browse files Browse the repository at this point in the history
  • Loading branch information
se5a committed May 17, 2024
1 parent f23613f commit 84feedd
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Pulsar4X/Pulsar4X.Client/ModFileEditing/BluePrintsUI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,18 @@ public void Display(string label)
int i = 0;
if(ImGui.TreeNode(label))
{
ImGui.Button("Save");
ImGui.SameLine();
ImGui.Button("SaveAs");
ImGui.SameLine();
ImGui.Button("SaveToMemory");
ImGui.BeginChild(label);
ImGui.Columns(2);
ImGui.SetColumnWidth(0,150);
ImGui.SetColumnWidth(1,500);
//ImGui.NextColumn();

//ImGui.NextColumn();
foreach (var item in _itemBlueprints)
{
ImGui.Text(_itemNames[i]);
Expand Down

0 comments on commit 84feedd

Please sign in to comment.