Description:
Tweak contract window.
Commit status:
[Not Reviewed]
References:
Comments:
0 Commit comments 0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
Add another comment

r247:fc471135813e -

@@ -61,6 +61,31
61 61
62 62
63 63 ImGui.Separator();
64 switch (status)
65 {
66 case ContractStatus.Proposed:
67 ImGui.TextColored(new Num.Vector4(0.25f, 0.25f, 0.95f, 1f), status.ToString());
68 break;
69 case ContractStatus.Active:
70 case ContractStatus.Accepted:
71 ImGui.TextColored(new Num.Vector4(0.25f, 0.95f, 0.25f, 1f), status.ToString());
72 break;
73 case ContractStatus.Rejected:
74 case ContractStatus.Broken:
75 case ContractStatus.Expired:
76 // if (ContractsWindow.show_all)
77 // {
78
79 // ImGui.TextColored(new Num.Vector4(0.95f, 0.25f, 0.25f, 1f), contract.status.ToString());
80 // }
81 ImGui.TextColored(new Num.Vector4(0.95f, 0.25f, 0.25f, 1f), status.ToString());
82 break;
83 case ContractStatus.Completed:
84 ImGui.TextColored(new Num.Vector4(0.25f, 0.25f, 0.25f, 1f), status.ToString());
85 break;
86 default:
87 break;
88 }
64 89 ImGui.Text(string.Format("Amount: ${0}/mo.", amount));
65 90
66 91 if (delta_trees != null)
@@ -118,7 +143,6
118 143
119 144 }
120 145
121 ImGui.Separator();
122 146 if (ImGui.Button("Okay"))
123 147 {
124 148 newShow = false;
You need to be logged in to leave comments. Login now