+++ /dev/null
-
-/*
- * 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
- *
- */
-
-#ifndef SVGWIN_H
-#define SVGWIN_H
-
-#include "guicast.h"
-#include "filexml.h"
-#include "mutex.h"
-#include "pluginclient.h"
-#include "svg.h"
-#include "thread.h"
-
-class SvgThread;
-class SvgWin;
-
-class SvgCoord;
-class NewSvgButton;
-class NewSvgWindow;
-class EditSvgButton;
-
-class SvgWin : public PluginClientWindow
-{
-public:
- SvgWin(SvgMain *client);
- ~SvgWin();
-
- void create_objects();
- int close_event();
-
- SvgCoord *in_x, *in_y, *in_w, *in_h, *out_x, *out_y, *out_w, *out_h;
- SvgMain *client;
- BC_Title *svg_file_title;
- NewSvgButton *new_svg_button;
- NewSvgWindow *new_svg_thread;
- EditSvgButton *edit_svg_button;
- Mutex editing_lock;
- int editing;
-
-};
-
-class SvgCoord : public BC_TumbleTextBox
-{
-public:
- SvgCoord(SvgWin *win,
- SvgMain *client,
- int x,
- int y,
- float *value);
- ~SvgCoord();
- int handle_event();
-
- SvgMain *client;
- SvgWin *win;
- float *value;
-
-};
-
-class NewSvgButton : public BC_GenericButton, public Thread
-{
-public:
- NewSvgButton(SvgMain *client, SvgWin *window, int x, int y);
- int handle_event();
- void run();
-
- int quit_now;
- SvgMain *client;
- SvgWin *window;
-};
-
-class EditSvgButton : public BC_GenericButton, public Thread
-{
-public:
- EditSvgButton(SvgMain *client, SvgWin *window, int x, int y);
- ~EditSvgButton();
- int handle_event();
- void run();
-
- int quit_now;
- int fh_fifo;
- SvgMain *client;
- SvgWin *window;
-};
-
-class NewSvgWindow : public BC_FileBox
-{
-public:
- NewSvgWindow(SvgMain *client, SvgWin *window, char *init_directory);
- ~NewSvgWindow();
- SvgMain *client;
- SvgWin *window;
-};
-
-class SvgInkscapeThread : public Thread
-{
-public:
- SvgInkscapeThread(SvgMain *client, SvgWin *window);
- ~SvgInkscapeThread();
- void run();
- SvgMain *client;
- SvgWin *window;
- int fh_fifo;
-};
-
-
-#endif