/*
* CINELERRA
* Copyright (C) 2008 Adam Williams <broadcast at earthling dot net>
- *
+ *
* 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
- *
+ *
*/
#include "guicast.h"
class TrackSingleFrame : public BC_Radial
{
public:
- TrackSingleFrame(MotionMain *plugin,
- MotionWindow *gui,
- int x,
- int y);
+ TrackSingleFrame(MotionMain *plugin, MotionWindow *gui, int x, int y);
int handle_event();
MotionMain *plugin;
MotionWindow *gui;
class TrackFrameNumber : public BC_TextBox
{
public:
- TrackFrameNumber(MotionMain *plugin,
- MotionWindow *gui,
- int x,
- int y);
+ TrackFrameNumber(MotionMain *plugin, MotionWindow *gui, int x, int y);
int handle_event();
MotionMain *plugin;
MotionWindow *gui;
class TrackPreviousFrame : public BC_Radial
{
public:
- TrackPreviousFrame(MotionMain *plugin,
- MotionWindow *gui,
- int x,
- int y);
+ TrackPreviousFrame(MotionMain *plugin, MotionWindow *gui, int x, int y);
int handle_event();
MotionMain *plugin;
MotionWindow *gui;
class PreviousFrameSameBlock : public BC_Radial
{
public:
- PreviousFrameSameBlock(MotionMain *plugin,
- MotionWindow *gui,
- int x,
- int y);
+ PreviousFrameSameBlock(MotionMain *plugin, MotionWindow *gui, int x, int y);
int handle_event();
MotionMain *plugin;
MotionWindow *gui;
class GlobalRange : public BC_IPot
{
public:
- GlobalRange(MotionMain *plugin,
- int x,
- int y,
- int *value);
+ GlobalRange(MotionMain *plugin, int x, int y, int *value);
int handle_event();
MotionMain *plugin;
int *value;
class RotationRange : public BC_IPot
{
public:
- RotationRange(MotionMain *plugin,
- int x,
- int y);
+ RotationRange(MotionMain *plugin, int x, int y);
int handle_event();
MotionMain *plugin;
};
class RotationCenter : public BC_IPot
{
public:
- RotationCenter(MotionMain *plugin,
- int x,
- int y);
+ RotationCenter(MotionMain *plugin, int x, int y);
int handle_event();
MotionMain *plugin;
};
class BlockSize : public BC_IPot
{
public:
- BlockSize(MotionMain *plugin,
- int x,
- int y,
- int *value);
+ BlockSize(MotionMain *plugin, int x, int y, int *value);
int handle_event();
MotionMain *plugin;
int *value;
class MotionBlockX : public BC_FPot
{
public:
- MotionBlockX(MotionMain *plugin,
- MotionWindow *gui,
- int x,
- int y);
+ MotionBlockX(MotionMain *plugin, MotionWindow *gui, int x, int y);
int handle_event();
MotionWindow *gui;
MotionMain *plugin;
class MotionBlockY : public BC_FPot
{
public:
- MotionBlockY(MotionMain *plugin,
- MotionWindow *gui,
- int x,
- int y);
+ MotionBlockY(MotionMain *plugin, MotionWindow *gui, int x, int y);
int handle_event();
MotionWindow *gui;
MotionMain *plugin;
class MotionBlockXText : public BC_TextBox
{
public:
- MotionBlockXText(MotionMain *plugin,
- MotionWindow *gui,
- int x,
- int y);
+ MotionBlockXText(MotionMain *plugin, MotionWindow *gui, int x, int y);
int handle_event();
MotionWindow *gui;
MotionMain *plugin;
class MotionBlockYText : public BC_TextBox
{
public:
- MotionBlockYText(MotionMain *plugin,
- MotionWindow *gui,
- int x,
- int y);
+ MotionBlockYText(MotionMain *plugin, MotionWindow *gui, int x, int y);
int handle_event();
MotionWindow *gui;
MotionMain *plugin;
class GlobalSearchPositions : public BC_PopupMenu
{
public:
- GlobalSearchPositions(MotionMain *plugin,
- int x,
- int y,
- int w);
+ GlobalSearchPositions(MotionMain *plugin, int x, int y, int w);
void create_objects();
int handle_event();
MotionMain *plugin;
class RotationSearchPositions : public BC_PopupMenu
{
public:
- RotationSearchPositions(MotionMain *plugin,
- int x,
- int y,
- int w);
+ RotationSearchPositions(MotionMain *plugin, int x, int y, int w);
void create_objects();
int handle_event();
MotionMain *plugin;
class MotionMagnitude : public BC_IPot
{
public:
- MotionMagnitude(MotionMain *plugin,
- int x,
- int y);
+ MotionMagnitude(MotionMain *plugin, int x, int y);
int handle_event();
MotionMain *plugin;
};
class MotionRMagnitude : public BC_IPot
{
public:
- MotionRMagnitude(MotionMain *plugin,
- int x,
- int y);
+ MotionRMagnitude(MotionMain *plugin, int x, int y);
int handle_event();
MotionMain *plugin;
};
class MotionReturnSpeed : public BC_IPot
{
public:
- MotionReturnSpeed(MotionMain *plugin,
- int x,
- int y);
+ MotionReturnSpeed(MotionMain *plugin, int x, int y);
int handle_event();
MotionMain *plugin;
};
class MotionRReturnSpeed : public BC_IPot
{
public:
- MotionRReturnSpeed(MotionMain *plugin,
- int x,
- int y);
+ MotionRReturnSpeed(MotionMain *plugin, int x, int y);
int handle_event();
MotionMain *plugin;
};
class MotionDrawVectors : public BC_CheckBox
{
public:
- MotionDrawVectors(MotionMain *plugin,
- MotionWindow *gui,
- int x,
- int y);
+ MotionDrawVectors(MotionMain *plugin, MotionWindow *gui, int x, int y);
int handle_event();
MotionMain *plugin;
MotionWindow *gui;
class AddTrackedFrameOffset : public BC_CheckBox
{
public:
- AddTrackedFrameOffset(MotionMain *plugin,
- MotionWindow *gui,
- int x,
- int y);
+ AddTrackedFrameOffset(MotionMain *plugin, MotionWindow *gui, int x, int y);
int handle_event();
MotionWindow *gui;
MotionMain *plugin;
};
+class MotionTrackingFile : public BC_TextBox
+{
+public:
+ MotionTrackingFile(MotionMain *plugin, const char *filename,
+ MotionWindow *gui, int x, int y);
+ int handle_event();
+ MotionMain *plugin;
+ MotionWindow *gui;
+};
+
class MotionGlobal : public BC_CheckBox
{
public:
- MotionGlobal(MotionMain *plugin,
- MotionWindow *gui,
- int x,
- int y);
+ MotionGlobal(MotionMain *plugin, MotionWindow *gui, int x, int y);
int handle_event();
MotionWindow *gui;
MotionMain *plugin;
class MotionRotate : public BC_CheckBox
{
public:
- MotionRotate(MotionMain *plugin,
- MotionWindow *gui,
- int x,
- int y);
+ MotionRotate(MotionMain *plugin, MotionWindow *gui, int x, int y);
int handle_event();
MotionWindow *gui;
MotionMain *plugin;
MotionRReturnSpeed *rotate_return_speed;
ActionType *action_type;
MotionDrawVectors *vectors;
+ MotionTrackingFile *tracking_file;
MotionGlobal *global;
MotionRotate *rotate;
AddTrackedFrameOffset *addtrackedframeoffset;
MasterLayer *master_layer;
TrackingType *tracking_type;
TrackDirection *track_direction;
+ BC_Title *pef_title;
MotionMain *plugin;
};
-
-
-
-
-
-
-