Exemple #1
0
std::wstring dialog_input2 (const std::wstring &title, const std::wstring &hint,
		const std::wstring &default_text, unsigned text_box_width,
		WindowInputAttribute attributes, const std::wstring &return_on_error)
{
	std::wstring ret = return_on_error;
	WindowInput (title, hint, default_text, text_box_width, attributes, ret).event_loop ();
	return ret;
}
Exemple #2
0
std::wstring dialog_input2(std::wstring_view title, std::wstring_view hint,
		std::wstring_view default_text, unsigned text_box_width,
		WindowInputAttribute attributes, std::wstring_view return_on_error)
{
	std::wstring ret(return_on_error);
	WindowInput (title, hint, default_text, text_box_width, attributes, ret).event_loop ();
	return ret;
}