3 * Copyright (C) 1997-2011 Adam Williams <broadcast at earthling dot net>
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22 #ifndef RECORDSCOPES_H
23 #define RECORDSCOPES_H
27 #include "loadbalance.h"
29 #include "recordmonitor.inc"
30 #include "recordscopes.inc"
31 #include "scopewindow.h"
35 class RecordScopeThread : public BC_DialogThread
38 RecordScopeThread(MWindow *mwindow, RecordMonitor *record_monitor);
41 void handle_close_event(int result);
42 void handle_done_event(int result);
44 void process(VFrame *output_frame);
47 RecordMonitor *record_monitor;
48 RecordScopeGUI *scope_gui;
55 class RecordScopeGUI : public ScopeGUI
58 RecordScopeGUI(MWindow *mwindow,
59 RecordMonitor *record_monitor);
62 void create_objects();
64 int translation_event();
65 int resize_event(int w, int h);
68 RecordMonitor *record_monitor;
75 class ScopeEnable : public BC_Toggle
78 ScopeEnable(MWindow *mwindow, RecordMonitor *record_monitor, int x, int y);
81 RecordMonitor *record_monitor;