2012-11-01 16:19:01 +01:00
|
|
|
#pragma once
|
|
|
|
|
2018-03-22 22:14:19 +01:00
|
|
|
#include <string>
|
2013-07-28 21:01:49 -07:00
|
|
|
#include "Common/CommonWindows.h"
|
2013-08-26 19:00:16 +02:00
|
|
|
|
|
|
|
// All I/O is in UTF-8
|
|
|
|
bool InputBox_GetString(HINSTANCE hInst, HWND hParent, const wchar_t *title, const std::string &defaultvalue, std::string &outvalue, bool selected);
|
|
|
|
bool InputBox_GetString(HINSTANCE hInst, HWND hParent, const wchar_t *title, const std::string &defaultvalue, std::string &outvalue);
|
2013-08-27 07:20:41 -04:00
|
|
|
bool InputBox_GetWString(HINSTANCE hInst, HWND hParent, const wchar_t *title, const std::wstring &defaultvalue, std::wstring &outvalue);
|
2013-08-26 19:00:16 +02:00
|
|
|
bool InputBox_GetHex(HINSTANCE hInst, HWND hParent, const wchar_t *title, u32 defaultvalue, u32 &outvalue);
|
2023-06-19 23:22:44 +02:00
|
|
|
|
|
|
|
bool UserPasswordBox_GetStrings(HINSTANCE hInst, HWND hParent, const wchar_t *title, std::string *username, std::string *password);
|