mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
120 lines
5.9 KiB
C++
120 lines
5.9 KiB
C++
// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1
|
|
|
|
#pragma once
|
|
#ifndef WINRT_Windows_Media_ClosedCaptioning_0_H
|
|
#define WINRT_Windows_Media_ClosedCaptioning_0_H
|
|
WINRT_EXPORT namespace winrt::Windows::UI
|
|
{
|
|
struct Color;
|
|
}
|
|
WINRT_EXPORT namespace winrt::Windows::Media::ClosedCaptioning
|
|
{
|
|
enum class ClosedCaptionColor : int32_t
|
|
{
|
|
Default = 0,
|
|
White = 1,
|
|
Black = 2,
|
|
Red = 3,
|
|
Green = 4,
|
|
Blue = 5,
|
|
Yellow = 6,
|
|
Magenta = 7,
|
|
Cyan = 8,
|
|
};
|
|
enum class ClosedCaptionEdgeEffect : int32_t
|
|
{
|
|
Default = 0,
|
|
None = 1,
|
|
Raised = 2,
|
|
Depressed = 3,
|
|
Uniform = 4,
|
|
DropShadow = 5,
|
|
};
|
|
enum class ClosedCaptionOpacity : int32_t
|
|
{
|
|
Default = 0,
|
|
OneHundredPercent = 1,
|
|
SeventyFivePercent = 2,
|
|
TwentyFivePercent = 3,
|
|
ZeroPercent = 4,
|
|
};
|
|
enum class ClosedCaptionSize : int32_t
|
|
{
|
|
Default = 0,
|
|
FiftyPercent = 1,
|
|
OneHundredPercent = 2,
|
|
OneHundredFiftyPercent = 3,
|
|
TwoHundredPercent = 4,
|
|
};
|
|
enum class ClosedCaptionStyle : int32_t
|
|
{
|
|
Default = 0,
|
|
MonospacedWithSerifs = 1,
|
|
ProportionalWithSerifs = 2,
|
|
MonospacedWithoutSerifs = 3,
|
|
ProportionalWithoutSerifs = 4,
|
|
Casual = 5,
|
|
Cursive = 6,
|
|
SmallCapitals = 7,
|
|
};
|
|
struct IClosedCaptionPropertiesStatics;
|
|
struct ClosedCaptionProperties;
|
|
}
|
|
namespace winrt::impl
|
|
{
|
|
template <> struct category<winrt::Windows::Media::ClosedCaptioning::IClosedCaptionPropertiesStatics>{ using type = interface_category; };
|
|
template <> struct category<winrt::Windows::Media::ClosedCaptioning::ClosedCaptionProperties>{ using type = class_category; };
|
|
template <> struct category<winrt::Windows::Media::ClosedCaptioning::ClosedCaptionColor>{ using type = enum_category; };
|
|
template <> struct category<winrt::Windows::Media::ClosedCaptioning::ClosedCaptionEdgeEffect>{ using type = enum_category; };
|
|
template <> struct category<winrt::Windows::Media::ClosedCaptioning::ClosedCaptionOpacity>{ using type = enum_category; };
|
|
template <> struct category<winrt::Windows::Media::ClosedCaptioning::ClosedCaptionSize>{ using type = enum_category; };
|
|
template <> struct category<winrt::Windows::Media::ClosedCaptioning::ClosedCaptionStyle>{ using type = enum_category; };
|
|
template <> inline constexpr auto& name_v<winrt::Windows::Media::ClosedCaptioning::ClosedCaptionProperties> = L"Windows.Media.ClosedCaptioning.ClosedCaptionProperties";
|
|
template <> inline constexpr auto& name_v<winrt::Windows::Media::ClosedCaptioning::ClosedCaptionColor> = L"Windows.Media.ClosedCaptioning.ClosedCaptionColor";
|
|
template <> inline constexpr auto& name_v<winrt::Windows::Media::ClosedCaptioning::ClosedCaptionEdgeEffect> = L"Windows.Media.ClosedCaptioning.ClosedCaptionEdgeEffect";
|
|
template <> inline constexpr auto& name_v<winrt::Windows::Media::ClosedCaptioning::ClosedCaptionOpacity> = L"Windows.Media.ClosedCaptioning.ClosedCaptionOpacity";
|
|
template <> inline constexpr auto& name_v<winrt::Windows::Media::ClosedCaptioning::ClosedCaptionSize> = L"Windows.Media.ClosedCaptioning.ClosedCaptionSize";
|
|
template <> inline constexpr auto& name_v<winrt::Windows::Media::ClosedCaptioning::ClosedCaptionStyle> = L"Windows.Media.ClosedCaptioning.ClosedCaptionStyle";
|
|
template <> inline constexpr auto& name_v<winrt::Windows::Media::ClosedCaptioning::IClosedCaptionPropertiesStatics> = L"Windows.Media.ClosedCaptioning.IClosedCaptionPropertiesStatics";
|
|
template <> inline constexpr guid guid_v<winrt::Windows::Media::ClosedCaptioning::IClosedCaptionPropertiesStatics>{ 0x10AA1F84,0xCC30,0x4141,{ 0xB5,0x03,0x52,0x72,0x28,0x9E,0x0C,0x20 } }; // 10AA1F84-CC30-4141-B503-5272289E0C20
|
|
template <> struct abi<winrt::Windows::Media::ClosedCaptioning::IClosedCaptionPropertiesStatics>
|
|
{
|
|
struct __declspec(novtable) type : inspectable_abi
|
|
{
|
|
virtual int32_t __stdcall get_FontColor(int32_t*) noexcept = 0;
|
|
virtual int32_t __stdcall get_ComputedFontColor(struct struct_Windows_UI_Color*) noexcept = 0;
|
|
virtual int32_t __stdcall get_FontOpacity(int32_t*) noexcept = 0;
|
|
virtual int32_t __stdcall get_FontSize(int32_t*) noexcept = 0;
|
|
virtual int32_t __stdcall get_FontStyle(int32_t*) noexcept = 0;
|
|
virtual int32_t __stdcall get_FontEffect(int32_t*) noexcept = 0;
|
|
virtual int32_t __stdcall get_BackgroundColor(int32_t*) noexcept = 0;
|
|
virtual int32_t __stdcall get_ComputedBackgroundColor(struct struct_Windows_UI_Color*) noexcept = 0;
|
|
virtual int32_t __stdcall get_BackgroundOpacity(int32_t*) noexcept = 0;
|
|
virtual int32_t __stdcall get_RegionColor(int32_t*) noexcept = 0;
|
|
virtual int32_t __stdcall get_ComputedRegionColor(struct struct_Windows_UI_Color*) noexcept = 0;
|
|
virtual int32_t __stdcall get_RegionOpacity(int32_t*) noexcept = 0;
|
|
};
|
|
};
|
|
template <typename D>
|
|
struct consume_Windows_Media_ClosedCaptioning_IClosedCaptionPropertiesStatics
|
|
{
|
|
[[nodiscard]] auto FontColor() const;
|
|
[[nodiscard]] auto ComputedFontColor() const;
|
|
[[nodiscard]] auto FontOpacity() const;
|
|
[[nodiscard]] auto FontSize() const;
|
|
[[nodiscard]] auto FontStyle() const;
|
|
[[nodiscard]] auto FontEffect() const;
|
|
[[nodiscard]] auto BackgroundColor() const;
|
|
[[nodiscard]] auto ComputedBackgroundColor() const;
|
|
[[nodiscard]] auto BackgroundOpacity() const;
|
|
[[nodiscard]] auto RegionColor() const;
|
|
[[nodiscard]] auto ComputedRegionColor() const;
|
|
[[nodiscard]] auto RegionOpacity() const;
|
|
};
|
|
template <> struct consume<winrt::Windows::Media::ClosedCaptioning::IClosedCaptionPropertiesStatics>
|
|
{
|
|
template <typename D> using type = consume_Windows_Media_ClosedCaptioning_IClosedCaptionPropertiesStatics<D>;
|
|
};
|
|
}
|
|
#endif
|