Skip to content

Commit 4a58ac9

Browse files
authored
Add files via upload
1 parent 5707b89 commit 4a58ac9

File tree

3 files changed

+196
-49
lines changed

3 files changed

+196
-49
lines changed

ImprovedUI/Public/Game/GUI/Library/DataTemplates.xaml

+7-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,9 @@
8989

9090
<!-- Section styles -->
9191

92-
<Style TargetType="Image" x:Key="ActionResourceTypeIdToSource" BasedOn="{StaticResource IUI_ActionResourceTypeIdToSource}">
92+
<!-- MOD START - Custom modded action resources -->
93+
<Style TargetType="Image" x:Key="ActionResourceTypeIdToSource" BasedOn="{StaticResource IUI_ActionResourceTypeIdToSource}">
94+
<!-- MOD END -->
9395
<Style.Triggers>
9496
<DataTrigger Binding="{Binding TypeId}" Value="ActionPoint">
9597
<Setter Property="Source" Value="{StaticResource IconActionPoint}"/>
@@ -160,6 +162,7 @@
160162
</Style.Triggers>
161163
</Style>
162164

165+
<!-- MOD START - Custom backgrounds, taken directly from DefaultTheme.Styles and just overwritten here -->
163166
<Style x:Key="BackgroundIconStyle" TargetType="Rectangle" BasedOn="{StaticResource IUI_BackgroundIconStyle}">
164167
<Style.Triggers>
165168
<DataTrigger Binding="{Binding Guid}" Value="633aa4be-365f-4358-ba56-e2b85f9a88ec">
@@ -332,8 +335,11 @@
332335
</DataTrigger>
333336
</Style.Triggers>
334337
</Style>
338+
<!-- MOD END -->
335339

340+
<!-- MOD START - Custom action resource icons -->
336341
<Style TargetType="Image" x:Key="SectionImageStyle" BasedOn="{StaticResource ActionResourceTypeIdToSource}">
342+
<!-- MOD END -->
337343
<Setter Property="Source" Value="pack://application:,,,/GustavNoesisGUI;component/Assets/Shared/ico_red_star.png"/>
338344
<Setter Property="Width" Value="{StaticResource IconActionPointSize}"/>
339345
<Setter Property="MaxHeight" Value="{StaticResource IconActionPointSize}"/>

0 commit comments

Comments
 (0)