-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1.新增黑白色皮肤设置 2.新增是否透明设置 3.修改图片放大缩小显示的百分比逻辑
- Loading branch information
Showing
23 changed files
with
350 additions
and
332 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
v1.1.12.9 | ||
1.�����ڰ�ɫƤ������ | ||
2.�����Ƿ������� | ||
3.��ͼƬ�Ŵ���С��ʾ�İٷֱ��� | ||
|
||
v1.1.0.316 | ||
1.�������ȹ��� | ||
2.��������״̬���� | ||
|
||
v1.1.0.304 | ||
1.�Ż����б����� | ||
2.����ͼƬ�ļ�������� | ||
|
||
v1.1.0.0 | ||
1.�����ļ��п��ٵ������� |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<configuration> | ||
<configSections> | ||
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" > | ||
<section name="Zhai.PictureView.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" /> | ||
</sectionGroup> | ||
</configSections> | ||
<userSettings> | ||
<Zhai.PictureView.Properties.Settings> | ||
<setting name="IsStartWindowMaximized" serializeAs="String"> | ||
<value>False</value> | ||
</setting> | ||
<setting name="IsWindowDarked" serializeAs="String"> | ||
<value>True</value> | ||
</setting> | ||
<setting name="IsWindowTransparency" serializeAs="String"> | ||
<value>True</value> | ||
</setting> | ||
</Zhai.PictureView.Properties.Settings> | ||
</userSettings> | ||
</configuration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Globalization; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
using System.Windows.Data; | ||
using static Zhai.PictureView.PictureWindow; | ||
|
||
namespace Zhai.PictureView.Converters | ||
{ | ||
internal class PictureViewThemeConverter : IValueConverter | ||
{ | ||
public object Convert(object value, Type targetType, object parameter, CultureInfo culture) | ||
{ | ||
if (value is bool isDarked) | ||
return isDarked ? WindowTheme.Dark : WindowTheme.Light; | ||
|
||
return WindowTheme.Dark; | ||
} | ||
|
||
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.