24
24
<!-- MOD END -->
25
25
</ResourceDictionary .MergedDictionaries>
26
26
27
+ <!-- CC Grid Icons -->
28
+ <SolidColorBrush x : Key =" CCIconDefault" Color =" {StaticResource baseColor}" />
29
+ <SolidColorBrush x : Key =" CCIconSelected" Color =" {StaticResource accent75Color}" />
30
+ <SolidColorBrush x : Key =" CCIconSelectedPad" Color =" {StaticResource accent100Color}" />
31
+ <SolidColorBrush x : Key =" CCIconHovered" Color =" {StaticResource accent75Color}" />
32
+
33
+ <SolidColorBrush x : Key =" CCTextPrimary" Color =" {StaticResource tint100}" />
34
+ <SolidColorBrush x : Key =" CCTextNormal" Color =" {StaticResource baseColor}" />
35
+ <SolidColorBrush x : Key =" CCTextLight" Color =" {StaticResource accent75Color}" />
36
+ <SolidColorBrush x : Key =" CCTextLightest" Color =" {StaticResource accent100Color}" />
37
+ <SolidColorBrush x : Key =" CCTextSpecial" Color =" {StaticResource accent25Color}" />
38
+
39
+ <SolidColorBrush x : Key =" CCTabSelected" Color =" {StaticResource tint100}" />
40
+ <SolidColorBrush x : Key =" CCTabToDo" Color =" {StaticResource alertColor}" />
41
+ <SolidColorBrush x : Key =" CCTabDone" Color =" {StaticResource baseColor}" />
42
+
27
43
<BitmapImage x : Key =" LevelUpBanner" UriSource =" pack://application:,,,/GustavNoesisGUI;component/Assets/CC/bannergame.png" />
28
44
<BitmapImage x : Key =" IconRace" UriSource =" pack://application:,,,/GustavNoesisGUI;component/Assets/CC/ico_race.png" />
29
45
<BitmapImage x : Key =" IconClass" UriSource =" pack://application:,,,/GustavNoesisGUI;component/Assets/CC/ico_class.png" />
98
114
</Style >
99
115
100
116
<!-- MOD START - Custom Deity icons -->
101
- <Style x : Key =" DeityIconStyle" TargetType =" Rectangle" BasedOn =" {StaticResource IUI_DeityIconStyle}" >
117
+ <Style x : Key =" DeityIconStyle" TargetType =" Rectangle" BasedOn =" {StaticResource IUI_DeityIconStyle}" >
102
118
<!-- MOD END -->
103
119
<Style .Triggers>
104
120
<DataTrigger Binding =" {Binding Guid}" Value =" 182b6754-ca35-436a-a17a-8d30fe8e8179" >
749
765
<ItemsControl ItemsSource =" {Binding DummyCharacter.Stats.ClassList}" AlternationCount =" {Binding DummyCharacter.Stats.ClassList.Count}" HorizontalAlignment =" Center" >
750
766
<ItemsControl .ItemsPanel>
751
767
<ItemsPanelTemplate >
752
- <WrapPanel IsItemsHost =" True" MaxWidth =" 610" />
768
+ <ls : AlignableWrapPanel HorizontalContentAlignment = " Center " IsItemsHost =" True" MaxWidth =" 610" />
753
769
</ItemsPanelTemplate >
754
770
</ItemsControl .ItemsPanel>
755
771
<ItemsControl .ItemTemplate>
772
788
<Binding Path =" DataContext.DummyCharacter.Stats.ClassList.Count" RelativeSource =" {RelativeSource FindAncestor, AncestorType={x:Type ItemsControl}}" />
773
789
</MultiBinding >
774
790
</StackPanel .Tag>
775
-
791
+
776
792
<TextBlock x : Name =" classInfo" >
777
793
<TextBlock .Text>
778
794
<MultiBinding Converter =" {StaticResource ParameterizedTranslatedStringConverter}" >
795
811
</ItemsControl .ItemTemplate>
796
812
</ItemsControl >
797
813
814
+ <TextBlock x : Name =" SubclassLabel" HorizontalAlignment =" Center" TextWrapping =" Wrap" TextAlignment =" Center" Text =" {Binding DummyCharacter.Stats.ClassList[0].SubclassDisplayName}" Style =" {StaticResource StatsText}" Visibility =" {Binding Text, RelativeSource={RelativeSource Self}, Converter={StaticResource NullToCollapsedConverter}, ConverterParameter='EmptyString'}" >
815
+ <TextBlock .ToolTip>
816
+ <ls : LSTooltip >
817
+ <TextBlock ls:TextBlockFormatter.SourceText=" {Binding Path=DataContext.DummyCharacter.Stats.ClassList[0].SubclassDescription, ElementName=SubclassLabel}" TextWrapping =" Wrap" />
818
+ </ls : LSTooltip >
819
+ </TextBlock .ToolTip>
820
+ </TextBlock >
821
+
798
822
<TextBlock x : Name =" deity" Text =" {Binding DummyCharacter.Stats.God}" Style =" {StaticResource StatsText}" Visibility =" {Binding DummyCharacter.Stats.God, Converter={StaticResource StringToVisibilityConverter}}" >
799
823
<TextBlock .ToolTip>
800
824
<ls : LSTooltip >
864
888
<ls : LSScrollViewer Template =" {StaticResource NoForcedStyleScrollViewerTemplate}" VerticalScrollBarVisibility =" Auto" Margin =" 0,0,0,0"
865
889
Padding =" 0,0,0,20" MaxHeight =" 1080" Width =" 630" >
866
890
<StackPanel HorizontalAlignment =" Left" >
867
- <StackPanel x : Name =" Cantrips" Margin =" 0,20,0,0" Visibility =" {Binding ProgressionCantrips.Count, Converter={StaticResource CountToVisibilityConverter}}" >
868
- <TextBlock ls:TextBlockFormatter.SourceText=" {Binding Source='h7d02199dg44ecg4a1egbcacg9cc1cec197b3', Converter={StaticResource TranslatedStringConverter}}" Foreground =" {DynamicResource CCTextPrimary}" />
869
- <Grid HorizontalAlignment =" Center" >
870
- <Image Style =" {DynamicResource SummarySpellsDecorationStyle}" />
871
- <ItemsControl Style =" {StaticResource SpellSelectorItemControlStyle}" ItemsSource =" {Binding ProgressionCantrips}" HorizontalAlignment =" Center" VerticalAlignment =" Center" />
872
- </Grid >
873
- </StackPanel >
891
+ <StackPanel x : Name =" Cantrips" Margin =" 0,20,0,0" Visibility =" {Binding ProgressionCantrips.Count, Converter={StaticResource CountToVisibilityConverter}}" >
892
+ <TextBlock ls:TextBlockFormatter.SourceText=" {Binding Source='h7d02199dg44ecg4a1egbcacg9cc1cec197b3', Converter={StaticResource TranslatedStringConverter}}" Foreground =" {DynamicResource CCTextPrimary}" />
893
+ <Grid HorizontalAlignment =" Center" >
894
+ <Image Style =" {DynamicResource SummarySpellsDecorationStyle}" />
895
+ <ItemsControl Style =" {StaticResource SpellSelectorItemControlStyle}" ItemsSource =" {Binding ProgressionCantrips}" HorizontalAlignment =" Center" VerticalAlignment =" Center" />
896
+ </Grid >
897
+ </StackPanel >
874
898
875
- <StackPanel x : Name =" Spells" Visibility =" {Binding ProgressionSpells.Count, Converter={StaticResource CountToVisibilityConverter}}" >
876
- <TextBlock ls:TextBlockFormatter.SourceText=" {Binding Source='h2975f9c0gc2aag47d9ga3b3g3dd5171b9bf4', Converter={StaticResource TranslatedStringConverter}}" />
877
- <Grid HorizontalAlignment =" Center" >
878
- <Image Style =" {DynamicResource SummarySpellsDecorationStyle}" />
879
- <ItemsControl Style =" {StaticResource SpellSelectorItemControlStyle}" ItemsSource =" {Binding ProgressionSpells}" HorizontalAlignment =" Center" VerticalAlignment =" Center" />
880
- </Grid >
881
- </StackPanel >
899
+ <StackPanel x : Name =" Spells" Visibility =" {Binding ProgressionSpells.Count, Converter={StaticResource CountToVisibilityConverter}}" >
900
+ <TextBlock ls:TextBlockFormatter.SourceText=" {Binding Source='h2975f9c0gc2aag47d9ga3b3g3dd5171b9bf4', Converter={StaticResource TranslatedStringConverter}}" />
901
+ <Grid HorizontalAlignment =" Center" >
902
+ <Image Style =" {DynamicResource SummarySpellsDecorationStyle}" />
903
+ <ItemsControl Style =" {StaticResource SpellSelectorItemControlStyle}" ItemsSource =" {Binding ProgressionSpells}" HorizontalAlignment =" Center" VerticalAlignment =" Center" />
904
+ </Grid >
905
+ </StackPanel >
882
906
883
- <StackPanel x : Name =" Actions" Visibility =" {Binding ProgressionActions.Count, Converter={StaticResource CountToVisibilityConverter}}" >
884
- <TextBlock ls:TextBlockFormatter.SourceText=" {Binding Source='h7ba895aaga020g4cf0g9ec0g6a98f5eaaa3c', Converter={StaticResource TranslatedStringConverter}}" />
885
- <Grid HorizontalAlignment =" Center" >
886
- <Image Style =" {DynamicResource SummarySpellsDecorationStyle}" />
887
- <ItemsControl Style =" {StaticResource SpellSelectorItemControlStyle}" ItemsSource =" {Binding ProgressionActions}" HorizontalAlignment =" Center" VerticalAlignment =" Center" />
888
- </Grid >
889
- </StackPanel >
907
+ <StackPanel x : Name =" Actions" Visibility =" {Binding ProgressionActions.Count, Converter={StaticResource CountToVisibilityConverter}}" >
908
+ <TextBlock ls:TextBlockFormatter.SourceText=" {Binding Source='h7ba895aaga020g4cf0g9ec0g6a98f5eaaa3c', Converter={StaticResource TranslatedStringConverter}}" />
909
+ <Grid HorizontalAlignment =" Center" >
910
+ <Image Style =" {DynamicResource SummarySpellsDecorationStyle}" />
911
+ <ItemsControl Style =" {StaticResource SpellSelectorItemControlStyle}" ItemsSource =" {Binding ProgressionActions}" HorizontalAlignment =" Center" VerticalAlignment =" Center" />
912
+ </Grid >
913
+ </StackPanel >
890
914
891
- <TextBlock x : Name =" ProficienciesTitle" ls:TextBlockFormatter.SourceText=" {Binding Source='hbdc95889g6f3fg46efg9993g036cf077a0e7', Converter={StaticResource TranslatedStringConverter}}" Margin =" 0,20,0,0" />
892
- <StackPanel HorizontalAlignment =" Center" Margin =" 0,10,0,20" >
915
+ <TextBlock x : Name =" ProficienciesTitle" ls:TextBlockFormatter.SourceText=" {Binding Source='hbdc95889g6f3fg46efg9993g036cf077a0e7', Converter={StaticResource TranslatedStringConverter}}" Margin =" 0,20,0,0" />
916
+ <StackPanel HorizontalAlignment =" Center" Margin =" 0,10,0,20" >
893
917
894
- <Control Template =" {StaticResource boostList}" DataContext =" {Binding ProgressionData.AllProgressions.WeaponProficiencies}" Visibility =" {Binding ProgressionData.AllProgressions.WeaponProficiencies.Count, Converter={StaticResource CountToVisibilityConverter}}" >
895
- <Control .Resources>
896
- <ControlTemplate x : Key =" labelTemplate" >
897
- <TextBlock ls:TextBlockFormatter.SourceText=" {Binding Source=h4a198683gedadg497dg9f15ga8606e44fc56, Converter={StaticResource TranslatedStringConverter}, StringFormat='{}{0} - '}" FontSize =" {StaticResource ScaledDefaultFontSize}" Foreground =" {StaticResource CCTextPrimary}" />
898
- </ControlTemplate >
899
- </Control .Resources>
900
- </Control >
918
+ <Control Template =" {StaticResource boostList}" DataContext =" {Binding ProgressionData.AllProgressions.WeaponProficiencies}" Visibility =" {Binding ProgressionData.AllProgressions.WeaponProficiencies.Count, Converter={StaticResource CountToVisibilityConverter}}" >
919
+ <Control .Resources>
920
+ <ControlTemplate x : Key =" labelTemplate" >
921
+ <TextBlock ls:TextBlockFormatter.SourceText=" {Binding Source=h4a198683gedadg497dg9f15ga8606e44fc56, Converter={StaticResource TranslatedStringConverter}, StringFormat='{}{0} - '}" FontSize =" {StaticResource ScaledDefaultFontSize}" Foreground =" {StaticResource CCTextPrimary}" />
922
+ </ControlTemplate >
923
+ </Control .Resources>
924
+ </Control >
901
925
902
- <Control Template =" {StaticResource boostList}" DataContext =" {Binding ProgressionData.AllProgressions.ArmourProficiencies}" Visibility =" {Binding ProgressionData.AllProgressions.ArmourProficiencies.Count, Converter={StaticResource CountToVisibilityConverter}}" >
903
- <Control .Resources>
904
- <ControlTemplate x : Key =" labelTemplate" >
905
- <TextBlock ls:TextBlockFormatter.SourceText=" {Binding Source=had29e589gd812g473bg90dfg66d1280fbbf1, Converter={StaticResource TranslatedStringConverter}, StringFormat='{}{0} - '}" FontSize =" {StaticResource ScaledDefaultFontSize}" Foreground =" {StaticResource CCTextPrimary}" />
906
- </ControlTemplate >
907
- </Control .Resources>
908
- </Control >
926
+ <Control Template =" {StaticResource boostList}" DataContext =" {Binding ProgressionData.AllProgressions.ArmourProficiencies}" Visibility =" {Binding ProgressionData.AllProgressions.ArmourProficiencies.Count, Converter={StaticResource CountToVisibilityConverter}}" >
927
+ <Control .Resources>
928
+ <ControlTemplate x : Key =" labelTemplate" >
929
+ <TextBlock ls:TextBlockFormatter.SourceText=" {Binding Source=had29e589gd812g473bg90dfg66d1280fbbf1, Converter={StaticResource TranslatedStringConverter}, StringFormat='{}{0} - '}" FontSize =" {StaticResource ScaledDefaultFontSize}" Foreground =" {StaticResource CCTextPrimary}" />
930
+ </ControlTemplate >
931
+ </Control .Resources>
932
+ </Control >
909
933
910
- <Control Template =" {StaticResource skillProgressions}" DataContext =" {Binding SortedItems, ElementName=SortedSummarySkills}" />
934
+ <Control Template =" {StaticResource skillProgressions}" DataContext =" {Binding SortedItems, ElementName=SortedSummarySkills}" />
911
935
912
- </StackPanel >
936
+ </StackPanel >
913
937
</StackPanel >
914
938
</ls : LSScrollViewer >
915
939
944
968
<Setter TargetName =" ProficienciesTitle" Property =" Visibility" Value =" Collapsed" />
945
969
</MultiDataTrigger >
946
970
971
+ <!-- Hide subclass when Multiclassing-->
972
+ <DataTrigger Binding =" {Binding DummyCharacter.stats.ClassList.Count, Converter={StaticResource GreaterThanConverter}, ConverterParameter=1}" Value =" True" >
973
+ <Setter TargetName =" SubclassLabel" Property =" Visibility" Value =" Collapsed" />
974
+ </DataTrigger >
975
+
976
+
947
977
<!-- ToDo: update with assets when avaiable -->
948
978
<DataTrigger Binding =" {Binding ElementName=statInitiative, Path=IsFocused}" Value =" True" >
949
979
<Setter TargetName =" statInitiative" Property =" Background" Value =" White" />
1179
1209
<Grid Background =" Black" Opacity =" 0.9" />
1180
1210
</ControlTemplate >
1181
1211
1182
- </ResourceDictionary >
1212
+ </ResourceDictionary >
0 commit comments