Commit 48b2c8c1 authored by Roman Haefeli's avatar Roman Haefeli
Browse files

make cursor respect pages correctly

parent 94621e5d
#N canvas 0 99 788 545 10;
#N canvas 0 99 788 555 10;
#X msg 524 105 clear;
#X obj 206 22 loadbang;
#X obj 206 45 \$0;
......@@ -638,7 +638,7 @@ id float gid float vel float dur float c float vis;
#X obj 481 314 r \$0.init;
#X msg 481 337 const 0;
#X obj 461 78 t b b b b b;
#N canvas 162 155 640 399 create_guis 0;
#N canvas 162 155 643 410 create_guis 0;
#X obj 355 32 inlet;
#X obj 408 312 outlet;
#X obj 16 346 list store;
......@@ -924,12 +924,12 @@ id float gid float vel float dur float c float vis;
#X connect 10 1 8 0;
#X connect 10 2 9 1;
#X restore 53 169 pd show.selector.state;
#N canvas 250 344 450 300 create.cursor 0;
#X obj 45 103 r \$0.canvastopmargin;
#X obj 22 139 f;
#N canvas 250 344 403 392 create.cursor 0;
#X obj 45 194 r \$0.canvastopmargin;
#X obj 22 96 f;
#X obj 22 26 inlet;
#X obj 22 223 list prepend \$0;
#X obj 22 274 outlet;
#X obj 22 303 list prepend \$0;
#X obj 22 354 outlet;
#N canvas 0 99 398 252 h 0;
#X obj 23 14 inlet;
#X obj 23 37 b;
......@@ -944,13 +944,18 @@ id float gid float vel float dur float c float vis;
#X connect 4 0 5 0;
#X connect 5 0 2 0;
#X connect 6 0 4 1;
#X restore 68 128 pd h;
#X restore 68 219 pd h;
#X obj 22 49 t b b;
#X obj 22 192 pack f f f 1;
#X obj 37 79 r \$0.canvasleftmargin;
#X msg 22 251 scalar \$1.cursor \$2 \$3 \$4 \$5;
#X obj 22 272 pack f f f 1;
#X obj 37 73 r \$0.canvasleftmargin;
#X msg 22 331 scalar \$1.cursor \$2 \$3 \$4 \$5;
#X obj 91 248 r \$0.cursor.show;
#X obj 60 150 *;
#X obj 96 153 r \$0.stepviswidth;
#X obj 60 118 r \$0.cursor.pos;
#X obj 22 148 +;
#X connect 0 0 7 1;
#X connect 1 0 7 0;
#X connect 1 0 14 0;
#X connect 2 0 6 0;
#X connect 3 0 9 0;
#X connect 5 0 7 2;
......@@ -959,6 +964,11 @@ id float gid float vel float dur float c float vis;
#X connect 7 0 3 0;
#X connect 8 0 1 1;
#X connect 9 0 4 0;
#X connect 10 0 7 3;
#X connect 11 0 14 1;
#X connect 12 0 11 1;
#X connect 13 0 11 0;
#X connect 14 0 7 0;
#X restore 383 245 pd create.cursor;
#N canvas 357 99 501 367 cursor.state 0;
#X obj 258 107 until;
......@@ -1197,7 +1207,7 @@ hilite float id symbol label;
#N canvas 489 158 450 300 cursor-template 0;
#X obj 22 149 s \$0.cursor.send;
#X obj 22 108 struct \$0.cursor float x float y float h float vis;
#X obj 18 20 drawpolygon -v vis 900 1 0 0 0 h;
#X obj 18 20 drawpolygon -v vis 900 2 0 0 0 h;
#X connect 1 0 0 0;
#X restore 8 168 pd cursor-template;
#N canvas 0 99 392 164 mode.button-template 0;
......@@ -1675,7 +1685,7 @@ certain period.;
#X connect 12 0 5 1;
#X restore 19 159 pd note.change.gid;
#X obj 285 430 text define \$0.sequence;
#N canvas 136 170 508 372 sequencer 0;
#N canvas 136 170 513 371 sequencer 0;
#N canvas 0 281 404 347 note.create 0;
#X obj 24 39 route note;
#X obj 24 62 route create;
......@@ -1943,18 +1953,24 @@ certain period.;
#X restore 248 189 pd play.notes.by.index;
#X obj 248 36 inlet;
#X obj 248 309 outlet;
#N canvas 0 157 370 260 cursor 0;
#N canvas 0 157 416 332 cursor 0;
#X obj 23 15 inlet;
#X obj 23 54 moses 0;
#X obj 62 86 moses 0;
#X obj 62 109 t b a;
#X msg 62 153 1;
#X msg 23 153 0;
#X obj 23 191 change -1;
#X obj 23 214 s \$0.cursor.show;
#X obj 129 214 s \$0.cursor.pos;
#X obj 101 60 r \$0.stepsperpage;
#X connect 0 0 1 0;
#X obj 23 117 moses 0;
#X obj 62 149 moses 0;
#X obj 62 172 t b a;
#X msg 62 216 1;
#X msg 23 216 0;
#X obj 23 254 change -1;
#X obj 23 277 s \$0.cursor.show;
#X obj 129 277 s \$0.cursor.pos;
#X obj 174 15 r \$0.stepsperpage;
#X obj 107 15 r \$0.page;
#X obj 174 38 t b a a;
#X obj 107 70 *;
#X obj 23 92 -;
#X obj 23 67 f;
#X obj 35 43 r \$0.redraw;
#X connect 0 0 14 0;
#X connect 1 0 5 0;
#X connect 1 1 2 0;
#X connect 2 0 3 0;
......@@ -1964,7 +1980,15 @@ certain period.;
#X connect 4 0 6 0;
#X connect 5 0 6 0;
#X connect 6 0 7 0;
#X connect 9 0 2 1;
#X connect 9 0 11 0;
#X connect 10 0 12 0;
#X connect 11 0 12 0;
#X connect 11 1 12 1;
#X connect 11 2 2 1;
#X connect 12 0 13 1;
#X connect 13 0 1 0;
#X connect 14 0 13 0;
#X connect 15 0 14 0;
#X restore 342 107 pd cursor;
#N canvas 258 224 446 426 bag 0;
#X obj 35 33 inlet;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment