| 1 |
/* |
| 2 |
* Copyright (C) 2026 Alistair Leslie-Hughes |
| 3 |
* |
| 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. |
| 8 |
* |
| 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. |
| 13 |
* |
| 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 |
| 17 |
*/ |
| 18 |
|
| 19 |
#ifdef __WIDL__ |
| 20 |
#pragma winrt ns_prefix |
| 21 |
#endif |
| 22 |
|
| 23 |
import "inspectable.idl"; |
| 24 |
import "asyncinfo.idl"; |
| 25 |
import "eventtoken.idl"; |
| 26 |
import "windowscontracts.idl"; |
| 27 |
import "windows.foundation.idl"; |
| 28 |
import "windows.globalization.idl"; |
| 29 |
|
| 30 |
|
| 31 |
namespace Windows.UI.Text |
| 32 |
{ |
| 33 |
typedef enum UnderlineType UnderlineType; |
| 34 |
|
| 35 |
declare |
| 36 |
{ |
| 37 |
interface Windows.Foundation.IReference<Windows.UI.Text.UnderlineType>; |
| 38 |
} |
| 39 |
|
| 40 |
[contract(Windows.Foundation.UniversalApiContract, 1.0)] |
| 41 |
enum UnderlineType |
| 42 |
{ |
| 43 |
Undefined = 0, |
| 44 |
None = 1, |
| 45 |
Single = 2, |
| 46 |
Words = 3, |
| 47 |
Double = 4, |
| 48 |
Dotted = 5, |
| 49 |
Dash = 6, |
| 50 |
DashDot = 7, |
| 51 |
DashDotDot = 8, |
| 52 |
Wave = 9, |
| 53 |
Thick = 10, |
| 54 |
Thin = 11, |
| 55 |
DoubleWave = 12, |
| 56 |
HeavyWave = 13, |
| 57 |
LongDash = 14, |
| 58 |
ThickDash = 15, |
| 59 |
ThickDashDot = 16, |
| 60 |
ThickDashDotDot = 17, |
| 61 |
ThickDotted = 18, |
| 62 |
ThickLongDash = 19 |
| 63 |
}; |
| 64 |
} |