Make ctrl+x cut to clipboard
This commit is contained in:
@@ -20,6 +20,7 @@ namespace OpenRA.Platforms.Default
|
||||
MouseButton lastButtonBits = (MouseButton)0;
|
||||
|
||||
public string GetClipboardText() { return SDL.SDL_GetClipboardText(); }
|
||||
public bool SetClipboardText(string text) { return SDL.SDL_SetClipboardText(text) == 0; }
|
||||
|
||||
static MouseButton MakeButton(byte b)
|
||||
{
|
||||
@@ -177,4 +178,4 @@ namespace OpenRA.Platforms.Default
|
||||
ErrorHandler.CheckGlError();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user