1 #include "bcdisplayinfo.h"
2 #include "blurzoomwindow.h"
5 #define _(String) gettext(String)
6 #define gettext_noop(String) String
7 #define N_(String) gettext_noop (String)
10 BlurZoomThread::BlurZoomThread(BlurZoomMain *client)
13 this->client = client;
19 BlurZoomThread::~BlurZoomThread()
21 // Window always deleted here
25 void BlurZoomThread::run()
28 window = new BlurZoomWindow(client,
29 info.get_abs_cursor_x() - 105,
30 info.get_abs_cursor_y() - 100);
31 window->create_objects();
33 int result = window->run_window();
35 // Last command executed in thread
36 if(result) client->client_side_close();
44 BlurZoomWindow::BlurZoomWindow(BlurZoomMain *client, int x, int y)
45 : BC_Window(client->gui_string,
56 this->client = client;
59 BlurZoomWindow::~BlurZoomWindow()
63 int BlurZoomWindow::create_objects()
66 add_subwindow(new BC_Title(x, y,
67 _("RadioacTV from EffectTV\n"
68 "Copyright (C) 2001 FUKUCHI Kentarou")
76 int BlurZoomWindow::close_event()
78 // Set result to 1 to indicate a client side close