FileDialog(TYPE t, const char *title): Gui::VBox() { m_type = t; m_title = title; SetTransparency(false); SetSpacing(5.0f); SetSizeRequest(FLT_MAX, FLT_MAX); }
void Box::SetSizeRequest(float size[2]) { SetSizeRequest(size[0], size[1]); }
FileSelectorWidget::FileSelectorWidget(Type type, const std::string &title) : Gui::VBox(), m_type(type), m_title(title) { SetTransparency(false); SetSpacing(5.0f); SetSizeRequest(FLT_MAX, FLT_MAX); }