repair default keyframe load, tweak init default histogram threshold
[goodguy/history.git] / cinelerra-5.1 / cinelerra / browsebutton.h
index ff8ece6f0eb6e9a72f23692e549f4fba242b063a..0818cdc86d19bf1502cdecc18b359a3eaf218edd 100644 (file)
@@ -24,7 +24,7 @@
 
 #include "guicast.h"
 #include "mutex.inc"
-#include "mwindow.inc"
+#include "theme.inc"
 #include "thread.h"
 
 class BrowseButtonWindow;
@@ -32,7 +32,7 @@ class BrowseButtonWindow;
 class BrowseButton : public BC_Button, public Thread
 {
 public:
-       BrowseButton(MWindow *mwindow,
+       BrowseButton(Theme *theme,
                BC_WindowBase *parent_window,
                BC_TextBox *textbox,
                int x,
@@ -51,7 +51,7 @@ public:
        const char *caption;
        const char *init_directory;
        BC_TextBox *textbox;
-       MWindow *mwindow;
+       Theme *theme;
        BC_WindowBase *parent_window;
        BrowseButtonWindow *gui;
        Mutex *startup_lock;
@@ -61,8 +61,8 @@ public:
 class BrowseButtonWindow : public BC_FileBox
 {
 public:
-       BrowseButtonWindow(MWindow *mwindow,
-               BrowseButton *button,
+       BrowseButtonWindow(Theme *theme,
+               int x, int y,
                BC_WindowBase *parent_window,
                const char *init_directory,
                const char *title,