-
... ne on unicode value from keystroke // arrow keys, pass to default action of the view who has focus now (63232..63235) -> { |instance, view, char, modifiers, unicode, keycode| view.defaultKeyDownAction(char, modifiers, unicode); nil // means ...
-
... tead\n" .postf( device ) }; this.class.addDevices( [ device ] ); ^device; } makeView { |parent, bounds, label, action, resize| var multipleActions = action.size > 0; var vw; var ctrl; var fillPopUp; this.class.refreshDevices; vw = EZPopUpMe ...
-
... lter: GUI Tutorial Creating and manipulating a Window Inserting and positioning views Keyboard input And that's it! Tutorials/GUI | Tutorials > GUI'>GUI GUI: Create a Window How to create a window, insert widgets and map keyboard inputs to ...
-
... ersion 1.29 *******/ /** thanks to sciss for cross platform bug fixes **/ TabbedView { var labels, labelColors, unfocusedColors, backgrounds, stringColor, stringFocusedColor, <>focusActions, <>unfocusActions, <focusFrameColor, <>unfocusTabs ...
-
... pitchCircle.drawSet(chord); chord.postln; win.refresh; }) .keyDownAction_({arg view, key, mod, unicode; if (unicode == 13, { play.valueAction_(1) }); if (unicode == 16rF700, { view.valueAction_(view.value+1) }); if (unicode == 16rF703, { v ...
-
... ".postln },200,40,Color.white,Color.black); ) // accepting drags by setting the view.receiveDrag handler // the list view by default gives an integer when dragging from it. // here i am making the action button accept dragged integers. ( Sh ...
-
CompositeView: Filter: Description Class methods Inherited class methods Instance methods Inherited instance methods Examples Coordinate System Keydown Bubbling Decorators Hiding / Swapping Nested Example Classes | GUI > Views'>Views Compos ...
-
/******* by jostM http://www.glyph.de *******/ FancySlider : SCViewHolder { var <>step, <value=0, <>sliderColor,<>knobColor, <>orientation=\horizontal,<>frameColor,<>drawFunc, <>thumbSize=7; var <>shift_scale = 100.0, <>ctrl_scale = 10.0, < ...
-
// 2008 by till bovermann // bielefeld university ScatterView2 { var <plot, <>background; var <>colorFunc; var <>itemSize = 2, <>drawMethod = \lineTo; //var <>highlightColor, <highlightItem, <>highlightSize, <>isHighlight, <>drawAxis, <>dra ...
-
... . //LET'S PAINT! //select all and compile var point, red, green, blue, win, view, colorTask; var redChange, greenChange, blueChange; //rate of change of each color component //mess around with these values for fun //zero results i ...