feat(scoreboard): unit 6 — it is a LAYER (source type, strip geometry, resolver, session hook)
Adds SourceType.Scoreboard with the same per-scene eye toggle, drag and presence as every other element — 'prominent on BRB, dialled back on Live' is geometry, not a second mechanism. Default geometry is the strip: 1920 wide, 56 tall, bottom edge. The output resolver returns the presenter's cached frame exactly like the chat box and alert box do, and every session start clears the tallies. Preview publication writes one shared WriteableBitmap on the UI thread (the pump thread must never touch one), refreshed only when a displayed value moves. Guard: ScoreboardLayerTests pins the enum member, the geometry constants, the resolver case and the session hook, so the layer cannot quietly become a special widget.
This commit is contained in:
@@ -85,6 +85,9 @@ public abstract class SceneElement : INotifyPropertyChanged
|
||||
/// <summary>True only for AlertBox-type sources. Gates stream alerts properties panel.</summary>
|
||||
public virtual bool IsAlertBox => false;
|
||||
public virtual bool IsTextOverlay => false;
|
||||
|
||||
/// <summary>The scoreboard strip: a per-scene, full-width bar.</summary>
|
||||
public virtual bool IsScoreboard => false;
|
||||
public virtual bool IsMediaSource => false;
|
||||
public virtual bool IsLiveCapture => false;
|
||||
public virtual bool IsBackground { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user