Description:
Tweak Contracts window.
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
@@ -56,7 +56,7 | |||
|
56 | 56 | |
|
57 | 57 | ImGui.PushStyleColor(ImGuiCol.Button, new Num.Vector4(0.75f, 0.75f, 0.75f, 1f)); |
|
58 | 58 | ImGui.PushStyleColor(ImGuiCol.Text, new Num.Vector4(0f, 0f, 0f, 1f)); |
|
59 |
ImGui.SetNextWindowSize(new Num.Vector2(3 |
|
|
59 | ImGui.SetNextWindowSize(new Num.Vector2(320, 340)); | |
|
60 | 60 | ImGui.Begin("Contracts", ref newShow, ImGuiWindowFlags.NoResize | ImGuiWindowFlags.NoCollapse | ImGuiWindowFlags.NoSavedSettings); |
|
61 | 61 | ImGui.ListBoxHeader("##Contracts:", new Num.Vector2(300, 150)); |
|
62 | 62 | foreach (var contract in contracts.Where((contract) => ((!(new[] {ContractStatus.Expired, ContractStatus.Broken, ContractStatus.Rejected}.Contains(contract.status)) |
@@ -137,7 +137,7 | |||
|
137 | 137 | |
|
138 | 138 | if (selected_status == ContractStatus.Proposed) |
|
139 | 139 | { |
|
140 |
if (ImGui.Button(" |
|
|
140 | if (ImGui.Button("Accept")) | |
|
141 | 141 | { |
|
142 | 142 | System.Console.Write(string.Format("{0} selected", ContractsWindow.selected)); |
|
143 | 143 |
You need to be logged in to leave comments.
Login now