mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 18:57:19 +02:00
We learned a lot about adding interfaces in WinRT this week. I figured I'd send a PR to write it all down.
16 lines
625 B
Plaintext
16 lines
625 B
Plaintext
// Copyright (c) Microsoft Corporation.
|
|
// Licensed under the MIT license.
|
|
|
|
namespace Microsoft.Terminal.UI
|
|
{
|
|
static runtimeclass IconPathConverter
|
|
{
|
|
// static Windows.UI.Xaml.Controls.IconElement IconWUX(String path);
|
|
// static Windows.UI.Xaml.Controls.IconSource IconSourceWUX(String path);
|
|
static Microsoft.UI.Xaml.Controls.IconSource IconSourceMUX(String path, Boolean convertToGrayscale, String fontFamily);
|
|
static Microsoft.UI.Xaml.Controls.IconElement IconMUX(String path);
|
|
static Microsoft.UI.Xaml.Controls.IconElement IconMUX(String path, Int32 targetSize);
|
|
};
|
|
|
|
}
|