VideoWindowGUI::VideoWindowGUI(VideoWindow *thread, int w, int h)
: BC_Window(_(PROGRAM_NAME ": Video out"),
- (int)BC_INFINITY,
- (int)BC_INFINITY,
- w,
- h,
- 10,
- 10,
- 1,
- 1,
- 1)
+ (int)BC_INFINITY, (int)BC_INFINITY,
+ w, h, 10, 10, 1, 1, 1)
{
this->thread = thread;
}
void VideoWindowGUI::create_objects()
{
+ lock_window("VideoWindowGUI::create_objects");
add_subwindow(canvas = new VideoWindowCanvas(this, get_w(), get_h()));
update_title();
+ unlock_window();
}
-
int VideoWindowGUI::keypress_event()
{
}