![]() |
FJMovieEditor Pré-Alpha
A GTK video editor for GNOME. Designed for Artists to do, special effects, compositing and animation.
|
00001 /* 00002 A GTK video editor Designed for Artists to do, special effects, compositing and animation. 00003 Copyright (C) 2011 Fabio J. Gonzalez 00004 00005 This program is free software: you can redistribute it and/or modify 00006 it under the terms of the GNU General Public License as published by 00007 the Free Software Foundation, either version 3 of the License, or 00008 (at your option) any later version. 00009 00010 This program is distributed in the hope that it will be useful, 00011 but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 GNU General Public License for more details. 00014 00015 You should have received a copy of the GNU General Public License 00016 along with this program. If not, see <http://www.gnu.org/licenses/>. 00017 */ 00018 00026 #ifndef FJME_BASIC_H 00027 #define FJME_BASIC_H 1 00028 00029 #define true TRUE 00030 #define false FALSE 00031 00032 struct Main; 00033 typedef struct Main Main; 00034 00040 extern Main* cmain; 00041 00042 #include "plug-ins.h" 00043 #include <gdk/gdk.h> 00044 #include <glib.h> 00045 #define GETTEXT_PACKAGE "gtk20" 00046 #include <glib/gi18n-lib.h> 00047 00056 gdouble mod(gdouble x); 00057 00071 struct Main { 00072 00073 int argc; 00074 char** argv; 00075 00084 GList* AnimatedValues; 00085 00092 GList* layers; 00093 00099 guint32 frame; 00100 00106 guint32 fps; 00107 00116 GList* plugins; 00117 00118 00126 GList* shareds; 00127 00128 union { 00129 00130 struct { 00138 GdkPixbuf* screen; 00139 00145 gdouble* audio; 00146 }; 00147 00153 VideoFrame video; 00154 }; 00155 00163 Layer* active_layer; 00164 00170 guint32 end; 00171 00177 iPlugin* running_plugin; 00178 00179 gboolean playing; 00180 }; 00181 00182 #endif