2021-01-18 23:34:07 +01:00
|
|
|
// Copyright (c) Microsoft Corporation.
|
|
|
|
// Licensed under the MIT license.
|
|
|
|
|
|
|
|
namespace Microsoft.Terminal.Settings.Editor
|
|
|
|
{
|
2021-01-19 20:18:07 +01:00
|
|
|
|
2021-08-04 00:25:23 +02:00
|
|
|
[bindable]
|
|
|
|
[default_interface] static runtimeclass Converters
|
|
|
|
{
|
|
|
|
|
|
|
|
static String AppendPercentageSign(Double value);
|
|
|
|
static Windows.UI.Text.FontWeight DoubleToFontWeight(Double value);
|
|
|
|
static Windows.UI.Xaml.Media.SolidColorBrush ColorToBrush(Windows.UI.Color color);
|
|
|
|
static Double FontWeightToDouble(Windows.UI.Text.FontWeight fontWeight);
|
|
|
|
static Boolean InvertBoolean(Boolean value);
|
|
|
|
static Windows.UI.Xaml.Visibility InvertedBooleanToVisibility(Boolean value);
|
|
|
|
static Windows.UI.Color LightenColor(Windows.UI.Color color);
|
|
|
|
static Double MaxValueFromPaddingString(String paddingString);
|
|
|
|
static Int32 PercentageToPercentageValue(Double value);
|
|
|
|
static Double PercentageValueToPercentage(Double value);
|
|
|
|
static Boolean StringsAreNotEqual(String expected, String actual);
|
|
|
|
static Windows.UI.Xaml.Visibility StringNotEmptyToVisibility(String value);
|
2021-10-25 13:17:48 +02:00
|
|
|
static String StringOrEmptyIfPlaceholder(String placeholder, String value);
|
2021-08-04 00:25:23 +02:00
|
|
|
}
|
2021-01-18 23:34:07 +01:00
|
|
|
}
|