X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=simple.lua;h=451146d1839638ae8a314bcc807497cca26200c0;hb=9e47a2f661b9d292598ef0277e507458e3dad62f;hp=1e895d5cb69f7a236b6932b5846b7f95e721104d;hpb=fc92430551c5a5f7787db62bc42d5192610859b4;p=nageru diff --git a/simple.lua b/simple.lua index 1e895d5..451146d 100644 --- a/simple.lua +++ b/simple.lua @@ -77,6 +77,15 @@ function channel_signal(channel) end end +-- API ENTRY POINT +-- Called every frame. Returns the color (if any) to paint around the given +-- channel. Returns a CSS color (typically to mark live and preview signals); +-- "transparent" is allowed. +-- Will never be called for live (0) or preview (1). +function channel_color(channel) + return "transparent" +end + -- API ENTRY POINT -- Returns if a given channel supports setting white balance (starting from 2). -- Called only once for each channel, at the start of the program.