mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-24 19:54:25 -04:00
[ui] UI redesign
* Better guide the user through the flow of operations * Also follow a concept design by Fahad Al-Riyami * Closes #117
This commit is contained in:
parent
95db209b04
commit
a44518355f
31 changed files with 3114 additions and 3572 deletions
|
@ -437,6 +437,19 @@ static __inline int ComboBox_GetLBTextU(HWND hCtrl, int index, char* lpString)
|
|||
return size;
|
||||
}
|
||||
|
||||
static __inline DWORD CharUpperBuffU(char* lpString, DWORD len)
|
||||
{
|
||||
DWORD ret;
|
||||
wchar_t *wlpString = calloc(len, sizeof(wchar_t));
|
||||
if (wlpString == NULL)
|
||||
return 0;
|
||||
utf8_to_wchar_no_alloc(lpString, wlpString, len);
|
||||
ret = CharUpperBuffW(wlpString, len);
|
||||
wchar_to_utf8_no_alloc(wlpString, lpString, len);
|
||||
free(wlpString);
|
||||
return ret;
|
||||
}
|
||||
|
||||
static __inline HANDLE CreateFileU(const char* lpFileName, DWORD dwDesiredAccess, DWORD dwShareMode,
|
||||
LPSECURITY_ATTRIBUTES lpSecurityAttributes, DWORD dwCreationDisposition,
|
||||
DWORD dwFlagsAndAttributes, HANDLE hTemplateFile)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue