|
| 1 | +using Microsoft.UI.Xaml; |
| 2 | +using Microsoft.UI.Xaml.Media; |
| 3 | +using Uno.Extensions.Markup.Internals; |
| 4 | +using Windows.Devices.Bluetooth.Advertisement; |
| 5 | + |
| 6 | +namespace Uno.Themes.Markup |
| 7 | +{ |
| 8 | + public static partial class Theme |
| 9 | + { |
| 10 | + public static class PipsPager |
| 11 | + { |
| 12 | + public static class Resources |
| 13 | + { |
| 14 | + public static class SelectionIndicator |
| 15 | + { |
| 16 | + public static class Foreground |
| 17 | + { |
| 18 | + [ResourceKeyDefinition(typeof(Brush), "PipsPagerSelectionIndicatorForeground")] |
| 19 | + public static ResourceValue<Brush> Default => new("PipsPagerSelectionIndicatorForeground", true); |
| 20 | + |
| 21 | + [ResourceKeyDefinition(typeof(Brush), "PipsPagerSelectionIndicatorForegroundPointerOver")] |
| 22 | + public static ResourceValue<Brush> PointerOver => new("PipsPagerSelectionIndicatorForegroundPointerOver", true); |
| 23 | + |
| 24 | + [ResourceKeyDefinition(typeof(Brush), "PipsPagerSelectionIndicatorForegroundPressed")] |
| 25 | + public static ResourceValue<Brush> Pressed => new("PipsPagerSelectionIndicatorForegroundPressed", true); |
| 26 | + |
| 27 | + [ResourceKeyDefinition(typeof(Brush), "PipsPagerSelectionIndicatorForegroundDisabled")] |
| 28 | + public static ResourceValue<Brush> Disabled => new("PipsPagerSelectionIndicatorForegroundDisabled", true); |
| 29 | + |
| 30 | + [ResourceKeyDefinition(typeof(Brush), "PipsPagerSelectionIndicatorForegroundFocused")] |
| 31 | + public static ResourceValue<Brush> Focused => new("PipsPagerSelectionIndicatorForegroundFocused", true); |
| 32 | + |
| 33 | + [ResourceKeyDefinition(typeof(Brush), "PipsPagerSelectionIndicatorForegroundSelected")] |
| 34 | + public static ResourceValue<Brush> Selected => new("PipsPagerSelectionIndicatorForegroundSelected", true); |
| 35 | + } |
| 36 | + |
| 37 | + public static class Background |
| 38 | + { |
| 39 | + [ResourceKeyDefinition(typeof(Brush), "PipsPagerSelectionIndicatorBackground")] |
| 40 | + public static ResourceValue<Brush> Default => new("PipsPagerSelectionIndicatorBackground", true); |
| 41 | + |
| 42 | + [ResourceKeyDefinition(typeof(Brush), "PipsPagerSelectionIndicatorBackgroundPointerOver")] |
| 43 | + public static ResourceValue<Brush> PointerOver => new("PipsPagerSelectionIndicatorBackgroundPointerOver", true); |
| 44 | + |
| 45 | + [ResourceKeyDefinition(typeof(Brush), "PipsPagerSelectionIndicatorBackgroundPressed")] |
| 46 | + public static ResourceValue<Brush> Pressed => new("PipsPagerSelectionIndicatorBackgroundPressed", true); |
| 47 | + |
| 48 | + [ResourceKeyDefinition(typeof(Brush), "PipsPagerSelectionIndicatorBackgroundSelected")] |
| 49 | + public static ResourceValue<Brush> Selected => new("PipsPagerSelectionIndicatorBackgroundSelected", true); |
| 50 | + |
| 51 | + [ResourceKeyDefinition(typeof(Brush), "PipsPagerSelectionIndicatorBackgroundDisabled")] |
| 52 | + public static ResourceValue<Brush> Disabled => new("PipsPagerSelectionIndicatorBackgroundDisabled", true); |
| 53 | + } |
| 54 | + |
| 55 | + public static class BorderBrush |
| 56 | + { |
| 57 | + [ResourceKeyDefinition(typeof(Brush), "PipsPagerSelectionIndicatorBorderBrush")] |
| 58 | + public static ResourceValue<Brush> Default => new("PipsPagerSelectionIndicatorBorderBrush", true); |
| 59 | + |
| 60 | + [ResourceKeyDefinition(typeof(Brush), "PipsPagerSelectionIndicatorBorderBrushPointerOver")] |
| 61 | + public static ResourceValue<Brush> PointerOver => new("PipsPagerSelectionIndicatorBorderBrushPointerOver", true); |
| 62 | + |
| 63 | + [ResourceKeyDefinition(typeof(Brush), "PipsPagerSelectionIndicatorBorderBrushPressed")] |
| 64 | + public static ResourceValue<Brush> Pressed => new("PipsPagerSelectionIndicatorBorderBrushPressed", true); |
| 65 | + |
| 66 | + [ResourceKeyDefinition(typeof(Brush), "PipsPagerSelectionIndicatorBorderBrushSelected")] |
| 67 | + public static ResourceValue<Brush> Selected => new("PipsPagerSelectionIndicatorBorderBrushSelected", true); |
| 68 | + |
| 69 | + [ResourceKeyDefinition(typeof(Brush), "PipsPagerSelectionIndicatorBorderBrushDisabled")] |
| 70 | + public static ResourceValue<Brush> Disabled => new("PipsPagerSelectionIndicatorBorderBrushDisabled", true); |
| 71 | + } |
| 72 | + |
| 73 | + public static class VisualStateEllipse |
| 74 | + { |
| 75 | + public static class Fill |
| 76 | + { |
| 77 | + [ResourceKeyDefinition(typeof(Brush), "MaterialPipsPagerVisualStateEllipseFill")] |
| 78 | + public static ResourceValue<Brush> Default => new("MaterialPipsPagerVisualStateEllipseFill", true); |
| 79 | + |
| 80 | + [ResourceKeyDefinition(typeof(Brush), "MaterialPipsPagerVisualStateEllipseFillPointerOver")] |
| 81 | + public static ResourceValue<Brush> PointerOver => new("MaterialPipsPagerVisualStateEllipseFillPointerOver", true); |
| 82 | + |
| 83 | + [ResourceKeyDefinition(typeof(Brush), "MaterialPipsPagerVisualStateEllipseFillPressed")] |
| 84 | + public static ResourceValue<Brush> Pressed => new("MaterialPipsPagerVisualStateEllipseFillPressed", true); |
| 85 | + |
| 86 | + [ResourceKeyDefinition(typeof(Brush), "MaterialPipsPagerVisualStateEllipseFillFocused")] |
| 87 | + public static ResourceValue<Brush> Focused => new("MaterialPipsPagerVisualStateEllipseFillFocused", true); |
| 88 | + } |
| 89 | + } |
| 90 | + |
| 91 | + [ResourceKeyDefinition(typeof(double), "PipsPagerHorizontalOrientationButtonWidth")] |
| 92 | + public static ResourceValue<double> HorizontalOrientationWidth => new("PipsPagerHorizontalOrientationButtonWidth", true); |
| 93 | + |
| 94 | + [ResourceKeyDefinition(typeof(double), "PipsPagerVerticalOrientationButtonWidth")] |
| 95 | + public static ResourceValue<double> VerticalOrientationWidth => new("PipsPagerVerticalOrientationButtonWidth", true); |
| 96 | + |
| 97 | + [ResourceKeyDefinition(typeof(double), "PipsPagerHorizontalOrientationButtonHeight")] |
| 98 | + public static ResourceValue<double> HorizontalOrientationHeight => new("PipsPagerHorizontalOrientationButtonHeight", true); |
| 99 | + |
| 100 | + [ResourceKeyDefinition(typeof(double), "PipsPagerVerticalOrientationButtonHeight")] |
| 101 | + public static ResourceValue<double> VerticalOrientationHeight => new("PipsPagerVerticalOrientationButtonHeight", true); |
| 102 | + |
| 103 | + [ResourceKeyDefinition(typeof(Thickness), "PipsPagerButtonBorderThickness")] |
| 104 | + public static ResourceValue<Thickness> BorderThickness => new("PipsPagerButtonBorderThickness", true); |
| 105 | + } |
| 106 | + |
| 107 | + [ResourceKeyDefinition(typeof(double), "PipsPagerNormalEllipseSize")] |
| 108 | + public static ResourceValue<double> NormalEllipseSize => new("PipsPagerNormalEllipseSize", true); |
| 109 | + |
| 110 | + [ResourceKeyDefinition(typeof(double), "PipsPagerSelectedEllipseSize")] |
| 111 | + public static ResourceValue<double> SelectedEllipseSize => new("PipsPagerSelectedEllipseSize", true); |
| 112 | + |
| 113 | + public static class NavigationButton |
| 114 | + { |
| 115 | + public static class Background |
| 116 | + { |
| 117 | + [ResourceKeyDefinition(typeof(Brush), "PipsPagerNavigationButtonBackground")] |
| 118 | + public static ResourceValue<Brush> Default => new("PipsPagerNavigationButtonBackground", true); |
| 119 | + |
| 120 | + [ResourceKeyDefinition(typeof(Brush), "PipsPagerNavigationButtonBackgroundPointerOver")] |
| 121 | + public static ResourceValue<Brush> PointerOver => new("PipsPagerNavigationButtonBackgroundPointerOver", true); |
| 122 | + |
| 123 | + [ResourceKeyDefinition(typeof(Brush), "PipsPagerNavigationButtonBackgroundPressed")] |
| 124 | + public static ResourceValue<Brush> Pressed => new("PipsPagerNavigationButtonBackgroundPressed", true); |
| 125 | + |
| 126 | + [ResourceKeyDefinition(typeof(Brush), "PipsPagerNavigationButtonBackgroundDisabled")] |
| 127 | + public static ResourceValue<Brush> Disabled => new("PipsPagerNavigationButtonBackgroundDisabled", true); |
| 128 | + } |
| 129 | + |
| 130 | + public static class BorderBrush |
| 131 | + { |
| 132 | + [ResourceKeyDefinition(typeof(Brush), "PipsPagerNavigationButtonBorderBrush")] |
| 133 | + public static ResourceValue<Brush> Default => new("PipsPagerNavigationButtonBorderBrush", true); |
| 134 | + |
| 135 | + [ResourceKeyDefinition(typeof(Brush), "PipsPagerNavigationButtonBorderBrushPointerOver")] |
| 136 | + public static ResourceValue<Brush> PointerOver => new("PipsPagerNavigationButtonBorderBrushPointerOver", true); |
| 137 | + |
| 138 | + [ResourceKeyDefinition(typeof(Brush), "PipsPagerNavigationButtonBorderBrushPressed")] |
| 139 | + public static ResourceValue<Brush> Pressed => new("PipsPagerNavigationButtonBorderBrushPressed", true); |
| 140 | + |
| 141 | + [ResourceKeyDefinition(typeof(Brush), "PipsPagerNavigationButtonBorderBrushDisabled")] |
| 142 | + public static ResourceValue<Brush> Disabled => new("PipsPagerNavigationButtonBorderBrushDisabled", true); |
| 143 | + } |
| 144 | + |
| 145 | + public static class Foreground |
| 146 | + { |
| 147 | + [ResourceKeyDefinition(typeof(Brush), "PipsPagerNavigationButtonForeground")] |
| 148 | + public static ResourceValue<Brush> Default => new("PipsPagerNavigationButtonForeground", true); |
| 149 | + |
| 150 | + [ResourceKeyDefinition(typeof(Brush), "PipsPagerNavigationButtonForegroundPointerOver")] |
| 151 | + public static ResourceValue<Brush> PointerOver => new("PipsPagerNavigationButtonForegroundPointerOver", true); |
| 152 | + |
| 153 | + [ResourceKeyDefinition(typeof(Brush), "PipsPagerNavigationButtonForegroundPressed")] |
| 154 | + public static ResourceValue<Brush> Pressed => new("PipsPagerNavigationButtonForegroundPressed", true); |
| 155 | + |
| 156 | + [ResourceKeyDefinition(typeof(Brush), "PipsPagerNavigationButtonForegroundDisabled")] |
| 157 | + public static ResourceValue<Brush> Disabled => new("PipsPagerNavigationButtonForegroundDisabled", true); |
| 158 | + } |
| 159 | + |
| 160 | + public static class VisualStateEllipse |
| 161 | + { |
| 162 | + |
| 163 | + [ResourceKeyDefinition(typeof(double), "PipsPagerNavigationVisualStatesEllipseHeight")] |
| 164 | + public static ResourceValue<double> Height => new("PipsPagerNavigationVisualStatesEllipseHeight", true); |
| 165 | + |
| 166 | + |
| 167 | + [ResourceKeyDefinition(typeof(double), "PipsPagerNavigationVisualStatesEllipseWidth")] |
| 168 | + public static ResourceValue<double> Width => new("PipsPagerNavigationVisualStatesEllipseWidth", true); |
| 169 | + |
| 170 | + public static class Fill |
| 171 | + { |
| 172 | + [ResourceKeyDefinition(typeof(Brush), "MaterialPipsPagerNavigationButtonVisualStateEllipseFill")] |
| 173 | + public static ResourceValue<Brush> Default => new("MaterialPipsPagerNavigationButtonVisualStateEllipseFill", true); |
| 174 | + |
| 175 | + [ResourceKeyDefinition(typeof(Brush), "MaterialPipsPagerNavigationButtonVisualStateEllipseFillPointerOver")] |
| 176 | + public static ResourceValue<Brush> PointerOver => new("MaterialPipsPagerNavigationButtonVisualStateEllipseFillPointerOver", true); |
| 177 | + |
| 178 | + [ResourceKeyDefinition(typeof(Brush), "MaterialPipsPagerNavigationButtonVisualStateEllipseFillPressed")] |
| 179 | + public static ResourceValue<Brush> Pressed => new("MaterialPipsPagerNavigationButtonVisualStateEllipseFillPressed", true); |
| 180 | + |
| 181 | + [ResourceKeyDefinition(typeof(Brush), "MaterialPipsPagerNavigationButtonVisualStateEllipseFillFocused")] |
| 182 | + public static ResourceValue<Brush> Focused => new("MaterialPipsPagerNavigationButtonVisualStateEllipseFillFocused", true); |
| 183 | + |
| 184 | + [ResourceKeyDefinition(typeof(Brush), "MaterialPipsPagerNavigationButtonVisualStateEllipseFillUnfocused")] |
| 185 | + public static ResourceValue<Brush> Unfocused => new("MaterialPipsPagerNavigationButtonVisualStateEllipseFillUnfocused", true); |
| 186 | + } |
| 187 | + } |
| 188 | + |
| 189 | + [ResourceKeyDefinition(typeof(Geometry), "PipsPagerPreviousPageButtonData")] |
| 190 | + public static ResourceValue<Geometry> PreviousPageData => new("PipsPagerPreviousPageButtonData", true); |
| 191 | + |
| 192 | + |
| 193 | + [ResourceKeyDefinition(typeof(Geometry), "PipsPagerNextPageButtonData")] |
| 194 | + public static ResourceValue<Geometry> NextPageData => new("PipsPagerNextPageButtonData", true); |
| 195 | + |
| 196 | + |
| 197 | + [ResourceKeyDefinition(typeof(double), "PipsPagerNavigationButtonHeight")] |
| 198 | + public static ResourceValue<double> Height => new("PipsPagerNavigationButtonHeight", true); |
| 199 | + |
| 200 | + |
| 201 | + [ResourceKeyDefinition(typeof(double), "PipsPagerNavigationButtonWidth")] |
| 202 | + public static ResourceValue<double> Width => new("PipsPagerNavigationButtonWidth", true); |
| 203 | + |
| 204 | + [ResourceKeyDefinition(typeof(Thickness), "PipsPagerNavigationButtonBorderThickness")] |
| 205 | + public static ResourceValue<Thickness> BorderThickness => new("PipsPagerNavigationButtonBorderThickness", true); |
| 206 | + |
| 207 | + [ResourceKeyDefinition(typeof(Thickness), "PipsPagerNavigationButtonPadding")] |
| 208 | + public static ResourceValue<Thickness> Padding => new("PipsPagerNavigationButtonPadding", true); |
| 209 | + } |
| 210 | + } |
| 211 | + } |
| 212 | + } |
| 213 | +} |
| 214 | + |
| 215 | + |
0 commit comments