r1009: Move the dependencies to newer package names
[cinelerra_cv/mob.git] / cinelerra / recconfirmdelete.C
bloba0ffd7e9bd82b651f7c81e211707f03e4b2dcf8f
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(1),
15         mwindow->gui->get_abs_cursor_y(1),
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;