tahoma2d/toonz/sources/include/tfxparam.h
Shinya Kitaoka 3bfa549e8b remove "using"
- using std::string;
- using std::wstring;
- using std::ostream;
- using std::istream;
- using std::iostream;
- using std::ostrstream;
- using std::istrstream;
- using std::fstream;
2016-04-21 16:23:15 +09:00

18 lines
313 B
C++

#ifndef TFXPARAM_INCLUDED
#define TFXPARAM_INCLUDED
// #include "tcommon.h"
#include "tfx.h"
#include "tparamcontainer.h"
template <class T>
void bindParam(TFx *fx, std::string name, T &var, bool hidden = false)
{
fx->getParams()->add(new TParamVarT<T>(name, var, hidden));
var->addObserver(fx);
}
#endif