po: Update Lithuanian translation.
[wine.git] / include / windows.media.closedcaptioning.idl
blob5e53ced1a5086daca889a22f4380a09d9a7f718f
1 /*
2 * Copyright 2022 Mohamad Al-Jaf
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #ifdef __WIDL__
20 #pragma winrt ns_prefix
21 #endif
23 import "inspectable.idl";
24 import "asyncinfo.idl";
25 import "eventtoken.idl";
26 import "windowscontracts.idl";
27 import "windows.foundation.idl";
28 import "windows.ui.idl";
30 namespace Windows.Media.ClosedCaptioning {
31 typedef enum ClosedCaptionColor ClosedCaptionColor;
32 typedef enum ClosedCaptionEdgeEffect ClosedCaptionEdgeEffect;
33 typedef enum ClosedCaptionOpacity ClosedCaptionOpacity;
34 typedef enum ClosedCaptionSize ClosedCaptionSize;
35 typedef enum ClosedCaptionStyle ClosedCaptionStyle;
37 interface IClosedCaptionPropertiesStatics;
39 runtimeclass ClosedCaptionProperties;
42 contract(Windows.Foundation.UniversalApiContract, 1.0)
44 enum ClosedCaptionColor
46 Default = 0,
47 White = 1,
48 Black = 2,
49 Red = 3,
50 Green = 4,
51 Blue = 5,
52 Yellow = 6,
53 Magenta = 7,
54 Cyan = 8,
58 contract(Windows.Foundation.UniversalApiContract, 1.0)
60 enum ClosedCaptionEdgeEffect
62 Default = 0,
63 None = 1,
64 Raised = 2,
65 Depressed = 3,
66 Uniform = 4,
67 DropShadow = 5,
71 contract(Windows.Foundation.UniversalApiContract, 1.0)
73 enum ClosedCaptionOpacity
75 Default = 0,
76 OneHundredPercent = 1,
77 SeventyFivePercent = 2,
78 TwentyFivePercent = 3,
79 ZeroPercent = 4,
83 contract(Windows.Foundation.UniversalApiContract, 1.0)
85 enum ClosedCaptionSize
87 Default = 0,
88 FiftyPercent = 1,
89 OneHundredPercent = 2,
90 OneHundredFiftyPercent = 3,
91 TwoHundredPercent = 4,
95 contract(Windows.Foundation.UniversalApiContract, 1.0)
97 enum ClosedCaptionStyle
99 Default = 0,
100 MonospacedWithSerifs = 1,
101 ProportionalWithSerifs = 2,
102 MonospacedWithoutSerifs = 3,
103 ProportionalWithoutSerifs = 4,
104 Casual = 5,
105 Cursive = 6,
106 SmallCapitals = 7,
110 contract(Windows.Foundation.UniversalApiContract, 1.0),
111 exclusiveto(Windows.Media.ClosedCaptioning.ClosedCaptionProperties),
112 uuid(10aa1f84-cc30-4141-b503-5272289e0c20)
114 interface IClosedCaptionPropertiesStatics : IInspectable
116 [propget] HRESULT FontColor([out, retval] Windows.Media.ClosedCaptioning.ClosedCaptionColor *value);
117 [propget] HRESULT ComputedFontColor([out, retval] Windows.UI.Color *value);
118 [propget] HRESULT FontOpacity([out, retval] Windows.Media.ClosedCaptioning.ClosedCaptionOpacity *value);
119 [propget] HRESULT FontSize([out, retval] Windows.Media.ClosedCaptioning.ClosedCaptionSize *value);
120 [propget] HRESULT FontStyle([out, retval] Windows.Media.ClosedCaptioning.ClosedCaptionStyle *value);
121 [propget] HRESULT FontEffect([out, retval] Windows.Media.ClosedCaptioning.ClosedCaptionEdgeEffect *value);
122 [propget] HRESULT BackgroundColor([out, retval] Windows.Media.ClosedCaptioning.ClosedCaptionColor *value);
123 [propget] HRESULT ComputedBackgroundColor([out, retval] Windows.UI.Color *value);
124 [propget] HRESULT BackgroundOpacity([out, retval] Windows.Media.ClosedCaptioning.ClosedCaptionOpacity *value);
125 [propget] HRESULT RegionColor([out, retval] Windows.Media.ClosedCaptioning.ClosedCaptionColor *value);
126 [propget] HRESULT ComputedRegionColor([out, retval] Windows.UI.Color *value);
127 [propget] HRESULT RegionOpacity([out, retval] Windows.Media.ClosedCaptioning.ClosedCaptionOpacity *value);
131 contract(Windows.Foundation.UniversalApiContract, 1.0),
132 marshaling_behavior(agile),
133 static(Windows.Media.ClosedCaptioning.IClosedCaptionPropertiesStatics, Windows.Foundation.UniversalApiContract, 1.0),
134 threading(both)
136 runtimeclass ClosedCaptionProperties