Merge branch 'ct' of git.pipapo.org:cinelerra-ct into ct
[cinelerra_cv/ct.git] / guicast / test3.C
blobb1e45cdad28b85883f0dc214970f04cd4fe9636f
1 #include "bcsignals.h"
2 #include "guicast.h"
7 class TestWindow : public BC_Window
9 public:
10         TestWindow() : BC_Window("Test",
11                 0,
12                 0,
13                 320,
14                 240)
15         {
16         };
18         void create_objects()
19         {
20                 set_color(BLACK);
21                 set_font(LARGEFONT);
22                 draw_text(10, 50, "Hello world");
23                 flash();
24                 flush();
25         };
29 int main()
31         new BC_Signals;
32         TestWindow window;
33         window.create_objects();
34         window.run_window();
37 //      Local Variables:
38 //      mode: C++
39 //      c-file-style: "linux"
40 //      End: