mirror of
https://github.com/ZuneDev/ZuneShell.dll.git
synced 2026-07-27 13:11:51 -07:00
Update UIX
This commit is contained in:
@@ -95,7 +95,7 @@ namespace ZuneHost.Wpf
|
|||||||
|
|
||||||
private void DecompileResults_CollectionChanged(object sender, System.Collections.Specialized.NotifyCollectionChangedEventArgs e)
|
private void DecompileResults_CollectionChanged(object sender, System.Collections.Specialized.NotifyCollectionChangedEventArgs e)
|
||||||
{
|
{
|
||||||
foreach (var result in e.NewItems.Cast<Microsoft.Iris.Debug.DecompilationResult>())
|
foreach (var result in e.NewItems.Cast<Microsoft.Iris.Debug.Data.DecompilationResult>())
|
||||||
{
|
{
|
||||||
int count = 0;
|
int count = 0;
|
||||||
string ctx = Path.GetFileName(result.Context.Substring(result.Context.LastIndexOf('/') + 1));
|
string ctx = Path.GetFileName(result.Context.Substring(result.Context.LastIndexOf('/') + 1));
|
||||||
@@ -117,7 +117,7 @@ namespace ZuneHost.Wpf
|
|||||||
|
|
||||||
private void DataMappingModels_CollectionChanged(object sender, System.Collections.Specialized.NotifyCollectionChangedEventArgs e)
|
private void DataMappingModels_CollectionChanged(object sender, System.Collections.Specialized.NotifyCollectionChangedEventArgs e)
|
||||||
{
|
{
|
||||||
foreach (var item in e.NewItems.Cast<Microsoft.Iris.Debug.DataMappingModel>())
|
foreach (var item in e.NewItems.Cast<Microsoft.Iris.Debug.Data.DataMappingModel>())
|
||||||
{
|
{
|
||||||
FileInfo file = new(Path.Combine(dataMapDir, $"{item.Provider}_{item.Type}.cs"));
|
FileInfo file = new(Path.Combine(dataMapDir, $"{item.Provider}_{item.Type}.cs"));
|
||||||
if (file.Exists) file.Delete();
|
if (file.Exists) file.Delete();
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ using System.Threading;
|
|||||||
|
|
||||||
namespace ZuneUI
|
namespace ZuneUI
|
||||||
{
|
{
|
||||||
|
[Serializable]
|
||||||
public class MousePosition : ModelItem
|
public class MousePosition : ModelItem
|
||||||
{
|
{
|
||||||
private int _x;
|
private int _x;
|
||||||
@@ -98,6 +99,8 @@ namespace ZuneUI
|
|||||||
x = y = 0;
|
x = y = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public override string ToString() => $"{{MousePosition ({X}, {Y})}}";
|
||||||
|
|
||||||
[DllImport("User32.dll")]
|
[DllImport("User32.dll")]
|
||||||
private static extern bool GetCursorPos(out POINT lpPoint);
|
private static extern bool GetCursorPos(out POINT lpPoint);
|
||||||
|
|
||||||
|
|||||||
+1
-1
Submodule libs/MicrosoftIris updated: 2a8f203df5...cce208c4ea
Reference in New Issue
Block a user