Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (35) Code (2) Doc (12) Quark (21) SCDoc ↗ Forum ↗ Google ↗
  1. SGUI Quark

    ... font, <>themes, <currentTheme; var <view, >action; *initClass { themes= ( dark: QPalette.dark.highlight_(Color.green(1, 0.75)), light: QPalette.light.highlight_(Color.green(0.5, 0.5)), default: QPalette.auto(Color.white, Color.white).highli ...

  2. MoscaUtils Quark

    ... 731112119E+00, -0.850650808352E+00 ]; *palette { if (palette.isNil) { palette = QPalette.auto(Color.fromHexString("#1d1c1a"), Color.new255( 200, 200, 200 )); palette.setColor(Color.new255( 200, 200, 200 ), 'window'); palette.setColor(Color. ...

  3. OssiaGui Quark

    ... hub.com/OSSIA/score.git) */ + OSSIA { *palette { if (palette.isNil) { palette = QPalette.auto(Color.fromHexString("#222222"), Color.fromHexString("#1d1c1a")); palette.setColor(Color.fromHexString("#c0c0c0c0"), 'windowText'); palette.setColo ...

  4. ddwSnippets Quark

    ... rawFunc_({ |view| Pen.stringCenteredIn(modStr, view.bounds.moveTo(0, 0), color: QPalette.system.color(\windowText)); }); window.front; cond.hang; // wait for key window.close; window = Window("Confirm hotkey", Rect.aboutPoint(Window.screenB ...

  5. GUI-Introduction Doc

    ... plete set of colors used to draw the views is represented by a palette (see the QPalette class). Using a palette, you can define (most of) the appearance of the whole GUI in one go. In the following example, clicking on the button will swit ...

  6. NodeSnapshot Quark

    ... \bottomRight ); sv.controls[controlName] = valueField = (TextField() .palette_(QPalette().window_(Color.clear).base_(Color.clear)) .maxHeight_(14) .minWidth_(230) .maxWidth_(230) .stringColor_(QtGUI.palette.highlightText) .font_(font.copy. ...

  7. WFSLib Quark

    ... inGUI.skins[ mode ] ? UChainGUI.skins[ \light ]; QtGUI.palette = UChainGUI.skin.qPalette ?? { QPalette.light }; if( refresh ) { UScoreEditorGUI.all.copy.do({ |editor| var score; score = editor.score; editor.askForSave_( false ); editor.clos ...

  8. edit-gui Quark

    ... .().do { |key| ~view.tryPerform(key.asSetter, key.envirGet); }; ~view.palette = QPalette.system.baseText_(~stringColor).base_(~background); // save time for platform lookup // this is to detect ctrl-C and ctrl-v // but in OSX, it's cmd-c an ...

  9. View Doc

    ... effect, other colors will be inherited from the parent view's palette. See also QPalette: -hasColor . When getting a palette, it will return a new copy of the view's palette every time. Therefore, if you wish to change the view's palette, y ...

  10. FoaXformDisplay Quark

    ... ).background_(chainColor) .layout_(VLayout().margins_(5)); sfWin.view.palette_( QPalette.dark .setColor(Color.gray, \base) .setColor(Color.gray, \alternateBase) ) .background_(xfColor) .layout_(VLayout(uv, ctlv).margins_(0)); this.prDefineD ...

prev 1 2 3 4 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow