fixed comment into code
This commit is contained in:
@@ -3,8 +3,8 @@ using System.Runtime.InteropServices;
|
||||
namespace CursorLang.Interop;
|
||||
|
||||
/// <summary>
|
||||
/// Оформление рамки окна средствами системы: заголовок рисует Windows,
|
||||
/// и в тёмной теме его нужно переключать отдельно от содержимого окна.
|
||||
/// Window frame styling by the system: the title bar is drawn by Windows,
|
||||
/// and in the dark theme it has to be switched separately from the window content.
|
||||
/// </summary>
|
||||
internal static class WindowThemeNative
|
||||
{
|
||||
@@ -14,8 +14,8 @@ internal static class WindowThemeNative
|
||||
private const int DWMWA_USE_IMMERSIVE_DARK_MODE = 20;
|
||||
|
||||
/// <summary>
|
||||
/// Перекрашивает заголовок окна. На сборках Windows 10 до 2004 атрибут
|
||||
/// не поддерживается — заголовок просто останется светлым.
|
||||
/// Recolours the window title bar. On Windows 10 builds before 2004 the attribute
|
||||
/// is not supported — the title bar simply stays light.
|
||||
/// </summary>
|
||||
internal static void SetDarkTitleBar(IntPtr hWnd, bool isDark)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user