#include "dirscanner.h" void playItem::play(){ //ofLogNotice() << "playing----->"<0; } void playItem::draw(){ if (image.isAllocated()){ //ofEnableAlphaBlending(); //ofSetColor(255,255,255,1.0); image.draw(0,0,1080*FACTOR,1920*FACTOR); //ofDisableAlphaBlending(); if (ofGetElapsedTimef()-startTime>5.0){ isFinished=true; } } //if (video.isLoaded()){ //video.update(); if (video.getIsOpen()){ video.draw(0,0,1080*FACTOR,1920*FACTOR); //ofLogNotice() << "position: "<=railwaytime){ ofLogNotice() << "got slot: "<=railwaytime||slots[i].start<=railwaytime){ ofLogNotice() << "got slot: "<getSlotForTime(); ofLogNotice() << "got slot: "<-1){ ofLogNotice() << "entering slot "<slots[slot].path; load(scanner->slots[slot].path); } else { ofLogNotice() << "leaving slot"; } currentslot=slot; } else { ofLogNotice() << "reusing slot: "<