From 33ea9b563d43687456f66b31e8e0448fc7566f01 Mon Sep 17 00:00:00 2001 From: Canhua Li Date: Tue, 16 Feb 2021 16:04:14 -0800 Subject: [PATCH] Use fluent icons new codepoints for datepicker, timepicker, flipview, scrollbar, pipspage (#4129) * update flip and scrollbar * update calendarview, pipspager, loopcontrols * pipspager --- dev/CalendarView/CalendarView.vcxitems | 5 + .../CalendarView_21h1_themeresources.xaml | 8 ++ .../CalendarView_themeresources.xaml | 7 +- dev/CommonStyles/CommonStyles.vcxitems | 8 ++ .../Common_21h1_themeresources.xaml | 104 ++++++++++++++++++ dev/CommonStyles/Common_themeresources.xaml | 12 ++ dev/FlipView/FlipView_themeresources.xaml | 8 +- dev/PipsPager/PipsPager.vcxitems | 5 + .../PipsPager_21h1_themeresources.xaml | 9 ++ dev/ScrollBar/ScrollBar_themeresources.xaml | 8 +- dev/dll/Microsoft.UI.Xaml.vcxproj | 5 +- 11 files changed, 167 insertions(+), 12 deletions(-) create mode 100644 dev/CalendarView/CalendarView_21h1_themeresources.xaml create mode 100644 dev/CommonStyles/Common_21h1_themeresources.xaml create mode 100644 dev/PipsPager/PipsPager_21h1_themeresources.xaml diff --git a/dev/CalendarView/CalendarView.vcxitems b/dev/CalendarView/CalendarView.vcxitems index b7ecb8caeb..0003faf1c6 100644 --- a/dev/CalendarView/CalendarView.vcxitems +++ b/dev/CalendarView/CalendarView.vcxitems @@ -20,6 +20,11 @@ RS1 ThemeResources + + Latest + 21H1 + ThemeResources + V2dot5 RS1 diff --git a/dev/CalendarView/CalendarView_21h1_themeresources.xaml b/dev/CalendarView/CalendarView_21h1_themeresources.xaml new file mode 100644 index 0000000000..d9b12c0b08 --- /dev/null +++ b/dev/CalendarView/CalendarView_21h1_themeresources.xaml @@ -0,0 +1,8 @@ + + + + + + diff --git a/dev/CalendarView/CalendarView_themeresources.xaml b/dev/CalendarView/CalendarView_themeresources.xaml index 32104c860c..b21162c41f 100644 --- a/dev/CalendarView/CalendarView_themeresources.xaml +++ b/dev/CalendarView/CalendarView_themeresources.xaml @@ -107,6 +107,9 @@ + + diff --git a/dev/CommonStyles/Common_themeresources.xaml b/dev/CommonStyles/Common_themeresources.xaml index d76cd85826..9426bbdea2 100644 --- a/dev/CommonStyles/Common_themeresources.xaml +++ b/dev/CommonStyles/Common_themeresources.xaml @@ -40,4 +40,16 @@ 0 + + + + + + + + + + + + diff --git a/dev/FlipView/FlipView_themeresources.xaml b/dev/FlipView/FlipView_themeresources.xaml index ef1d2e8654..d9173df602 100644 --- a/dev/FlipView/FlipView_themeresources.xaml +++ b/dev/FlipView/FlipView_themeresources.xaml @@ -153,7 +153,7 @@ FontFamily="{ThemeResource SymbolThemeFontFamily}" FontSize="12" Foreground="{ThemeResource FlipViewNextPreviousArrowForeground}" - Glyph="" + Glyph="{ThemeResource FlipViewCaretRight}" HorizontalAlignment="Center" VerticalAlignment="Center" MirroredWhenRightToLeft="True" @@ -202,7 +202,7 @@ FontFamily="{ThemeResource SymbolThemeFontFamily}" FontSize="12" Foreground="{ThemeResource FlipViewNextPreviousArrowForeground}" - Glyph="" + Glyph="{ThemeResource FlipViewCaretLeft}" HorizontalAlignment="Center" VerticalAlignment="Center" MirroredWhenRightToLeft="True" @@ -251,7 +251,7 @@ FontFamily="{ThemeResource SymbolThemeFontFamily}" FontSize="12" Foreground="{ThemeResource FlipViewNextPreviousArrowForeground}" - Glyph="" + Glyph="{ThemeResource FlipViewCaretDown}" HorizontalAlignment="Center" VerticalAlignment="Center" UseLayoutRounding="False" /> @@ -299,7 +299,7 @@ FontFamily="{ThemeResource SymbolThemeFontFamily}" FontSize="12" Foreground="{ThemeResource FlipViewNextPreviousArrowForeground}" - Glyph="" + Glyph="{ThemeResource FlipViewCaretUp}" HorizontalAlignment="Center" VerticalAlignment="Center" UseLayoutRounding="False" /> diff --git a/dev/PipsPager/PipsPager.vcxitems b/dev/PipsPager/PipsPager.vcxitems index 38d8a0cb4e..39d799efc8 100755 --- a/dev/PipsPager/PipsPager.vcxitems +++ b/dev/PipsPager/PipsPager.vcxitems @@ -43,6 +43,11 @@ RS1 ThemeResources + + Latest + 21H1 + ThemeResources + V2dot5 RS1 diff --git a/dev/PipsPager/PipsPager_21h1_themeresources.xaml b/dev/PipsPager/PipsPager_21h1_themeresources.xaml new file mode 100644 index 0000000000..053e76073d --- /dev/null +++ b/dev/PipsPager/PipsPager_21h1_themeresources.xaml @@ -0,0 +1,9 @@ + + + + + + + diff --git a/dev/ScrollBar/ScrollBar_themeresources.xaml b/dev/ScrollBar/ScrollBar_themeresources.xaml index 8c26b5f275..ea7e6a15ab 100755 --- a/dev/ScrollBar/ScrollBar_themeresources.xaml +++ b/dev/ScrollBar/ScrollBar_themeresources.xaml @@ -261,7 +261,7 @@ - + @@ -292,7 +292,7 @@ - + @@ -323,7 +323,7 @@ - + @@ -354,7 +354,7 @@ - + diff --git a/dev/dll/Microsoft.UI.Xaml.vcxproj b/dev/dll/Microsoft.UI.Xaml.vcxproj index 7498f6682c..a414932558 100644 --- a/dev/dll/Microsoft.UI.Xaml.vcxproj +++ b/dev/dll/Microsoft.UI.Xaml.vcxproj @@ -72,6 +72,7 @@ true Any + false @@ -588,14 +589,14 @@ - + - +