void ChanSearchGUI::create_objects()
{
+ lock_window("ChanSearchGUI::create_objects");
int pady = BC_TextBox::calculate_h(this, MEDIUMFONT, 0, 1) + 5;
int padx = BC_Title::calculate_w(this, (char*)"X", MEDIUMFONT);
int x = padx/2, y = pady/4;
set_icon(iwindow->mwindow->theme->get_image("record_icon"));
search_text->activate();
+ unlock_window();
}
ChanSearchGUI::ChanSearchGUI(ChanSearch *cswindow)
void ChannelInfoGUI::create_objects()
{
+ lock_window("ChannelInfoGUI::create_objects");
panel = new ChannelPanel(this,0,0,panel_w,panel_h);
add_subwindow(panel);
panel->create_objects();
channel_search = new ChanSearch(iwindow);
show_window();
+ unlock_window();
}
ChannelInfoGUI::ChannelInfoGUI(ChannelInfo *iwindow,