00001 /* 00002 * PIAVE - PIAVE Is A Video Editor 00003 * 00004 * Copyright (C) 2002 Rolf Dubitzky, rolf@dubitzky.de 00005 */ 00006 00007 /* 00008 * This program is free software; you can redistribute it and/or modify 00009 * it under the terms of the GNU General Public License as published by 00010 * the Free Software Foundation; either version 2 of the License, or 00011 * (at your option) any later version. 00012 * 00013 * This program is distributed in the hope that it will be useful, 00014 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00016 * GNU General Public License for more details. 00017 * 00018 * You should have received a copy of the GNU General Public License 00019 * along with this program; if not, write to the Free Software Foundation, 00020 * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00021 */ 00022 00023 00029 #if ! defined( FILETER_HH ) 00030 #define FILTER_HH 00031 00032 // PIAVE 00033 #include "operatorbase.hh" 00034 00035 namespace PIAVE { 00036 00037 struct FrameDecorP : OperatorProperty 00038 { 00039 FrameDecorP( Time t=0 ) : 00040 OperatorProperty( t ), 00041 width( 5 ), feather( 5 ), color( Color::white ) {} 00042 int width; 00043 int feather; 00044 Color color; 00045 }; 00046 00047 class FrameDecor : public UnaryPathOp<FrameDecorP> 00048 { 00049 public: 00050 FrameDecor() : UnaryPathOp<FrameDecorP>( "FrameDecor" ) {}; 00051 virtual void renderFrame( Frame & f, Time t ); 00052 }; 00053 00054 }; 00055 00056 #endif