Skip to content

Commit b44173e

Browse files
authored
Merge pull request #21 from lucidcode/dpi-aware
Make process DPI aware
2 parents dca3e51 + d2fd2c5 commit b44173e

3 files changed

Lines changed: 10 additions & 5 deletions

File tree

Halovision/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("1.3.0.0")]
36-
[assembly: AssemblyFileVersion("1.3.0.0")]
35+
[assembly: AssemblyVersion("1.3.1.0")]
36+
[assembly: AssemblyFileVersion("1.3.1.0")]

Halovision/VisionForm.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,12 @@
1818

1919
namespace lucidcode.LucidScribe.Plugin.Halovision
2020
{
21+
2122
public partial class VisionForm : Form
2223
{
24+
[System.Runtime.InteropServices.DllImport("user32.dll")]
25+
public static extern bool SetProcessDPIAware();
26+
2327
private string lucidScribeDataPath = $"{Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments)}\\lucidcode\\Lucid Scribe";
2428

2529
public delegate void ReconnectHanlder();
@@ -75,6 +79,7 @@ private void PortForm_Load(object sender, EventArgs e)
7579
{
7680
try
7781
{
82+
SetProcessDPIAware();
7883
LoadVideoDevices();
7984
LoadClassifiers();
8085
LoadSettings();

Installer/Lucid Scribe Halovision.vdproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28626,15 +28626,15 @@
2862628626
{
2862728627
"Name" = "8:Microsoft Visual Studio"
2862828628
"ProductName" = "8:Lucid Scribe Halovision"
28629-
"ProductCode" = "8:{7EDFD84B-BBFD-4883-B987-C3125EF36595}"
28630-
"PackageCode" = "8:{DCD15C6E-BE54-4E96-B2FA-9F50AC7397BF}"
28629+
"ProductCode" = "8:{A21E5548-9B6C-44DD-9DC9-D35791ADA991}"
28630+
"PackageCode" = "8:{FD65C752-4C44-4E83-A175-7F7475ADCB49}"
2863128631
"UpgradeCode" = "8:{CAAB2187-AD23-435C-A3DB-568744247625}"
2863228632
"AspNetVersion" = "8:4.0.30319.0"
2863328633
"RestartWWWService" = "11:FALSE"
2863428634
"RemovePreviousVersions" = "11:TRUE"
2863528635
"DetectNewerInstalledVersion" = "11:TRUE"
2863628636
"InstallAllUsers" = "11:TRUE"
28637-
"ProductVersion" = "8:1.3.0"
28637+
"ProductVersion" = "8:1.3.1"
2863828638
"Manufacturer" = "8:lucidcode"
2863928639
"ARPHELPTELEPHONE" = "8:"
2864028640
"ARPHELPLINK" = "8:http://www.lucidcode.com/Contact"

0 commit comments

Comments
 (0)