Ejemplo n.º 1
0
	FileDialog(TYPE t, const char *title): Gui::VBox() {
		m_type = t;
		m_title = title;
		SetTransparency(false);
		SetSpacing(5.0f);
		SetSizeRequest(FLT_MAX, FLT_MAX);
	}
Ejemplo n.º 2
0
void Box::SetSizeRequest(float size[2])
{
	SetSizeRequest(size[0], size[1]);
}
Ejemplo n.º 3
0
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);
}