ofxPiMapper fixed for C++17 & oF 12.0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

29 lines
511 B

// ToggleAnimatedSourceCmd
// Toggles playing of animated (video, gif) sources
// Created by Krisjanis Rijnieks 2016-06-10
#pragma once
#include "BaseCmd.h"
#include "BaseSurface.h"
#include "SourceType.h"
#include "VideoSource.h"
namespace ofx {
namespace piMapper {
class ToggleAnimatedSourceCmd : public BaseUndoCmd {
public:
ToggleAnimatedSourceCmd(BaseSurface * surface);
void exec();
void undo();
private:
BaseSurface * _surface;
};
} // namespace piMapper
} // namespace ofx