mirror of
https://gitlab.acidiclight.dev/sociallydistant/sociallydistant.git
synced 2025-01-22 09:31:47 -05:00
Add support for clipboard
Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>
This commit is contained in:
parent
1d15be232e
commit
5cca93ffa3
7 changed files with 6 additions and 19 deletions
|
@ -12,7 +12,7 @@
|
|||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="MonoGame.Framework.DesktopGL" Version="1.0.0.172" />
|
||||
<PackageReference Include="MonoGame.Framework.DesktopGL" Version="1.0.0.176" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
|
|
@ -1,14 +0,0 @@
|
|||
namespace AcidicGUI;
|
||||
|
||||
public static class Clipboard
|
||||
{
|
||||
public static string GetText()
|
||||
{
|
||||
return SdlPlatform.GetClipboardText();
|
||||
}
|
||||
|
||||
public static void SetText(string text)
|
||||
{
|
||||
SdlPlatform.SetClipboardText(text);
|
||||
}
|
||||
}
|
|
@ -2138,7 +2138,7 @@ public class SimpleTerminal
|
|||
case SelectionSnap.SnapWord:
|
||||
/*
|
||||
* Snap around if the word wraps around at the end or
|
||||
* beginning of a line.
|
||||
* begi nning of a line.
|
||||
*/
|
||||
prevgp = Tline(y).Glyphs[x];
|
||||
prevdelim = Isdelim(prevgp.Character);
|
||||
|
|
|
@ -6,6 +6,7 @@ using AcidicGUI.TextRendering;
|
|||
using AcidicGUI.Widgets;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Input;
|
||||
using MonoGame.Framework.Utilities;
|
||||
using SociallyDistant.Core.Modules;
|
||||
using SociallyDistant.Core.OS.Devices;
|
||||
using SociallyDistant.Core.OS.Network.MessageTransport;
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
<PackageReference Include="AutoPipeline" Version="0.0.2" />
|
||||
<PackageReference Include="FuzzySharp" Version="2.0.2" />
|
||||
<PackageReference Include="JetBrains.Annotations" Version="2024.2.0" />
|
||||
<PackageReference Include="MonoGame.Content.Builder.Task" Version="1.0.0.172" />
|
||||
<PackageReference Include="MonoGame.Content.Builder.Task" Version="1.0.0.176" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
<PackageReference Include="FontStashSharp.Base" Version="$(FontStashSharpBaseVersion)" />
|
||||
<PackageReference Include="FontStashSharp.Rasterizers.StbTrueTypeSharp" Version="$(FontStashSharpBaseVersion)" />
|
||||
<PackageReference Include="Cyotek.Drawing.BitmapFont" Version="$(CyotekDrawingBitmapFontVersion)" />
|
||||
<PackageReference Include="MonoGame.Framework.DesktopGL" Version="1.0.0.172" />
|
||||
<PackageReference Include="MonoGame.Framework.DesktopGL" Version="1.0.0.176" />
|
||||
<PackageReference Include="StbImageSharp" Version="$(StbImageSharpVersion)" />
|
||||
</ItemGroup>
|
||||
|
||||
|
|
|
@ -47,7 +47,7 @@
|
|||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="ImGui.NET" Version="1.90.1.1" />
|
||||
<PackageReference Include="MonoGame.Framework.DesktopGL" Version="1.0.0.172" />
|
||||
<PackageReference Include="MonoGame.Framework.DesktopGL" Version="1.0.0.176" />
|
||||
</ItemGroup>
|
||||
|
||||
<Target Name="RestoreDotnetTools" BeforeTargets="Restore">
|
||||
|
|
Loading…
Reference in a new issue