Fixed initialisation of tf in file_open(). Without setting the memory to 0,
[cinelerra_cv/mob.git] / guicast / test3.C
blob94a86f7d390dc00648f31923d13a5866a69b0459
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();