Description:
Add start of dialog.
Commit status:
[Not Reviewed]
References:
Comments:
0 Commit comments 0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
Add another comment

r18:cc98ce039e4f -

@@ -1,4 +1,4
1 // <autogenerated />
1 // <autogenerated />
2 using System;
2 using System;
3 using System.Reflection;
3 using System.Reflection;
4 [assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.5", FrameworkDisplayName = ".NET Framework 4.5")]
4 [assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.5", FrameworkDisplayName = ".NET Framework 4.5")]
1 NO CONTENT: modified file, binary diff hidden
NO CONTENT: modified file, binary diff hidden
1 NO CONTENT: modified file, binary diff hidden
NO CONTENT: modified file, binary diff hidden
This diff has been collapsed as it changes many lines, (585 lines changed) Show them Hide them
@@ -2,57 +2,8
2 "version": 3,
2 "version": 3,
3 "targets": {
3 "targets": {
4 ".NETFramework,Version=v4.5": {
4 ".NETFramework,Version=v4.5": {
5 "Microsoft.NETFramework.ReferenceAssemblies/1.0.0": {
6 "type": "package",
7 "dependencies": {
8 "Microsoft.NETFramework.ReferenceAssemblies.net45": "1.0.0"
9 }
10 },
11 "Microsoft.NETFramework.ReferenceAssemblies.net45/1.0.0": {
12 "type": "package",
13 "build": {
14 "build/Microsoft.NETFramework.ReferenceAssemblies.net45.targets": {}
15 }
16 },
17 "FNA/1.0.0": {
5 "FNA/1.0.0": {
18 "type": "project",
6 "type": "project",
19 "framework": ".NETFramework,Version=v4.0",
20 "compile": {
21 "bin/placeholder/FNA.dll": {}
22 },
23 "runtime": {
24 "bin/placeholder/FNA.dll": {}
25 }
26 }
27 },
28 ".NETStandard,Version=v2.0": {
29 "Microsoft.NETCore.Platforms/1.1.0": {
30 "type": "package",
31 "compile": {
32 "lib/netstandard1.0/_._": {}
33 },
34 "runtime": {
35 "lib/netstandard1.0/_._": {}
36 }
37 },
38 "NETStandard.Library/2.0.3": {
39 "type": "package",
40 "dependencies": {
41 "Microsoft.NETCore.Platforms": "1.1.0"
42 },
43 "compile": {
44 "lib/netstandard1.0/_._": {}
45 },
46 "runtime": {
47 "lib/netstandard1.0/_._": {}
48 },
49 "build": {
50 "build/netstandard2.0/NETStandard.Library.targets": {}
51 }
52 },
53 "FNA/1.0.0": {
54 "type": "project",
55 "framework": ".NETStandard,Version=v2.0",
56 "compile": {
7 "compile": {
57 "bin/placeholder/FNA.dll": {}
8 "bin/placeholder/FNA.dll": {}
58 },
9 },
@@ -63,493 +14,15
63 }
14 }
64 },
15 },
65 "libraries": {
16 "libraries": {
66 "Microsoft.NETCore.Platforms/1.1.0": {
67 "sha512": "kz0PEW2lhqygehI/d6XsPCQzD7ff7gUJaVGPVETX611eadGsA3A877GdSlU0LRVMCTH/+P3o2iDTak+S08V2+A==",
68 "type": "package",
69 "path": "microsoft.netcore.platforms/1.1.0",
70 "files": [
71 ".nupkg.metadata",
72 ".signature.p7s",
73 "ThirdPartyNotices.txt",
74 "dotnet_library_license.txt",
75 "lib/netstandard1.0/_._",
76 "microsoft.netcore.platforms.1.1.0.nupkg.sha512",
77 "microsoft.netcore.platforms.nuspec",
78 "runtime.json"
79 ]
80 },
81 "Microsoft.NETFramework.ReferenceAssemblies/1.0.0": {
82 "sha512": "7D2TMufjGiowmt0E941kVoTIS+GTNzaPopuzM1/1LSaJAdJdBrVP0SkZW7AgDd0a2U1DjsIeaKG1wxGVBNLDMw==",
83 "type": "package",
84 "path": "microsoft.netframework.referenceassemblies/1.0.0",
85 "files": [
86 ".nupkg.metadata",
87 ".signature.p7s",
88 "microsoft.netframework.referenceassemblies.1.0.0.nupkg.sha512",
89 "microsoft.netframework.referenceassemblies.nuspec"
90 ]
91 },
92 "Microsoft.NETFramework.ReferenceAssemblies.net45/1.0.0": {
93 "sha512": "f7XMQsZFaoc3w8Vg3VQ3FHuU2C9vf0Ng5EAV4gzdNWDerPM/OmrzccLj15eI1wCLLXj4jk8+lKsbonzJeyXgQQ==",
94 "type": "package",
95 "path": "microsoft.netframework.referenceassemblies.net45/1.0.0",
96 "files": [
97 ".nupkg.metadata",
98 ".signature.p7s",
99 "build/.NETFramework/v4.5/Accessibility.dll",
100 "build/.NETFramework/v4.5/Accessibility.xml",
101 "build/.NETFramework/v4.5/CustomMarshalers.dll",
102 "build/.NETFramework/v4.5/CustomMarshalers.xml",
103 "build/.NETFramework/v4.5/Facades/System.Collections.Concurrent.dll",
104 "build/.NETFramework/v4.5/Facades/System.Collections.dll",
105 "build/.NETFramework/v4.5/Facades/System.ComponentModel.Annotations.dll",
106 "build/.NETFramework/v4.5/Facades/System.ComponentModel.EventBasedAsync.dll",
107 "build/.NETFramework/v4.5/Facades/System.ComponentModel.dll",
108 "build/.NETFramework/v4.5/Facades/System.Diagnostics.Contracts.dll",
109 "build/.NETFramework/v4.5/Facades/System.Diagnostics.Debug.dll",
110 "build/.NETFramework/v4.5/Facades/System.Diagnostics.Tools.dll",
111 "build/.NETFramework/v4.5/Facades/System.Diagnostics.Tracing.dll",
112 "build/.NETFramework/v4.5/Facades/System.Dynamic.Runtime.dll",
113 "build/.NETFramework/v4.5/Facades/System.Globalization.dll",
114 "build/.NETFramework/v4.5/Facades/System.IO.dll",
115 "build/.NETFramework/v4.5/Facades/System.Linq.Expressions.dll",
116 "build/.NETFramework/v4.5/Facades/System.Linq.Parallel.dll",
117 "build/.NETFramework/v4.5/Facades/System.Linq.Queryable.dll",
118 "build/.NETFramework/v4.5/Facades/System.Linq.dll",
119 "build/.NETFramework/v4.5/Facades/System.Net.NetworkInformation.dll",
120 "build/.NETFramework/v4.5/Facades/System.Net.Primitives.dll",
121 "build/.NETFramework/v4.5/Facades/System.Net.Requests.dll",
122 "build/.NETFramework/v4.5/Facades/System.ObjectModel.dll",
123 "build/.NETFramework/v4.5/Facades/System.Reflection.Emit.ILGeneration.dll",
124 "build/.NETFramework/v4.5/Facades/System.Reflection.Emit.Lightweight.dll",
125 "build/.NETFramework/v4.5/Facades/System.Reflection.Emit.dll",
126 "build/.NETFramework/v4.5/Facades/System.Reflection.Extensions.dll",
127 "build/.NETFramework/v4.5/Facades/System.Reflection.Primitives.dll",
128 "build/.NETFramework/v4.5/Facades/System.Reflection.dll",
129 "build/.NETFramework/v4.5/Facades/System.Resources.ResourceManager.dll",
130 "build/.NETFramework/v4.5/Facades/System.Runtime.Extensions.dll",
131 "build/.NETFramework/v4.5/Facades/System.Runtime.InteropServices.WindowsRuntime.dll",
132 "build/.NETFramework/v4.5/Facades/System.Runtime.InteropServices.dll",
133 "build/.NETFramework/v4.5/Facades/System.Runtime.Numerics.dll",
134 "build/.NETFramework/v4.5/Facades/System.Runtime.Serialization.Json.dll",
135 "build/.NETFramework/v4.5/Facades/System.Runtime.Serialization.Primitives.dll",
136 "build/.NETFramework/v4.5/Facades/System.Runtime.Serialization.Xml.dll",
137 "build/.NETFramework/v4.5/Facades/System.Runtime.dll",
138 "build/.NETFramework/v4.5/Facades/System.Security.Principal.dll",
139 "build/.NETFramework/v4.5/Facades/System.ServiceModel.Duplex.dll",
140 "build/.NETFramework/v4.5/Facades/System.ServiceModel.Http.dll",
141 "build/.NETFramework/v4.5/Facades/System.ServiceModel.NetTcp.dll",
142 "build/.NETFramework/v4.5/Facades/System.ServiceModel.Primitives.dll",
143 "build/.NETFramework/v4.5/Facades/System.ServiceModel.Security.dll",
144 "build/.NETFramework/v4.5/Facades/System.Text.Encoding.Extensions.dll",
145 "build/.NETFramework/v4.5/Facades/System.Text.Encoding.dll",
146 "build/.NETFramework/v4.5/Facades/System.Text.RegularExpressions.dll",
147 "build/.NETFramework/v4.5/Facades/System.Threading.Tasks.Parallel.dll",
148 "build/.NETFramework/v4.5/Facades/System.Threading.Tasks.dll",
149 "build/.NETFramework/v4.5/Facades/System.Threading.dll",
150 "build/.NETFramework/v4.5/Facades/System.Xml.ReaderWriter.dll",
151 "build/.NETFramework/v4.5/Facades/System.Xml.XDocument.dll",
152 "build/.NETFramework/v4.5/Facades/System.Xml.XmlSerializer.dll",
153 "build/.NETFramework/v4.5/ISymWrapper.dll",
154 "build/.NETFramework/v4.5/ISymWrapper.xml",
155 "build/.NETFramework/v4.5/Microsoft.Activities.Build.dll",
156 "build/.NETFramework/v4.5/Microsoft.Activities.Build.xml",
157 "build/.NETFramework/v4.5/Microsoft.Build.Conversion.v4.0.dll",
158 "build/.NETFramework/v4.5/Microsoft.Build.Conversion.v4.0.xml",
159 "build/.NETFramework/v4.5/Microsoft.Build.Engine.dll",
160 "build/.NETFramework/v4.5/Microsoft.Build.Engine.xml",
161 "build/.NETFramework/v4.5/Microsoft.Build.Framework.dll",
162 "build/.NETFramework/v4.5/Microsoft.Build.Framework.xml",
163 "build/.NETFramework/v4.5/Microsoft.Build.Tasks.v4.0.dll",
164 "build/.NETFramework/v4.5/Microsoft.Build.Tasks.v4.0.xml",
165 "build/.NETFramework/v4.5/Microsoft.Build.Utilities.v4.0.dll",
166 "build/.NETFramework/v4.5/Microsoft.Build.Utilities.v4.0.xml",
167 "build/.NETFramework/v4.5/Microsoft.Build.dll",
168 "build/.NETFramework/v4.5/Microsoft.Build.xml",
169 "build/.NETFramework/v4.5/Microsoft.CSharp.dll",
170 "build/.NETFramework/v4.5/Microsoft.CSharp.xml",
171 "build/.NETFramework/v4.5/Microsoft.JScript.dll",
172 "build/.NETFramework/v4.5/Microsoft.JScript.xml",
173 "build/.NETFramework/v4.5/Microsoft.VisualBasic.Compatibility.Data.dll",
174 "build/.NETFramework/v4.5/Microsoft.VisualBasic.Compatibility.Data.xml",
175 "build/.NETFramework/v4.5/Microsoft.VisualBasic.Compatibility.dll",
176 "build/.NETFramework/v4.5/Microsoft.VisualBasic.Compatibility.xml",
177 "build/.NETFramework/v4.5/Microsoft.VisualBasic.dll",
178 "build/.NETFramework/v4.5/Microsoft.VisualBasic.xml",
179 "build/.NETFramework/v4.5/Microsoft.VisualC.STLCLR.dll",
180 "build/.NETFramework/v4.5/Microsoft.VisualC.STLCLR.xml",
181 "build/.NETFramework/v4.5/Microsoft.VisualC.dll",
182 "build/.NETFramework/v4.5/Microsoft.VisualC.xml",
183 "build/.NETFramework/v4.5/PermissionSets/FullTrust.xml",
184 "build/.NETFramework/v4.5/PermissionSets/Internet.xml",
185 "build/.NETFramework/v4.5/PermissionSets/LocalIntranet.xml",
186 "build/.NETFramework/v4.5/PresentationBuildTasks.dll",
187 "build/.NETFramework/v4.5/PresentationBuildTasks.xml",
188 "build/.NETFramework/v4.5/PresentationCore.dll",
189 "build/.NETFramework/v4.5/PresentationCore.xml",
190 "build/.NETFramework/v4.5/PresentationFramework.Aero.dll",
191 "build/.NETFramework/v4.5/PresentationFramework.Aero.xml",
192 "build/.NETFramework/v4.5/PresentationFramework.Aero2.dll",
193 "build/.NETFramework/v4.5/PresentationFramework.AeroLite.dll",
194 "build/.NETFramework/v4.5/PresentationFramework.Classic.dll",
195 "build/.NETFramework/v4.5/PresentationFramework.Classic.xml",
196 "build/.NETFramework/v4.5/PresentationFramework.Luna.dll",
197 "build/.NETFramework/v4.5/PresentationFramework.Luna.xml",
198 "build/.NETFramework/v4.5/PresentationFramework.Royale.dll",
199 "build/.NETFramework/v4.5/PresentationFramework.Royale.xml",
200 "build/.NETFramework/v4.5/PresentationFramework.dll",
201 "build/.NETFramework/v4.5/PresentationFramework.xml",
202 "build/.NETFramework/v4.5/ReachFramework.dll",
203 "build/.NETFramework/v4.5/ReachFramework.xml",
204 "build/.NETFramework/v4.5/RedistList/FrameworkList.xml",
205 "build/.NETFramework/v4.5/System.Activities.Core.Presentation.dll",
206 "build/.NETFramework/v4.5/System.Activities.Core.Presentation.xml",
207 "build/.NETFramework/v4.5/System.Activities.DurableInstancing.dll",
208 "build/.NETFramework/v4.5/System.Activities.DurableInstancing.xml",
209 "build/.NETFramework/v4.5/System.Activities.Presentation.dll",
210 "build/.NETFramework/v4.5/System.Activities.Presentation.xml",
211 "build/.NETFramework/v4.5/System.Activities.dll",
212 "build/.NETFramework/v4.5/System.Activities.xml",
213 "build/.NETFramework/v4.5/System.AddIn.Contract.dll",
214 "build/.NETFramework/v4.5/System.AddIn.Contract.xml",
215 "build/.NETFramework/v4.5/System.AddIn.dll",
216 "build/.NETFramework/v4.5/System.AddIn.xml",
217 "build/.NETFramework/v4.5/System.ComponentModel.Composition.Registration.dll",
218 "build/.NETFramework/v4.5/System.ComponentModel.Composition.dll",
219 "build/.NETFramework/v4.5/System.ComponentModel.Composition.xml",
220 "build/.NETFramework/v4.5/System.ComponentModel.DataAnnotations.dll",
221 "build/.NETFramework/v4.5/System.ComponentModel.DataAnnotations.xml",
222 "build/.NETFramework/v4.5/System.Configuration.Install.dll",
223 "build/.NETFramework/v4.5/System.Configuration.Install.xml",
224 "build/.NETFramework/v4.5/System.Configuration.dll",
225 "build/.NETFramework/v4.5/System.Configuration.xml",
226 "build/.NETFramework/v4.5/System.Core.dll",
227 "build/.NETFramework/v4.5/System.Core.xml",
228 "build/.NETFramework/v4.5/System.Data.DataSetExtensions.dll",
229 "build/.NETFramework/v4.5/System.Data.DataSetExtensions.xml",
230 "build/.NETFramework/v4.5/System.Data.Entity.Design.dll",
231 "build/.NETFramework/v4.5/System.Data.Entity.Design.xml",
232 "build/.NETFramework/v4.5/System.Data.Entity.dll",
233 "build/.NETFramework/v4.5/System.Data.Entity.xml",
234 "build/.NETFramework/v4.5/System.Data.Linq.dll",
235 "build/.NETFramework/v4.5/System.Data.Linq.xml",
236 "build/.NETFramework/v4.5/System.Data.OracleClient.dll",
237 "build/.NETFramework/v4.5/System.Data.OracleClient.xml",
238 "build/.NETFramework/v4.5/System.Data.Services.Client.dll",
239 "build/.NETFramework/v4.5/System.Data.Services.Client.xml",
240 "build/.NETFramework/v4.5/System.Data.Services.Design.dll",
241 "build/.NETFramework/v4.5/System.Data.Services.Design.xml",
242 "build/.NETFramework/v4.5/System.Data.Services.dll",
243 "build/.NETFramework/v4.5/System.Data.Services.xml",
244 "build/.NETFramework/v4.5/System.Data.SqlXml.dll",
245 "build/.NETFramework/v4.5/System.Data.SqlXml.xml",
246 "build/.NETFramework/v4.5/System.Data.dll",
247 "build/.NETFramework/v4.5/System.Data.xml",
248 "build/.NETFramework/v4.5/System.Deployment.dll",
249 "build/.NETFramework/v4.5/System.Deployment.xml",
250 "build/.NETFramework/v4.5/System.Design.dll",
251 "build/.NETFramework/v4.5/System.Design.xml",
252 "build/.NETFramework/v4.5/System.Device.dll",
253 "build/.NETFramework/v4.5/System.Device.xml",
254 "build/.NETFramework/v4.5/System.DirectoryServices.AccountManagement.dll",
255 "build/.NETFramework/v4.5/System.DirectoryServices.AccountManagement.xml",
256 "build/.NETFramework/v4.5/System.DirectoryServices.Protocols.dll",
257 "build/.NETFramework/v4.5/System.DirectoryServices.Protocols.xml",
258 "build/.NETFramework/v4.5/System.DirectoryServices.dll",
259 "build/.NETFramework/v4.5/System.DirectoryServices.xml",
260 "build/.NETFramework/v4.5/System.Drawing.Design.dll",
261 "build/.NETFramework/v4.5/System.Drawing.Design.xml",
262 "build/.NETFramework/v4.5/System.Drawing.dll",
263 "build/.NETFramework/v4.5/System.Drawing.xml",
264 "build/.NETFramework/v4.5/System.EnterpriseServices.Thunk.dll",
265 "build/.NETFramework/v4.5/System.EnterpriseServices.Wrapper.dll",
266 "build/.NETFramework/v4.5/System.EnterpriseServices.dll",
267 "build/.NETFramework/v4.5/System.EnterpriseServices.xml",
268 "build/.NETFramework/v4.5/System.IO.Compression.FileSystem.dll",
269 "build/.NETFramework/v4.5/System.IO.Compression.FileSystem.xml",
270 "build/.NETFramework/v4.5/System.IO.Compression.dll",
271 "build/.NETFramework/v4.5/System.IO.Compression.xml",
272 "build/.NETFramework/v4.5/System.IO.Log.dll",
273 "build/.NETFramework/v4.5/System.IO.Log.xml",
274 "build/.NETFramework/v4.5/System.IdentityModel.Selectors.dll",
275 "build/.NETFramework/v4.5/System.IdentityModel.Selectors.xml",
276 "build/.NETFramework/v4.5/System.IdentityModel.Services.dll",
277 "build/.NETFramework/v4.5/System.IdentityModel.Services.xml",
278 "build/.NETFramework/v4.5/System.IdentityModel.dll",
279 "build/.NETFramework/v4.5/System.IdentityModel.xml",
280 "build/.NETFramework/v4.5/System.Management.Instrumentation.dll",
281 "build/.NETFramework/v4.5/System.Management.Instrumentation.xml",
282 "build/.NETFramework/v4.5/System.Management.dll",
283 "build/.NETFramework/v4.5/System.Management.xml",
284 "build/.NETFramework/v4.5/System.Messaging.dll",
285 "build/.NETFramework/v4.5/System.Messaging.xml",
286 "build/.NETFramework/v4.5/System.Net.Http.WebRequest.dll",
287 "build/.NETFramework/v4.5/System.Net.Http.WebRequest.xml",
288 "build/.NETFramework/v4.5/System.Net.Http.dll",
289 "build/.NETFramework/v4.5/System.Net.Http.xml",
290 "build/.NETFramework/v4.5/System.Net.dll",
291 "build/.NETFramework/v4.5/System.Net.xml",
292 "build/.NETFramework/v4.5/System.Numerics.dll",
293 "build/.NETFramework/v4.5/System.Numerics.xml",
294 "build/.NETFramework/v4.5/System.Printing.dll",
295 "build/.NETFramework/v4.5/System.Printing.xml",
296 "build/.NETFramework/v4.5/System.Reflection.Context.dll",
297 "build/.NETFramework/v4.5/System.Reflection.Context.xml",
298 "build/.NETFramework/v4.5/System.Runtime.Caching.dll",
299 "build/.NETFramework/v4.5/System.Runtime.Caching.xml",
300 "build/.NETFramework/v4.5/System.Runtime.DurableInstancing.dll",
301 "build/.NETFramework/v4.5/System.Runtime.DurableInstancing.xml",
302 "build/.NETFramework/v4.5/System.Runtime.Remoting.dll",
303 "build/.NETFramework/v4.5/System.Runtime.Remoting.xml",
304 "build/.NETFramework/v4.5/System.Runtime.Serialization.Formatters.Soap.dll",
305 "build/.NETFramework/v4.5/System.Runtime.Serialization.Formatters.Soap.xml",
306 "build/.NETFramework/v4.5/System.Runtime.Serialization.dll",
307 "build/.NETFramework/v4.5/System.Runtime.Serialization.xml",
308 "build/.NETFramework/v4.5/System.Security.dll",
309 "build/.NETFramework/v4.5/System.Security.xml",
310 "build/.NETFramework/v4.5/System.ServiceModel.Activation.dll",
311 "build/.NETFramework/v4.5/System.ServiceModel.Activation.xml",
312 "build/.NETFramework/v4.5/System.ServiceModel.Activities.dll",
313 "build/.NETFramework/v4.5/System.ServiceModel.Activities.xml",
314 "build/.NETFramework/v4.5/System.ServiceModel.Channels.dll",
315 "build/.NETFramework/v4.5/System.ServiceModel.Channels.xml",
316 "build/.NETFramework/v4.5/System.ServiceModel.Discovery.dll",
317 "build/.NETFramework/v4.5/System.ServiceModel.Discovery.xml",
318 "build/.NETFramework/v4.5/System.ServiceModel.Routing.dll",
319 "build/.NETFramework/v4.5/System.ServiceModel.Routing.xml",
320 "build/.NETFramework/v4.5/System.ServiceModel.Web.dll",
321 "build/.NETFramework/v4.5/System.ServiceModel.Web.xml",
322 "build/.NETFramework/v4.5/System.ServiceModel.dll",
323 "build/.NETFramework/v4.5/System.ServiceModel.xml",
324 "build/.NETFramework/v4.5/System.ServiceProcess.dll",
325 "build/.NETFramework/v4.5/System.ServiceProcess.xml",
326 "build/.NETFramework/v4.5/System.Speech.dll",
327 "build/.NETFramework/v4.5/System.Speech.xml",
328 "build/.NETFramework/v4.5/System.Threading.Tasks.Dataflow.xml",
329 "build/.NETFramework/v4.5/System.Transactions.dll",
330 "build/.NETFramework/v4.5/System.Transactions.xml",
331 "build/.NETFramework/v4.5/System.Web.Abstractions.dll",
332 "build/.NETFramework/v4.5/System.Web.ApplicationServices.dll",
333 "build/.NETFramework/v4.5/System.Web.ApplicationServices.xml",
334 "build/.NETFramework/v4.5/System.Web.DataVisualization.Design.dll",
335 "build/.NETFramework/v4.5/System.Web.DataVisualization.dll",
336 "build/.NETFramework/v4.5/System.Web.DataVisualization.xml",
337 "build/.NETFramework/v4.5/System.Web.DynamicData.Design.dll",
338 "build/.NETFramework/v4.5/System.Web.DynamicData.Design.xml",
339 "build/.NETFramework/v4.5/System.Web.DynamicData.dll",
340 "build/.NETFramework/v4.5/System.Web.DynamicData.xml",
341 "build/.NETFramework/v4.5/System.Web.Entity.Design.dll",
342 "build/.NETFramework/v4.5/System.Web.Entity.Design.xml",
343 "build/.NETFramework/v4.5/System.Web.Entity.dll",
344 "build/.NETFramework/v4.5/System.Web.Entity.xml",
345 "build/.NETFramework/v4.5/System.Web.Extensions.Design.dll",
346 "build/.NETFramework/v4.5/System.Web.Extensions.Design.xml",
347 "build/.NETFramework/v4.5/System.Web.Extensions.dll",
348 "build/.NETFramework/v4.5/System.Web.Extensions.xml",
349 "build/.NETFramework/v4.5/System.Web.Mobile.dll",
350 "build/.NETFramework/v4.5/System.Web.Mobile.xml",
351 "build/.NETFramework/v4.5/System.Web.RegularExpressions.dll",
352 "build/.NETFramework/v4.5/System.Web.RegularExpressions.xml",
353 "build/.NETFramework/v4.5/System.Web.Routing.dll",
354 "build/.NETFramework/v4.5/System.Web.Services.dll",
355 "build/.NETFramework/v4.5/System.Web.Services.xml",
356 "build/.NETFramework/v4.5/System.Web.dll",
357 "build/.NETFramework/v4.5/System.Web.xml",
358 "build/.NETFramework/v4.5/System.Windows.Controls.Ribbon.dll",
359 "build/.NETFramework/v4.5/System.Windows.Controls.Ribbon.xml",
360 "build/.NETFramework/v4.5/System.Windows.Forms.DataVisualization.Design.dll",
361 "build/.NETFramework/v4.5/System.Windows.Forms.DataVisualization.dll",
362 "build/.NETFramework/v4.5/System.Windows.Forms.DataVisualization.xml",
363 "build/.NETFramework/v4.5/System.Windows.Forms.dll",
364 "build/.NETFramework/v4.5/System.Windows.Forms.xml",
365 "build/.NETFramework/v4.5/System.Windows.Input.Manipulations.dll",
366 "build/.NETFramework/v4.5/System.Windows.Input.Manipulations.xml",
367 "build/.NETFramework/v4.5/System.Windows.Presentation.dll",
368 "build/.NETFramework/v4.5/System.Windows.Presentation.xml",
369 "build/.NETFramework/v4.5/System.Windows.dll",
370 "build/.NETFramework/v4.5/System.Workflow.Activities.dll",
371 "build/.NETFramework/v4.5/System.Workflow.Activities.xml",
372 "build/.NETFramework/v4.5/System.Workflow.ComponentModel.dll",
373 "build/.NETFramework/v4.5/System.Workflow.ComponentModel.xml",
374 "build/.NETFramework/v4.5/System.Workflow.Runtime.dll",
375 "build/.NETFramework/v4.5/System.Workflow.Runtime.xml",
376 "build/.NETFramework/v4.5/System.WorkflowServices.dll",
377 "build/.NETFramework/v4.5/System.WorkflowServices.xml",
378 "build/.NETFramework/v4.5/System.Xaml.dll",
379 "build/.NETFramework/v4.5/System.Xaml.xml",
380 "build/.NETFramework/v4.5/System.Xml.Linq.dll",
381 "build/.NETFramework/v4.5/System.Xml.Linq.xml",
382 "build/.NETFramework/v4.5/System.Xml.Serialization.dll",
383 "build/.NETFramework/v4.5/System.Xml.dll",
384 "build/.NETFramework/v4.5/System.Xml.xml",
385 "build/.NETFramework/v4.5/System.dll",
386 "build/.NETFramework/v4.5/System.xml",
387 "build/.NETFramework/v4.5/UIAutomationClient.dll",
388 "build/.NETFramework/v4.5/UIAutomationClient.xml",
389 "build/.NETFramework/v4.5/UIAutomationClientsideProviders.dll",
390 "build/.NETFramework/v4.5/UIAutomationClientsideProviders.xml",
391 "build/.NETFramework/v4.5/UIAutomationProvider.dll",
392 "build/.NETFramework/v4.5/UIAutomationProvider.xml",
393 "build/.NETFramework/v4.5/UIAutomationTypes.dll",
394 "build/.NETFramework/v4.5/UIAutomationTypes.xml",
395 "build/.NETFramework/v4.5/WindowsBase.dll",
396 "build/.NETFramework/v4.5/WindowsBase.xml",
397 "build/.NETFramework/v4.5/WindowsFormsIntegration.dll",
398 "build/.NETFramework/v4.5/WindowsFormsIntegration.xml",
399 "build/.NETFramework/v4.5/XamlBuildTask.dll",
400 "build/.NETFramework/v4.5/XamlBuildTask.xml",
401 "build/.NETFramework/v4.5/mscorlib.dll",
402 "build/.NETFramework/v4.5/mscorlib.xml",
403 "build/.NETFramework/v4.5/sysglobl.dll",
404 "build/.NETFramework/v4.5/sysglobl.xml",
405 "build/Microsoft.NETFramework.ReferenceAssemblies.net45.targets",
406 "microsoft.netframework.referenceassemblies.net45.1.0.0.nupkg.sha512",
407 "microsoft.netframework.referenceassemblies.net45.nuspec"
408 ]
409 },
410 "NETStandard.Library/2.0.3": {
411 "sha512": "st47PosZSHrjECdjeIzZQbzivYBJFv6P2nv4cj2ypdI204DO+vZ7l5raGMiX4eXMJ53RfOIg+/s4DHVZ54Nu2A==",
412 "type": "package",
413 "path": "netstandard.library/2.0.3",
414 "files": [
415 ".nupkg.metadata",
416 ".signature.p7s",
417 "LICENSE.TXT",
418 "THIRD-PARTY-NOTICES.TXT",
419 "build/netstandard2.0/NETStandard.Library.targets",
420 "build/netstandard2.0/ref/Microsoft.Win32.Primitives.dll",
421 "build/netstandard2.0/ref/System.AppContext.dll",
422 "build/netstandard2.0/ref/System.Collections.Concurrent.dll",
423 "build/netstandard2.0/ref/System.Collections.NonGeneric.dll",
424 "build/netstandard2.0/ref/System.Collections.Specialized.dll",
425 "build/netstandard2.0/ref/System.Collections.dll",
426 "build/netstandard2.0/ref/System.ComponentModel.Composition.dll",
427 "build/netstandard2.0/ref/System.ComponentModel.EventBasedAsync.dll",
428 "build/netstandard2.0/ref/System.ComponentModel.Primitives.dll",
429 "build/netstandard2.0/ref/System.ComponentModel.TypeConverter.dll",
430 "build/netstandard2.0/ref/System.ComponentModel.dll",
431 "build/netstandard2.0/ref/System.Console.dll",
432 "build/netstandard2.0/ref/System.Core.dll",
433 "build/netstandard2.0/ref/System.Data.Common.dll",
434 "build/netstandard2.0/ref/System.Data.dll",
435 "build/netstandard2.0/ref/System.Diagnostics.Contracts.dll",
436 "build/netstandard2.0/ref/System.Diagnostics.Debug.dll",
437 "build/netstandard2.0/ref/System.Diagnostics.FileVersionInfo.dll",
438 "build/netstandard2.0/ref/System.Diagnostics.Process.dll",
439 "build/netstandard2.0/ref/System.Diagnostics.StackTrace.dll",
440 "build/netstandard2.0/ref/System.Diagnostics.TextWriterTraceListener.dll",
441 "build/netstandard2.0/ref/System.Diagnostics.Tools.dll",
442 "build/netstandard2.0/ref/System.Diagnostics.TraceSource.dll",
443 "build/netstandard2.0/ref/System.Diagnostics.Tracing.dll",
444 "build/netstandard2.0/ref/System.Drawing.Primitives.dll",
445 "build/netstandard2.0/ref/System.Drawing.dll",
446 "build/netstandard2.0/ref/System.Dynamic.Runtime.dll",
447 "build/netstandard2.0/ref/System.Globalization.Calendars.dll",
448 "build/netstandard2.0/ref/System.Globalization.Extensions.dll",
449 "build/netstandard2.0/ref/System.Globalization.dll",
450 "build/netstandard2.0/ref/System.IO.Compression.FileSystem.dll",
451 "build/netstandard2.0/ref/System.IO.Compression.ZipFile.dll",
452 "build/netstandard2.0/ref/System.IO.Compression.dll",
453 "build/netstandard2.0/ref/System.IO.FileSystem.DriveInfo.dll",
454 "build/netstandard2.0/ref/System.IO.FileSystem.Primitives.dll",
455 "build/netstandard2.0/ref/System.IO.FileSystem.Watcher.dll",
456 "build/netstandard2.0/ref/System.IO.FileSystem.dll",
457 "build/netstandard2.0/ref/System.IO.IsolatedStorage.dll",
458 "build/netstandard2.0/ref/System.IO.MemoryMappedFiles.dll",
459 "build/netstandard2.0/ref/System.IO.Pipes.dll",
460 "build/netstandard2.0/ref/System.IO.UnmanagedMemoryStream.dll",
461 "build/netstandard2.0/ref/System.IO.dll",
462 "build/netstandard2.0/ref/System.Linq.Expressions.dll",
463 "build/netstandard2.0/ref/System.Linq.Parallel.dll",
464 "build/netstandard2.0/ref/System.Linq.Queryable.dll",
465 "build/netstandard2.0/ref/System.Linq.dll",
466 "build/netstandard2.0/ref/System.Net.Http.dll",
467 "build/netstandard2.0/ref/System.Net.NameResolution.dll",
468 "build/netstandard2.0/ref/System.Net.NetworkInformation.dll",
469 "build/netstandard2.0/ref/System.Net.Ping.dll",
470 "build/netstandard2.0/ref/System.Net.Primitives.dll",
471 "build/netstandard2.0/ref/System.Net.Requests.dll",
472 "build/netstandard2.0/ref/System.Net.Security.dll",
473 "build/netstandard2.0/ref/System.Net.Sockets.dll",
474 "build/netstandard2.0/ref/System.Net.WebHeaderCollection.dll",
475 "build/netstandard2.0/ref/System.Net.WebSockets.Client.dll",
476 "build/netstandard2.0/ref/System.Net.WebSockets.dll",
477 "build/netstandard2.0/ref/System.Net.dll",
478 "build/netstandard2.0/ref/System.Numerics.dll",
479 "build/netstandard2.0/ref/System.ObjectModel.dll",
480 "build/netstandard2.0/ref/System.Reflection.Extensions.dll",
481 "build/netstandard2.0/ref/System.Reflection.Primitives.dll",
482 "build/netstandard2.0/ref/System.Reflection.dll",
483 "build/netstandard2.0/ref/System.Resources.Reader.dll",
484 "build/netstandard2.0/ref/System.Resources.ResourceManager.dll",
485 "build/netstandard2.0/ref/System.Resources.Writer.dll",
486 "build/netstandard2.0/ref/System.Runtime.CompilerServices.VisualC.dll",
487 "build/netstandard2.0/ref/System.Runtime.Extensions.dll",
488 "build/netstandard2.0/ref/System.Runtime.Handles.dll",
489 "build/netstandard2.0/ref/System.Runtime.InteropServices.RuntimeInformation.dll",
490 "build/netstandard2.0/ref/System.Runtime.InteropServices.dll",
491 "build/netstandard2.0/ref/System.Runtime.Numerics.dll",
492 "build/netstandard2.0/ref/System.Runtime.Serialization.Formatters.dll",
493 "build/netstandard2.0/ref/System.Runtime.Serialization.Json.dll",
494 "build/netstandard2.0/ref/System.Runtime.Serialization.Primitives.dll",
495 "build/netstandard2.0/ref/System.Runtime.Serialization.Xml.dll",
496 "build/netstandard2.0/ref/System.Runtime.Serialization.dll",
497 "build/netstandard2.0/ref/System.Runtime.dll",
498 "build/netstandard2.0/ref/System.Security.Claims.dll",
499 "build/netstandard2.0/ref/System.Security.Cryptography.Algorithms.dll",
500 "build/netstandard2.0/ref/System.Security.Cryptography.Csp.dll",
501 "build/netstandard2.0/ref/System.Security.Cryptography.Encoding.dll",
502 "build/netstandard2.0/ref/System.Security.Cryptography.Primitives.dll",
503 "build/netstandard2.0/ref/System.Security.Cryptography.X509Certificates.dll",
504 "build/netstandard2.0/ref/System.Security.Principal.dll",
505 "build/netstandard2.0/ref/System.Security.SecureString.dll",
506 "build/netstandard2.0/ref/System.ServiceModel.Web.dll",
507 "build/netstandard2.0/ref/System.Text.Encoding.Extensions.dll",
508 "build/netstandard2.0/ref/System.Text.Encoding.dll",
509 "build/netstandard2.0/ref/System.Text.RegularExpressions.dll",
510 "build/netstandard2.0/ref/System.Threading.Overlapped.dll",
511 "build/netstandard2.0/ref/System.Threading.Tasks.Parallel.dll",
512 "build/netstandard2.0/ref/System.Threading.Tasks.dll",
513 "build/netstandard2.0/ref/System.Threading.Thread.dll",
514 "build/netstandard2.0/ref/System.Threading.ThreadPool.dll",
515 "build/netstandard2.0/ref/System.Threading.Timer.dll",
516 "build/netstandard2.0/ref/System.Threading.dll",
517 "build/netstandard2.0/ref/System.Transactions.dll",
518 "build/netstandard2.0/ref/System.ValueTuple.dll",
519 "build/netstandard2.0/ref/System.Web.dll",
520 "build/netstandard2.0/ref/System.Windows.dll",
521 "build/netstandard2.0/ref/System.Xml.Linq.dll",
522 "build/netstandard2.0/ref/System.Xml.ReaderWriter.dll",
523 "build/netstandard2.0/ref/System.Xml.Serialization.dll",
524 "build/netstandard2.0/ref/System.Xml.XDocument.dll",
525 "build/netstandard2.0/ref/System.Xml.XPath.XDocument.dll",
526 "build/netstandard2.0/ref/System.Xml.XPath.dll",
527 "build/netstandard2.0/ref/System.Xml.XmlDocument.dll",
528 "build/netstandard2.0/ref/System.Xml.XmlSerializer.dll",
529 "build/netstandard2.0/ref/System.Xml.dll",
530 "build/netstandard2.0/ref/System.dll",
531 "build/netstandard2.0/ref/mscorlib.dll",
532 "build/netstandard2.0/ref/netstandard.dll",
533 "build/netstandard2.0/ref/netstandard.xml",
534 "lib/netstandard1.0/_._",
535 "netstandard.library.2.0.3.nupkg.sha512",
536 "netstandard.library.nuspec"
537 ]
538 },
539 "FNA/1.0.0": {
17 "FNA/1.0.0": {
540 "type": "project",
18 "type": "project",
541 "path": "../../FNA/FNA.Core.csproj",
19 "path": "../../FNA/FNA.csproj",
542 "msbuildProject": "../../FNA/FNA.Core.csproj"
20 "msbuildProject": "../../FNA/FNA.csproj"
543 }
21 }
544 },
22 },
545 "projectFileDependencyGroups": {
23 "projectFileDependencyGroups": {
546 ".NETFramework,Version=v4.5": [
24 ".NETFramework,Version=v4.5": [
547 "FNA >= 1.0.0",
25 "FNA >= 1.0.0"
548 "Microsoft.NETFramework.ReferenceAssemblies >= 1.0.0"
549 ],
550 ".NETStandard,Version=v2.0": [
551 "FNA >= 1.0.0",
552 "NETStandard.Library >= 2.0.3"
553 ]
26 ]
554 },
27 },
555 "packageFolders": {
28 "packageFolders": {
@@ -558,19 +31,17
558 "project": {
31 "project": {
559 "version": "1.0.0",
32 "version": "1.0.0",
560 "restore": {
33 "restore": {
561 "projectUniqueName": "/Users/alys/repos/isometric-park-fna/SpriteFontPlus/src/SpriteFontPlus.FNA.Core.csproj",
34 "projectUniqueName": "/Users/alys/repos/isometric-park-fna/SpriteFontPlus/src/SpriteFontPlus.FNA.csproj",
562 "projectName": "SpriteFontPlus",
35 "projectName": "SpriteFontPlus",
563 "projectPath": "/Users/alys/repos/isometric-park-fna/SpriteFontPlus/src/SpriteFontPlus.FNA.Core.csproj",
36 "projectPath": "/Users/alys/repos/isometric-park-fna/SpriteFontPlus/src/SpriteFontPlus.FNA.csproj",
564 "packagesPath": "/Users/alys/.nuget/packages/",
37 "packagesPath": "/Users/alys/.nuget/packages/",
565 "outputPath": "/Users/alys/repos/isometric-park-fna/SpriteFontPlus/src/obj/",
38 "outputPath": "/Users/alys/repos/isometric-park-fna/SpriteFontPlus/src/obj/",
566 "projectStyle": "PackageReference",
39 "projectStyle": "PackageReference",
567 "crossTargeting": true,
568 "configFilePaths": [
40 "configFilePaths": [
569 "/Users/alys/.nuget/NuGet/NuGet.Config"
41 "/Users/alys/.config/NuGet/NuGet.Config"
570 ],
42 ],
571 "originalTargetFrameworks": [
43 "originalTargetFrameworks": [
572 "net45",
44 "net45"
573 "netstandard2.0"
574 ],
45 ],
575 "sources": {
46 "sources": {
576 "https://api.nuget.org/v3/index.json": {}
47 "https://api.nuget.org/v3/index.json": {}
@@ -579,16 +50,8
579 "net45": {
50 "net45": {
580 "targetAlias": "net45",
51 "targetAlias": "net45",
581 "projectReferences": {
52 "projectReferences": {
582 "/Users/alys/repos/isometric-park-fna/FNA/FNA.Core.csproj": {
53 "/Users/alys/repos/isometric-park-fna/FNA/FNA.csproj": {
583 "projectPath": "/Users/alys/repos/isometric-park-fna/FNA/FNA.Core.csproj"
54 "projectPath": "/Users/alys/repos/isometric-park-fna/FNA/FNA.csproj"
584 }
585 }
586 },
587 "netstandard2.0": {
588 "targetAlias": "netstandard2.0",
589 "projectReferences": {
590 "/Users/alys/repos/isometric-park-fna/FNA/FNA.Core.csproj": {
591 "projectPath": "/Users/alys/repos/isometric-park-fna/FNA/FNA.Core.csproj"
592 }
55 }
593 }
56 }
594 }
57 }
@@ -602,36 +65,6
602 "frameworks": {
65 "frameworks": {
603 "net45": {
66 "net45": {
604 "targetAlias": "net45",
67 "targetAlias": "net45",
605 "dependencies": {
606 "Microsoft.NETFramework.ReferenceAssemblies": {
607 "suppressParent": "All",
608 "target": "Package",
609 "version": "[1.0.0, )",
610 "autoReferenced": true
611 }
612 },
613 "runtimeIdentifierGraphPath": "/usr/local/share/dotnet/sdk/5.0.101/RuntimeIdentifierGraph.json"
614 },
615 "netstandard2.0": {
616 "targetAlias": "netstandard2.0",
617 "dependencies": {
618 "NETStandard.Library": {
619 "suppressParent": "All",
620 "target": "Package",
621 "version": "[2.0.3, )",
622 "autoReferenced": true
623 }
624 },
625 "imports": [
626 "net461",
627 "net462",
628 "net47",
629 "net471",
630 "net472",
631 "net48"
632 ],
633 "assetTargetFallback": true,
634 "warn": true,
635 "runtimeIdentifierGraphPath": "/usr/local/share/dotnet/sdk/5.0.101/RuntimeIdentifierGraph.json"
68 "runtimeIdentifierGraphPath": "/usr/local/share/dotnet/sdk/5.0.101/RuntimeIdentifierGraph.json"
636 }
69 }
637 }
70 }
@@ -1,13 +1,8
1 {
1 {
2 "version": 2,
2 "version": 2,
3 "dgSpecHash": "dhPKFNw3z61lLgG5PTvU/tAz8W8Gveld8QdJGcXz/4LRQNmoXX1loh3ovHxBwpw4TffVugyuIKzijuNDfBZoxg==",
3 "dgSpecHash": "K2eZWc96szHBhsBHLdQISlDUCUoBqbOO/kuQg7JxPZ+7eqqDfW+UGRDZiMDlRv4HxmSNa76l7Elv0ZO48kh6uw==",
4 "success": true,
4 "success": true,
5 "projectFilePath": "/Users/alys/repos/isometric-park-fna/SpriteFontPlus/src/SpriteFontPlus.FNA.Core.csproj",
5 "projectFilePath": "/Users/alys/repos/isometric-park-fna/SpriteFontPlus/src/SpriteFontPlus.FNA.csproj",
6 "expectedPackageFiles": [
6 "expectedPackageFiles": [],
7 "/Users/alys/.nuget/packages/microsoft.netcore.platforms/1.1.0/microsoft.netcore.platforms.1.1.0.nupkg.sha512",
8 "/Users/alys/.nuget/packages/microsoft.netframework.referenceassemblies/1.0.0/microsoft.netframework.referenceassemblies.1.0.0.nupkg.sha512",
9 "/Users/alys/.nuget/packages/microsoft.netframework.referenceassemblies.net45/1.0.0/microsoft.netframework.referenceassemblies.net45.1.0.0.nupkg.sha512",
10 "/Users/alys/.nuget/packages/netstandard.library/2.0.3/netstandard.library.2.0.3.nupkg.sha512"
11 ],
12 "logs": []
7 "logs": []
13 } No newline at end of file
8 }
@@ -27,10 +27,17
27
27
28 private Texture2D _xnaTexture;
28 private Texture2D _xnaTexture;
29 private IntPtr _imGuiTexture;
29 private IntPtr _imGuiTexture;
30 private bool show_test_window;
31
32 public ImFontPtr monoFont;
30
33
31
34
32 public DebugWindow(ImGuiRenderer _imGuiRenderer, GraphicsDevice graphicsDevice)
35 public DebugWindow(ImGuiRenderer _imGuiRenderer, GraphicsDevice graphicsDevice)
33 {
36 {
37 ImGuiIOPtr io = ImGui.GetIO();
38 this.monoFont = io.Fonts.AddFontFromFileTTF(@"Content/iosevka-medium.ttf", 15);
39 _imGuiRenderer.RebuildFontAtlas(); // Required so fonts are available for rendering
40
34
41
35 _xnaTexture = CreateTexture(graphicsDevice, 300, 150, pixel =>
42 _xnaTexture = CreateTexture(graphicsDevice, 300, 150, pixel =>
36 {
43 {
@@ -91,12 +98,12
91 }
98 }
92
99
93
100
94 public virtual void Layout(DebugInfo debugInfo, Dictionary<String, String> additionalInfo, ref bool show_another_window)
101 public virtual void Layout(DebugInfo debugInfo, Dictionary<String, String> additionalInfo, ref bool show)
95 {
102 {
96
103
97 if (show_another_window)
104 if (show)
98 {
105 {
99 ImGui.Begin("Debug", ref show_another_window);
106 ImGui.Begin("Debug", ref show);
100 ImGui.Text(string.Format("fps: {0:F3}", debugInfo.fps));
107 ImGui.Text(string.Format("fps: {0:F3}", debugInfo.fps));
101 ImGui.Text(string.Format("Draw Time: {0:F3}", debugInfo.drawTime.TotalMilliseconds.ToString()));
108 ImGui.Text(string.Format("Draw Time: {0:F3}", debugInfo.drawTime.TotalMilliseconds.ToString()));
102
109
@@ -105,7 +112,10
105
112
106 ImGui.Text(string.Format("Application average {0:F3} ms/frame ({1:F1} FPS", 1000f / ImGui.GetIO().Framerate, ImGui.GetIO().Framerate));
113 ImGui.Text(string.Format("Application average {0:F3} ms/frame ({1:F1} FPS", 1000f / ImGui.GetIO().Framerate, ImGui.GetIO().Framerate));
107
114
108
115 if (ImGui.Button("Test Window"))
116 {
117 this.show_test_window = !this.show_test_window;
118 }
109 if (debugInfo.pastFps.Length >= 1)
119 if (debugInfo.pastFps.Length >= 1)
110 {
120 {
111 ImGui.PlotLines("Frame Rate", ref debugInfo.pastFps[0], debugInfo.pastFps.Length);
121 ImGui.PlotLines("Frame Rate", ref debugInfo.pastFps[0], debugInfo.pastFps.Length);
@@ -113,7 +123,13
113 ImGui.End();
123 ImGui.End();
114
124
115 }
125 }
116
126
127 if (this.show_test_window)
128 {
129 ImGui.SetNextWindowPos(new Num.Vector2(650, 20), ImGuiCond.FirstUseEver);
130 ImGui.ShowDemoWindow(ref show_test_window);
131 }
132
117 }
133 }
118 }
134 }
119 }
135 }
@@ -11,7 +11,7
11 using isometricparkfna;
11 using isometricparkfna;
12 using System.Diagnostics;
12 using System.Diagnostics;
13 using ImGuiNET.SampleProgram.XNA;
13 using ImGuiNET.SampleProgram.XNA;
14
14 using ImGuiNET;
15
15
16 class FNAGame : Game
16 class FNAGame : Game
17 {
17 {
@@ -64,8 +64,8
64 private ImGuiRenderer _imGuiRenderer;
64 private ImGuiRenderer _imGuiRenderer;
65 private DebugWindow debugWindow;
65 private DebugWindow debugWindow;
66 bool show_another_window;
66 bool show_another_window;
67
67 private bool showInitial;
68
68 int messageIndex;
69
69
70 private static void Main(string[] args)
70 private static void Main(string[] args)
71 {
71 {
@@ -107,6 +107,9
107 }
107 }
108 }
108 }
109
109
110 showInitial = true;
111 messageIndex = 0;
112
110 Content.RootDirectory = "Content";
113 Content.RootDirectory = "Content";
111
114
112
115
@@ -119,7 +122,7
119 */
122 */
120 this.IsMouseVisible = true;
123 this.IsMouseVisible = true;
121
124
122 _imGuiRenderer = new ImGuiRenderer(this);
125 _imGuiRenderer = new ImGuiRenderer(this);
123 _imGuiRenderer.RebuildFontAtlas(); // Required so fonts are available for rendering
126 _imGuiRenderer.RebuildFontAtlas(); // Required so fonts are available for rendering
124
127
125 base.Initialize();
128 base.Initialize();
@@ -296,9 +299,9
296 this.camera.ZoomIn();
299 this.camera.ZoomIn();
297 }
300 }
298
301
299 if (keyboardCur.IsKeyDown(Keys.OemBackslash))
302 if (keyboardCur.IsKeyDown(Keys.OemBackslash) && keyboardPrev.IsKeyUp(Keys.OemBackslash))
300 {
303 {
301 this.show_another_window = true;
304 this.show_another_window = !this.show_another_window;
302
305
303 }
306 }
304
307
@@ -701,9 +704,25
701 //Finally, draw the debug window
704 //Finally, draw the debug window
702 _imGuiRenderer.BeforeLayout(gameTime);
705 _imGuiRenderer.BeforeLayout(gameTime);
703 debugWindow.Layout(debugInfo, new Dictionary<string, string>(),ref show_another_window);
706 debugWindow.Layout(debugInfo, new Dictionary<string, string>(),ref show_another_window);
704 _imGuiRenderer.AfterLayout();
705
707
706
708
709 String[] messages = { "Message1", "Message2" };
710
711 if (showInitial && (messageIndex < messages.Length))
712 {
713 ImGui.Begin("Welcome", ref showInitial);
714 ImGui.PushFont(debugWindow.monoFont);
715 ImGui.Text(messages[messageIndex]);
716 if(ImGui.Button("Okay"))
717 {
718 messageIndex++;
719 }
720
721 ImGui.PopFont();
722
723 }
724
725 _imGuiRenderer.AfterLayout();
707
726
708 stopWatch.Stop();
727 stopWatch.Stop();
709 this.drawTime = stopWatch.Elapsed;
728 this.drawTime = stopWatch.Elapsed;
You need to be logged in to leave comments. Login now