NewFolder::NewFolder(MWindow *mwindow, AWindowGUI *awindow, int x, int y)
: BC_Window(_(PROGRAM_NAME ": New folder"),
- x,
- y,
- 320,
- 120,
- 0,
- 0,
- 0,
- 0,
- 1)
+ x, y, 320, 120, 0, 0, 0, 0, 1)
{
this->mwindow = mwindow;
this->awindow = awindow;
void NewFolder::create_objects()
{
+ lock_window("NewFolder::create_objects");
int x = 10, y = 10;
add_tool(new BC_Title(x, y, _("Enter the name of the folder:")));
y += 20;
x = get_w() - 100;
add_subwindow(new BC_CancelButton(x, y));
show_window();
+ unlock_window();
}
const char* NewFolder::get_text()