X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.0%2Fcinelerra%2Fcwindow.h;fp=cinelerra-5.0%2Fcinelerra%2Fcwindow.h;h=0000000000000000000000000000000000000000;hb=30bdb85eb33a8ee7ba675038a86c6be59c43d7bd;hp=0badfedd58ebe09aabe51c72ab01e8cd750bc0c8;hpb=52fcc46226f9df46f9ce9d0566dc568455a7db0b;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.0/cinelerra/cwindow.h b/cinelerra-5.0/cinelerra/cwindow.h deleted file mode 100644 index 0badfedd..00000000 --- a/cinelerra-5.0/cinelerra/cwindow.h +++ /dev/null @@ -1,91 +0,0 @@ - -/* - * CINELERRA - * Copyright (C) 2008 Adam Williams - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - */ - -#ifndef CWINDOW_H -#define CWINDOW_H - -#include "auto.inc" -#include "autos.inc" -#include "cplayback.inc" -#include "ctracking.inc" -#include "cwindowgui.inc" -#include "floatauto.inc" -#include "mwindow.inc" -#include "remotecontrol.h" -#include "thread.h" -#include "track.inc" - -class CWindow : public Thread -{ -public: - CWindow(MWindow *mwindow); - ~CWindow(); - - void create_objects(); -// Position is inclusive of the other 2 - void update(int position, - int overlays, - int tool_window, - int operation = 0, - int timebar = 0); - void run(); - Track* calculate_affected_track(); -// Get keyframe for editing in the CWindow. -// create - if 0 forces automatic creation to be off -// if 1 uses automatic creation option to create -// created - set to 1 if an auto was created -// redraw - redraw MWindow overlays if 1 - Auto* calculate_affected_auto(Autos *autos, - int create = 1, - int *created = 0, - int redraw = 1); -// Same as before. Provide 0 to Auto arguments to have them ignored. - void calculate_affected_autos(FloatAuto **x_auto, - FloatAuto **y_auto, - FloatAuto **z_auto, - Track *track, - int use_camera, - int create_x, - int create_y, - int create_z); - void show_window(); - void hide_window(); - int update_position(double position); - - int destination; - MWindow *mwindow; - CWindowGUI *gui; - - CTracking *playback_cursor; - CPlayback *playback_engine; -}; - -class CWindowRemoteHandler : public RemoteHandler -{ - int last_key; -public: - int remote_process_key(RemoteControl *remote_control, int key); - - CWindowRemoteHandler(RemoteControl *remote_control); - ~CWindowRemoteHandler(); -}; - -#endif