X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Fblur%2Fblurwindow.h;fp=cinelerra-5.1%2Fplugins%2Fblur%2Fblurwindow.h;h=25245451141a3672525e916e5236da681ecb64c2;hb=30bdb85eb33a8ee7ba675038a86c6be59c43d7bd;hp=0000000000000000000000000000000000000000;hpb=52fcc46226f9df46f9ce9d0566dc568455a7db0b;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/plugins/blur/blurwindow.h b/cinelerra-5.1/plugins/blur/blurwindow.h new file mode 100644 index 00000000..25245451 --- /dev/null +++ b/cinelerra-5.1/plugins/blur/blurwindow.h @@ -0,0 +1,146 @@ + +/* + * CINELERRA + * Copyright (C) 2010 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 BLURWINDOW_H +#define BLURWINDOW_H + + +class BlurThread; +class BlurWindow; + +#include "blur.inc" +#include "filexml.inc" +#include "guicast.h" +#include "mutex.h" +#include "thread.h" + + +class BlurVertical; +class BlurHorizontal; +class BlurRadius; +class BlurRadiusText; +class BlurA; +class BlurR; +class BlurG; +class BlurB; +class BlurAKey; + +class BlurWindow : public PluginClientWindow +{ +public: + BlurWindow(BlurMain *client); + ~BlurWindow(); + + void create_objects(); + + BlurMain *client; + BlurVertical *vertical; + BlurHorizontal *horizontal; + BlurRadius *radius; + BlurRadiusText *radius_text; + BlurA *a; + BlurR *r; + BlurG *g; + BlurB *b; + BlurAKey *a_key; +}; + +class BlurAKey : public BC_CheckBox +{ +public: + BlurAKey(BlurMain *client, int x, int y); + int handle_event(); + BlurMain *client; +}; + +class BlurA : public BC_CheckBox +{ +public: + BlurA(BlurMain *client, int x, int y); + int handle_event(); + BlurMain *client; +}; +class BlurR : public BC_CheckBox +{ +public: + BlurR(BlurMain *client, int x, int y); + int handle_event(); + BlurMain *client; +}; +class BlurG : public BC_CheckBox +{ +public: + BlurG(BlurMain *client, int x, int y); + int handle_event(); + BlurMain *client; +}; +class BlurB : public BC_CheckBox +{ +public: + BlurB(BlurMain *client, int x, int y); + int handle_event(); + BlurMain *client; +}; + + +class BlurRadius : public BC_IPot +{ +public: + BlurRadius(BlurMain *client, BlurWindow *gui, int x, int y); + ~BlurRadius(); + int handle_event(); + BlurMain *client; + BlurWindow *gui; +}; + +class BlurRadiusText : public BC_TextBox +{ +public: + BlurRadiusText(BlurMain *client, BlurWindow *gui, int x, int y, int w); + int handle_event(); + BlurMain *client; + BlurWindow *gui; +}; + +class BlurVertical : public BC_CheckBox +{ +public: + BlurVertical(BlurMain *client, BlurWindow *window, int x, int y); + ~BlurVertical(); + int handle_event(); + + BlurMain *client; + BlurWindow *window; +}; + +class BlurHorizontal : public BC_CheckBox +{ +public: + BlurHorizontal(BlurMain *client, BlurWindow *window, int x, int y); + ~BlurHorizontal(); + int handle_event(); + + BlurMain *client; + BlurWindow *window; +}; + + +#endif