r1014: Enable horizontal scrolling with the mouse wheel by pressing Ctrl.
[cinelerra_cv/ct.git] / cinelerra / newfolder.h
blobd8c0a38b5d7cd94b21170621baf58e6254043610
1 #ifndef NEWFOLDER_H
2 #define NEWFOLDER_H
4 #include "awindowgui.inc"
5 #include "guicast.h"
6 #include "mutex.h"
7 #include "mwindow.inc"
9 class NewFolder : public BC_Window
11 public:
12 NewFolder(MWindow *mwindow, AWindowGUI *awindow, int x, int y);
13 ~NewFolder();
15 int create_objects();
16 char* get_text();
18 private:
19 BC_TextBox *textbox;
20 MWindow *mwindow;
21 AWindowGUI *awindow;
25 class NewFolderThread : public Thread
27 public:
28 NewFolderThread(MWindow *mwindow, AWindowGUI *awindow);
29 ~NewFolderThread();
31 void run();
32 int interrupt();
33 int start_new_folder();
35 private:
36 Mutex change_lock, completion_lock;
37 int active;
38 MWindow *mwindow;
39 AWindowGUI *awindow;
40 NewFolder *window;
43 #endif