This commit is contained in:
Frank Skare
2021-05-07 11:12:25 +02:00
parent 2ee4c1e647
commit b38c7cf834
10 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
// This script observes the fullscreen property and
// draws text on screen when the property changes.
using mpvnet;
class Script
{
Core core;
public Script()
{
core = Core.core;
core.observe_property_bool("fullscreen", FullscreenChange);
}
void FullscreenChange(bool value)
{
core.commandv("show-text", "fullscreen: " + value);
}
}