diff options
author | Juha Vehviläinen <jusu@users.sourceforge.net> | 2002-07-06 17:50:18 +0000 |
---|---|---|
committer | Juha Vehviläinen <jusu@users.sourceforge.net> | 2002-07-06 17:50:18 +0000 |
commit | 4d64e4cd434426234a5c313c151cd79b6afc299e (patch) | |
tree | 5c23dd6acc65b869741d3bb9d33912d74bb7407d /Plugins/green.cpp |
*** empty log message ***svn2git-root
svn path=/trunk/Framestein/; revision=27
Diffstat (limited to 'Plugins/green.cpp')
-rw-r--r-- | Plugins/green.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Plugins/green.cpp b/Plugins/green.cpp new file mode 100644 index 0000000..c66e3e6 --- /dev/null +++ b/Plugins/green.cpp @@ -0,0 +1,14 @@ +// this is just an example of using the pixels-class.. + +#include "plugin.h" +#include "pixels.h" + +void perform_effect(_frame f, _args a) +{ + pixels p(f); + while(!p.eof()) + { + p.putrgb(0, p.green(), 0); + p.next(); + } +} |