r125: This commit was manufactured by cvs2svn to create tag 'r1_1_7-last'.
[cinelerra_cv/mob.git] / hvirtual / plugins / burn / burnwindow.C
blob7b9c6ddde3597925fb239c422b18ef569cd6b9fe
1 #include "bcdisplayinfo.h"
2 #include "burnwindow.h"
5 #include <libintl.h>
6 #define _(String) gettext(String)
7 #define gettext_noop(String) String
8 #define N_(String) gettext_noop (String)
12 PLUGIN_THREAD_OBJECT(BurnMain, BurnThread, BurnWindow)
19 BurnWindow::BurnWindow(BurnMain *client, int x, int y)
20  : BC_Window(client->gui_string, 
21         x,
22         y,
23         300, 
24         170, 
25         300, 
26         170, 
27         0, 
28         0,
29         1)
30
31         this->client = client; 
34 BurnWindow::~BurnWindow()
38 int BurnWindow::create_objects()
40         int x = 10, y = 10;
41         add_subwindow(new BC_Title(x, y, 
42                 _("BurningTV from EffectTV\n"
43                 "Copyright (C) 2001 FUKUCHI Kentarou")
44         ));
46         show_window();
47         flush();
48         return 0;
51 int BurnWindow::close_event()
53 // Set result to 1 to indicate a client side close
54         set_done(1);
55         return 1;