style(design): apply Minimal Dark Mode design system\n\n- Switched to complete Dark Mode (OLED-friendly)\n- Established standard color palette matching modern technical aesthetics\n- Changed font to Plus Jakarta Sans for increased legibility\n- Enforced dark mode as default in App.tsx\n- Fixed several React cascading render (setState in useEffect) warnings
This commit is contained in:
1 parent
b80531f8a8
commit
bac7b5591e
738 files changed
+138513
-138123
No files matched your search
@@ -1,59 +1,59 @@
|
||||
#pragma once
|
||||
// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef HRESULT (WINAPI *LPAUTHENTICATION_ROUTINE)(
|
||||
__in LPVOID pVoid,
|
||||
__in HINTERNET hUrl,
|
||||
__in long lHttpCode,
|
||||
__out BOOL* pfRetrySend,
|
||||
__out BOOL* pfRetry
|
||||
);
|
||||
|
||||
typedef int (WINAPI *LPCANCEL_ROUTINE)(
|
||||
__in HRESULT hrError,
|
||||
__in_z_opt LPCWSTR wzError,
|
||||
__in BOOL fAllowRetry,
|
||||
__in_opt LPVOID pvContext
|
||||
);
|
||||
|
||||
// structs
|
||||
typedef struct _DOWNLOAD_SOURCE
|
||||
{
|
||||
LPWSTR sczUrl;
|
||||
LPWSTR sczUser;
|
||||
LPWSTR sczPassword;
|
||||
} DOWNLOAD_SOURCE;
|
||||
|
||||
typedef struct _DOWNLOAD_CACHE_CALLBACK
|
||||
{
|
||||
LPPROGRESS_ROUTINE pfnProgress;
|
||||
LPCANCEL_ROUTINE pfnCancel;
|
||||
LPVOID pv;
|
||||
} DOWNLOAD_CACHE_CALLBACK;
|
||||
|
||||
typedef struct _DOWNLOAD_AUTHENTICATION_CALLBACK
|
||||
{
|
||||
LPAUTHENTICATION_ROUTINE pfnAuthenticate;
|
||||
LPVOID pv;
|
||||
} DOWNLOAD_AUTHENTICATION_CALLBACK;
|
||||
|
||||
|
||||
// functions
|
||||
|
||||
HRESULT DAPI DownloadUrl(
|
||||
__in DOWNLOAD_SOURCE* pDownloadSource,
|
||||
__in DWORD64 dw64AuthoredDownloadSize,
|
||||
__in LPCWSTR wzDestinationPath,
|
||||
__in_opt DOWNLOAD_CACHE_CALLBACK* pCache,
|
||||
__in_opt DOWNLOAD_AUTHENTICATION_CALLBACK* pAuthenticate
|
||||
);
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#pragma once
|
||||
// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef HRESULT (WINAPI *LPAUTHENTICATION_ROUTINE)(
|
||||
__in LPVOID pVoid,
|
||||
__in HINTERNET hUrl,
|
||||
__in long lHttpCode,
|
||||
__out BOOL* pfRetrySend,
|
||||
__out BOOL* pfRetry
|
||||
);
|
||||
|
||||
typedef int (WINAPI *LPCANCEL_ROUTINE)(
|
||||
__in HRESULT hrError,
|
||||
__in_z_opt LPCWSTR wzError,
|
||||
__in BOOL fAllowRetry,
|
||||
__in_opt LPVOID pvContext
|
||||
);
|
||||
|
||||
// structs
|
||||
typedef struct _DOWNLOAD_SOURCE
|
||||
{
|
||||
LPWSTR sczUrl;
|
||||
LPWSTR sczUser;
|
||||
LPWSTR sczPassword;
|
||||
} DOWNLOAD_SOURCE;
|
||||
|
||||
typedef struct _DOWNLOAD_CACHE_CALLBACK
|
||||
{
|
||||
LPPROGRESS_ROUTINE pfnProgress;
|
||||
LPCANCEL_ROUTINE pfnCancel;
|
||||
LPVOID pv;
|
||||
} DOWNLOAD_CACHE_CALLBACK;
|
||||
|
||||
typedef struct _DOWNLOAD_AUTHENTICATION_CALLBACK
|
||||
{
|
||||
LPAUTHENTICATION_ROUTINE pfnAuthenticate;
|
||||
LPVOID pv;
|
||||
} DOWNLOAD_AUTHENTICATION_CALLBACK;
|
||||
|
||||
|
||||
// functions
|
||||
|
||||
HRESULT DAPI DownloadUrl(
|
||||
__in DOWNLOAD_SOURCE* pDownloadSource,
|
||||
__in DWORD64 dw64AuthoredDownloadSize,
|
||||
__in LPCWSTR wzDestinationPath,
|
||||
__in_opt DOWNLOAD_CACHE_CALLBACK* pCache,
|
||||
__in_opt DOWNLOAD_AUTHENTICATION_CALLBACK* pAuthenticate
|
||||
);
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
Reference in new issue
Block a user