mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-15 15:16:12 -04:00
69 lines
3.0 KiB
C++
69 lines
3.0 KiB
C++
// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.250303.1
|
|
|
|
#pragma once
|
|
#ifndef WINRT_Windows_UI_Text_2_H
|
|
#define WINRT_Windows_UI_Text_2_H
|
|
#include "winrt/impl/Windows.UI.Text.1.h"
|
|
WINRT_EXPORT 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 WINRT_IMPL_EMPTY_BASES ContentLinkInfo : winrt::Windows::UI::Text::IContentLinkInfo
|
|
{
|
|
ContentLinkInfo(std::nullptr_t) noexcept {}
|
|
ContentLinkInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Text::IContentLinkInfo(ptr, take_ownership_from_abi) {}
|
|
ContentLinkInfo();
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES FontWeights : winrt::Windows::UI::Text::IFontWeights
|
|
{
|
|
FontWeights(std::nullptr_t) noexcept {}
|
|
FontWeights(void* ptr, take_ownership_from_abi_t) noexcept : winrt::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 WINRT_IMPL_EMPTY_BASES RichEditTextDocument : winrt::Windows::UI::Text::ITextDocument,
|
|
impl::require<RichEditTextDocument, winrt::Windows::UI::Text::ITextDocument2, winrt::Windows::UI::Text::ITextDocument3, winrt::Windows::UI::Text::ITextDocument4>
|
|
{
|
|
RichEditTextDocument(std::nullptr_t) noexcept {}
|
|
RichEditTextDocument(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Text::ITextDocument(ptr, take_ownership_from_abi) {}
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES RichEditTextRange : winrt::Windows::UI::Text::ITextRange,
|
|
impl::require<RichEditTextRange, winrt::Windows::UI::Text::IRichEditTextRange>
|
|
{
|
|
RichEditTextRange(std::nullptr_t) noexcept {}
|
|
RichEditTextRange(void* ptr, take_ownership_from_abi_t) noexcept : winrt::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
|