-
-BrowseButtonWindow::BrowseButtonWindow(MWindow *mwindow,
- BrowseButton *button,
- BC_WindowBase *parent_window,
- const char *init_directory,
- const char *title,
- const char *caption,
- int want_directory)
- : BC_FileBox(button->x - BC_WindowBase::get_resources()->filebox_w / 2,
- button->y - BC_WindowBase::get_resources()->filebox_h / 2,
- init_directory, title, caption,
+BrowseButtonWindow::BrowseButtonWindow(Theme *theme, int x, int y,
+ BC_WindowBase *parent_window, const char *init_directory,
+ const char *title, const char *caption, int want_directory)
+ : BC_FileBox(x, y, init_directory, title, caption,