mirror of
https://github.com/Facepunch/sbox-public.git
synced 2026-01-18 03:09:45 -05:00
This commit imports the C# engine code and game files, excluding C++ source code. [Source-Commit: ceb3d758046e50faa6258bc3b658a30c97743268]
37 lines
463 B
C#
37 lines
463 B
C#
namespace Sandbox.UI;
|
|
|
|
public class CopyEvent : PanelEvent
|
|
{
|
|
internal CopyEvent() : base( "copy" )
|
|
{
|
|
|
|
}
|
|
}
|
|
|
|
public class CutEvent : PanelEvent
|
|
{
|
|
internal CutEvent() : base( "cut" )
|
|
{
|
|
|
|
}
|
|
}
|
|
|
|
public class PasteEvent : PanelEvent
|
|
{
|
|
public string ClipboardValue { get; set; }
|
|
|
|
internal PasteEvent( string value ) : base( "copy" )
|
|
{
|
|
ClipboardValue = value;
|
|
}
|
|
}
|
|
|
|
public class EscapeEvent : PanelEvent
|
|
{
|
|
|
|
internal EscapeEvent() : base( "escape" )
|
|
{
|
|
|
|
}
|
|
}
|