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_done_event(int result);
43 void process(VFrame *output_frame);
46 RecordMonitor *record_monitor;
47 RecordScopeGUI *scope_gui;
54 class RecordScopeGUI : public ScopeGUI
57 RecordScopeGUI(MWindow *mwindow,
58 RecordMonitor *record_monitor);
61 void create_objects();
63 int translation_event();
64 int resize_event(int w, int h);
67 RecordMonitor *record_monitor;
74 class ScopeEnable : public BC_Toggle
77 ScopeEnable(MWindow *mwindow, RecordMonitor *record_monitor, int x, int y);
80 RecordMonitor *record_monitor;