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.
 
 

31 lines
514 B

// SetTexMapDrawMode
// Sets draw mode of the texture mapping state
// Created by Krisjanis Rijnieks 2016-09-16
#pragma once
#include "BaseCmd.h"
#include "TextureMappingMode.h"
namespace ofx {
namespace piMapper {
class TextureMappingMode;
class SetTexMapDrawModeCmd : public BaseUndoCmd {
public:
SetTexMapDrawModeCmd(TextureMappingMode * s, int m);
void exec();
void undo();
private:
TextureMappingMode * _state;
int _oldMode;
int _newMode;
};
} // namespace piMapper
} // namespace ofx