#include "guicast.h"
#include "mutex.inc"
-#include "mwindow.inc"
+#include "theme.inc"
#include "thread.h"
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,
const char *caption;
const char *init_directory;
BC_TextBox *textbox;
- MWindow *mwindow;
+ Theme *theme;
BC_WindowBase *parent_window;
BrowseButtonWindow *gui;
Mutex *startup_lock;
class BrowseButtonWindow : public BC_FileBox
{
public:
- BrowseButtonWindow(MWindow *mwindow,
+ BrowseButtonWindow(Theme *theme,
BrowseButton *button,
BC_WindowBase *parent_window,
const char *init_directory,