Add Glanceboard depth setting

This commit is contained in:
James Babcock committed 2026-09-24 02:26:20 -07:00
1 parent 71c1971992
commit 915f155819
29 files changed
+262 -50

No files matched your search

@@ -291,6 +291,8 @@ class FaceclawBleCommunicator(context: Context, rightAddress: String?, leftAddre
fun setSurfaceVisible(id: String, visible: Boolean) = core.setSurfaceVisible(id, visible)
fun setSurfaceDepth(id: String, depth: Int) = core.setSurfaceDepth(id, depth)
fun setScreenBlanked(blanked: Boolean) = core.setScreenBlanked(blanked)
fun configureSurface(id: String?, x: Int, y: Int, width: Int, height: Int, zOrder: Int, transparency: Int) =
@@ -87,6 +87,10 @@ class FaceclawPreviewCompositor(context: Context) {
compositor.setSurfaceVisible(id, visible)
}
fun setSurfaceDepth(id: String, depth: Int) {
compositor.setSurfaceDepth(id, depth)
}
/** Blank (screen off) or unblank the output; retained surface state survives. */
fun setScreenBlanked(blanked: Boolean) {
compositor.setBlanked(blanked)