new/reworked audio plugins ported from hv72 compressor/multi/reverb, glyph workaround...
[goodguy/cinelerra.git] / cinelerra-5.1 / guicast / arraylist.h
index ef27522f55b2f6077e3f7c0ec8e6887978ff5f75..602557f53f38e3249595582f0ae4003c4b69c84b 100644 (file)
@@ -46,6 +46,17 @@ public:
                while( ++n<total ) values[n-1]=values[n];
                remove();
        }
+       void remove_block(int i, int n) {
+               if( i >= total ) return;
+               for( n+=i; n<total; ) values[i++] = values[n++];
+               total = i;
+       }
+       void remove_object_block(int i, int n) {
+               if( i >= total ) return;
+               for( n+=i; n<total; ) { del_value(i); values[i++] = values[n++]; }
+               for( n=i; n<total; ++n ) del_value(n);
+               total = i;
+       }
        void remove(TYPE value) {
                int out = 0;
                for( int in=0; in<total; ++in )