r1014: Enable horizontal scrolling with the mouse wheel by pressing Ctrl.
[cinelerra_cv/ct.git] / cinelerra / confirmsave.h
blobf27fc04bc7fd3322843a5766abea97abaa129f70
1 #ifndef CONFIRMSAVE_H
2 #define CONFIRMSAVE_H
4 #include "asset.inc"
5 #include "guicast.h"
6 #include "mwindow.inc"
8 class ConfirmSaveOkButton;
9 class ConfirmSaveCancelButton;
11 class ConfirmSave
13 public:
14 ConfirmSave();
15 ~ConfirmSave();
17 // Return values:
18 // 1 cancel
19 // 0 replace or doesn't exist yet
20 static int test_file(MWindow *mwindow, char *path);
21 static int test_files(MWindow *mwindow, ArrayList<char*> *paths);
25 class ConfirmSaveWindow : public BC_Window
27 public:
28 ConfirmSaveWindow(MWindow *mwindow, ArrayList<BC_ListBoxItem*> *list);
29 ~ConfirmSaveWindow();
31 int create_objects();
32 int resize_event(int w, int h);
34 ArrayList<BC_ListBoxItem*> *list;
35 BC_Title *title;
36 BC_ListBox *listbox;
39 #endif