2 * This program is free software; you can redistribute it and/or modify it
3 * under the terms of the GNU General Public License as published
4 * by the Free Software Foundation; either version 2 of the License, or
5 * (at your option) any later version.
7 * This program is distributed in the hope that it will be useful, but
8 * WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10 * General Public License for more details.
12 * You should have received a copy of the GNU General Public
13 * License along with this program; if not, write to the Free Software
14 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
18 #ifndef __TESTWINDOW_H__
19 #define __TESTWINDOW_H__
22 #include "bcsignals.h"
27 class TestWindowGUI : public BC_Window
33 int button_press_event();
34 int button_release_event();
35 int cursor_motion_event();
41 class TestWindow : public Thread
45 TestWindow() : Thread(1,0,0) { gui = new TestWindowGUI(); start(); }
46 ~TestWindow() { delete gui; }
47 void run() { gui->run_window(); }