r125: This commit was manufactured by cvs2svn to create tag 'r1_1_7-last'.
[cinelerra_cv/mob.git] / hvirtual / cinelerra / recconfirmdelete.C
blob2e7480351f599b6c137a625eaf9f7e338a489016
1 #include "mwindow.h"
2 #include "mwindowgui.h"
3 #include "recconfirmdelete.h"
6 #include <libintl.h>
7 #define _(String) gettext(String)
8 #define gettext_noop(String) String
9 #define N_(String) gettext_noop (String)
12 RecConfirmDelete::RecConfirmDelete(MWindow *mwindow)
13  : BC_Window(PROGRAM_NAME ": Confirm", 
14         mwindow->gui->get_abs_cursor_x(),
15         mwindow->gui->get_abs_cursor_y(),
16         320, 100)
20 RecConfirmDelete::~RecConfirmDelete()
24 int RecConfirmDelete::create_objects(char *string)
26         char string2[256];
27         int x = 10, y = 10;
28         sprintf(string2, _("Delete this file and %s?"), string);
29         add_subwindow(new BC_Title(x, y, string2));
30         y += 30;
31         add_subwindow(new BC_OKButton(x, y));
32         x = get_w() - 100;
33         add_subwindow(new BC_CancelButton(x, y));
34         return 0;