-
... ground_(GUI.skins.redFrik.background); } } RedButton { *new {|parent, bounds ...strings| var fnt= RedFont.new; if(strings.isEmpty, {strings= [""]}); bounds= bounds ?? {Point(strings.maxValue{|x| x.bounds(fnt).width}+14, 14)}; ^Button(parent ...
-
+ Document { // search the document for a string, in either direction // returns starting position of string or nil if not found before BOF or stopString scanFor { arg start, string, stopString, increment = 1; var whileFlag = true, foundFla ...
-
+ Document { // search the document for a string, in either direction // returns starting position of string or nil if not found before BOF or stopString scanFor { arg start, string, stopString, increment = 1; var whileFlag = true, foundFla ...
-
# Strang Experimental nested String and UTF-8 support for SuperCollider Thanks to Laureano López. The String class doesn't support UTF-8 (http://en.wikipedia.org/wiki/UTF-8), while most editors that are in use with SuperCollider allow strin ...
-
... ound = colors[\board]; Document.postColor = colors[\waiting]; Document.listener.stringColor = colors[\waiting]; Document.listener.font = colors[\font]; } *new { |broadcastAddr, blackboardName = '/blackboard'| ^super.newCopyArgs(broadcastAdd ...
-
// wslib 2006 SCAlert { classvar <>modal = true; var <string, <buttons, <>actions, <color, <iconName, iconView, stringView, <buttonViews; var <window, <>onCloseIndex = -1; var <>buttonClosesWindow = true; string_ { |newString = ""| string = ...
-
... ndow.front; // .alwaysOnTop_(true); layout = VLayout(8); textView = TextView() .string_(storedText) // Inicializar el TextView con el texto almacenado .editable_(false) .palette_(QPalette.dark); layout.add(textView); window.layout = layout; ...
-
... n Quanoon The Quanoon is an instrument inspired by the Arabic quanoon. It has 8 strings (a scale) that can be played by the Wacom-tablet (where pressure is mapped to amplitude). Each string is divided up into 5 octaves. The length of the no ...
-
String:collect part of wslib change of behaviour for String:collect. String:collect ( function ) instead of only accepting Chars as output of the function, String:collect now accepts anything as output, and adds it to the output string. Thi ...
-
... ction | parent.put(key, Dictionary.new); parent[key].put(\title, StaticText.new.string_(title).maxHeight_(30).align_(\center)); parent[key].put(\value,label); parent[key].put(\element, Knob().value_(default).action_({|a| parent[key][\value] ...