X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=_UIImplementation.pde;h=ac28fd6a9a96d00d333819809d2584cb71616ca9;hb=1d0de60d419a93bd266808c76b2e4c66e2fe1ce4;hp=bd303ddac38f23581015b264fa9bfef19e0b253f;hpb=42a424d76b6ed74ffae8d72215e912d66a3d4bf6;p=SugarCubes.git diff --git a/_UIImplementation.pde b/_UIImplementation.pde index bd303dd..ac28fd6 100644 --- a/_UIImplementation.pde +++ b/_UIImplementation.pde @@ -142,6 +142,11 @@ class UICrossfader extends UIWindow { (displayMode = new UIToggleSet(4, titleHeight + 36, w-9, 20)).setOptions(new String[] { "A", "COMP", "B" }).setValue("COMP").addToContainer(this); } + public UICrossfader setDisplayMode(String value) { + displayMode.setValue(value); + return this; + } + public String getDisplayMode() { return displayMode.getValue(); }