-
... 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 ...
-
... 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. ...
-
... 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 ...
-
... 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 ...
-
... 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 ...
-
... \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. ...
-
... 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 ...
-
... .().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 ...
-
... 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 ...
-
... ).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 ...