po tweaks
[goodguy/history.git] / cinelerra-5.1 / cinelerra / testwindow.h
1 #ifndef __TESTWINDOW_H__
2 #define __TESTWINDOW_H__
3
4 #include "bcwindow.h"
5 #include "bcsignals.h"
6 #include "colors.h"
7 #include "fonts.h"
8 #include "thread.h"
9
10 class TestWindowGUI : public BC_Window
11 {
12         int tx, ty;
13         int last_x, last_y;
14         int in_motion;
15 public:
16         int button_press_event();
17         int button_release_event();
18         int cursor_motion_event();
19         TestWindowGUI();
20         ~TestWindowGUI();
21 };
22
23
24 class TestWindow : public Thread
25 {
26         TestWindowGUI *gui;
27 public:
28         TestWindow() : Thread(1,0,0) { gui = new TestWindowGUI(); start(); }
29         ~TestWindow() { delete gui; }
30         void run() { gui->run_window(); }
31 };
32
33 #endif