Fixed initialisation of tf in file_open(). Without setting the memory to 0,
[cinelerra_cv/mob.git] / plugins / timeavg / timeavgwindow.h
blob98b60d1b3d93ae9fe09ca86f16fa52dcb17b4967
1 #ifndef TIMEAVGWINDOW_H
2 #define TIMEAVGWINDOW_H
5 class TimeAvgThread;
6 class TimeAvgWindow;
7 class TimeAvgAccum;
8 class TimeAvgAvg;
9 class TimeAvgOr;
10 class TimeAvgParanoid;
11 class TimeAvgNoSubtract;
13 #include "guicast.h"
14 #include "mutex.h"
15 #include "timeavg.h"
17 PLUGIN_THREAD_HEADER(TimeAvgMain, TimeAvgThread, TimeAvgWindow)
19 class TimeAvgSlider;
21 class TimeAvgWindow : public BC_Window
23 public:
24 TimeAvgWindow(TimeAvgMain *client, int x, int y);
25 ~TimeAvgWindow();
27 int create_objects();
28 int close_event();
30 TimeAvgMain *client;
31 TimeAvgSlider *total_frames;
32 TimeAvgAccum *accum;
33 TimeAvgAvg *avg;
34 TimeAvgOr *inclusive_or;
35 TimeAvgParanoid *paranoid;
36 TimeAvgNoSubtract *no_subtract;
39 class TimeAvgSlider : public BC_ISlider
41 public:
42 TimeAvgSlider(TimeAvgMain *client, int x, int y);
43 ~TimeAvgSlider();
44 int handle_event();
46 TimeAvgMain *client;
49 class TimeAvgAccum : public BC_Radial
51 public:
52 TimeAvgAccum(TimeAvgMain *client, TimeAvgWindow *gui, int x, int y);
53 int handle_event();
54 TimeAvgMain *client;
55 TimeAvgWindow *gui;
58 class TimeAvgAvg : public BC_Radial
60 public:
61 TimeAvgAvg(TimeAvgMain *client, TimeAvgWindow *gui, int x, int y);
62 int handle_event();
63 TimeAvgMain *client;
64 TimeAvgWindow *gui;
67 class TimeAvgOr : public BC_Radial
69 public:
70 TimeAvgOr(TimeAvgMain *client, TimeAvgWindow *gui, int x, int y);
71 int handle_event();
72 TimeAvgMain *client;
73 TimeAvgWindow *gui;
76 class TimeAvgParanoid : public BC_CheckBox
78 public:
79 TimeAvgParanoid(TimeAvgMain *client, int x, int y);
80 int handle_event();
81 TimeAvgMain *client;
84 class TimeAvgNoSubtract : public BC_CheckBox
86 public:
87 TimeAvgNoSubtract(TimeAvgMain *client, int x, int y);
88 int handle_event();
89 TimeAvgMain *client;
92 #endif