scripts moved from wiki to folder

This commit is contained in:
Frank Skare
2020-04-21 04:31:10 +02:00
parent d82874409d
commit 4d55423fc7
4 changed files with 50 additions and 5 deletions

View File

@@ -0,0 +1,17 @@
// Draws text on screen when full screen property changes.
using mpvnet;
class Script
{
public Script()
{
mp.observe_property_bool("fullscreen", FullscreenChange);
}
void FullscreenChange(bool value)
{
mp.commandv("show-text", "fullscreen: " + value.ToString());
}
}