X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=_UIImplementation.pde;h=ac28fd6a9a96d00d333819809d2584cb71616ca9;hb=88a3dd9e2f04a56b85544fa04887a80084412cd9;hp=bd303ddac38f23581015b264fa9bfef19e0b253f;hpb=09068c4e6698a8a3afa2ce2b264fb495bc621e81;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(); }