aboutsummaryrefslogtreecommitdiff
path: root/buttonColor-help.pd
blob: 5f78282fc4deeb2c4fc23b68133ad4b64e8681e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#N canvas 78 109 637 527 10;
#X obj 46 156 hradio 15 1 0 3 \$0bs \$0br button 3 7 0 9 -1 -1 -261684
0;
#X obj 47 59 hradio 15 1 0 3 \$0rs \$0rr empty 3 7 0 10 -1 -13184 -1
0;
#X text 39 -21 description: colorize a custom button on presses.;
#X floatatom 143 183 5 0 0 0 - - -;
#X floatatom 145 129 5 0 0 0 - - -;
#X obj 150 56 buttonColor \$0rs \$0rr -1 -800000 -1 -1.67117e+07 -1
-1 250;
#X floatatom 148 36 5 0 0 0 - - -;
#X floatatom 150 79 5 0 0 0 - - -;
#X text 52 228 Argument 1: GUI element's send symbol;
#X text 52 244 Argument 2: GUI element's receive symbol;
#X text 52 260 Argument 3: color of background when unpressed;
#X text 52 276 Argument 4: color of front when unpressed;
#X text 52 292 Argument 5: color of label when unpressed;
#X text 52 308 Argument 6: color of background when pressed;
#X text 52 324 Argument 7: color of front when pressed;
#X text 52 340 Argument 8: color of label when pressed;
#X text 52 356 Argument 9: release time;
#X text 186 107 For the color coding conversion \, see:;
#X obj 422 110 mtl/rgbToNum;
#X obj 144 158 buttonColor \$0bs \$0br -1 -1 -1.677e+07 -1 -1 -1 250
;
#X text 44 -1 tags: ui;
#X connect 4 0 19 0;
#X connect 5 0 7 0;
#X connect 6 0 5 0;
#X connect 19 0 3 0;