| Server IP : 209.209.40.120 / Your IP : 216.73.217.112 Web Server : Microsoft-IIS/10.0 System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586 User : NEWWWW$ ( 0) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/cppwinrt/winrt/impl/ |
Upload File : |
// C++/WinRT v2.0.190620.2
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#ifndef WINRT_Windows_UI_Text_2_H
#define WINRT_Windows_UI_Text_2_H
#include "winrt/impl/Windows.UI.Text.1.h"
namespace winrt::Windows::UI::Text
{
struct FontWeight
{
uint16_t Weight;
};
inline bool operator==(FontWeight const& left, FontWeight const& right) noexcept
{
return left.Weight == right.Weight;
}
inline bool operator!=(FontWeight const& left, FontWeight const& right) noexcept
{
return !(left == right);
}
struct __declspec(empty_bases) ContentLinkInfo : Windows::UI::Text::IContentLinkInfo
{
ContentLinkInfo(std::nullptr_t) noexcept {}
ContentLinkInfo(void* ptr, take_ownership_from_abi_t) noexcept : Windows::UI::Text::IContentLinkInfo(ptr, take_ownership_from_abi) {}
ContentLinkInfo();
};
struct __declspec(empty_bases) FontWeights : Windows::UI::Text::IFontWeights
{
FontWeights(std::nullptr_t) noexcept {}
FontWeights(void* ptr, take_ownership_from_abi_t) noexcept : Windows::UI::Text::IFontWeights(ptr, take_ownership_from_abi) {}
[[nodiscard]] static auto Black();
[[nodiscard]] static auto Bold();
[[nodiscard]] static auto ExtraBlack();
[[nodiscard]] static auto ExtraBold();
[[nodiscard]] static auto ExtraLight();
[[nodiscard]] static auto Light();
[[nodiscard]] static auto Medium();
[[nodiscard]] static auto Normal();
[[nodiscard]] static auto SemiBold();
[[nodiscard]] static auto SemiLight();
[[nodiscard]] static auto Thin();
};
struct __declspec(empty_bases) RichEditTextDocument : Windows::UI::Text::ITextDocument,
impl::require<RichEditTextDocument, Windows::UI::Text::ITextDocument2, Windows::UI::Text::ITextDocument3, Windows::UI::Text::ITextDocument4>
{
RichEditTextDocument(std::nullptr_t) noexcept {}
RichEditTextDocument(void* ptr, take_ownership_from_abi_t) noexcept : Windows::UI::Text::ITextDocument(ptr, take_ownership_from_abi) {}
};
struct __declspec(empty_bases) RichEditTextRange : Windows::UI::Text::ITextRange,
impl::require<RichEditTextRange, Windows::UI::Text::IRichEditTextRange>
{
RichEditTextRange(std::nullptr_t) noexcept {}
RichEditTextRange(void* ptr, take_ownership_from_abi_t) noexcept : Windows::UI::Text::ITextRange(ptr, take_ownership_from_abi) {}
};
struct TextConstants
{
TextConstants() = delete;
[[nodiscard]] static auto AutoColor();
[[nodiscard]] static auto MinUnitCount();
[[nodiscard]] static auto MaxUnitCount();
[[nodiscard]] static auto UndefinedColor();
[[nodiscard]] static auto UndefinedFloatValue();
[[nodiscard]] static auto UndefinedInt32Value();
[[nodiscard]] static auto UndefinedFontStretch();
[[nodiscard]] static auto UndefinedFontStyle();
};
}
#endif