Skip to content

Commit

Permalink
Minor adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
flamewave000 committed Apr 10, 2020
1 parent f262926 commit afce850
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Constants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace DirectXHost
{
public static class Constants
{
public const string WindowTitle = "Discord Overlay Host: DirectX";
public const string WindowTitle = "Discord Overlay Host";
public const int StartWidth = 768;
public const int StartHeight = 432;
public const int RefreshRate = 60;
Expand Down
2 changes: 1 addition & 1 deletion DirectXHost.cs
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ private void InitializeRenderForm()
_dxForm.ClientSize = new System.Drawing.Size(Constants.StartWidth, Constants.StartHeight);
_dxForm.MinimumSize = _dxForm.Bounds.Size;
_dxForm.StartPosition = FormStartPosition.CenterScreen;
_dxForm.FormBorderStyle = FormBorderStyle.Sizable;
_dxForm.FormBorderStyle = FormBorderStyle.SizableToolWindow;
_dxForm.GotFocus += (s, e) => ShouldShowOverlayFrame(true);
_dxForm.LostFocus += (s, e) => ShouldShowOverlayFrame(false);
_dxForm.TopMost = false;
Expand Down
20 changes: 10 additions & 10 deletions DirectXHost.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@
<OutputType>WinExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>DirectXHost</RootNamespace>
<AssemblyName>DirectXHost</AssemblyName>
<AssemblyName>Discord Overlay</AssemblyName>
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<IsWebBootstrapper>false</IsWebBootstrapper>
<PublishUrl>publish\</PublishUrl>
<Install>true</Install>
<InstallFrom>Disk</InstallFrom>
Expand All @@ -24,7 +25,6 @@
<MapFileExtensions>true</MapFileExtensions>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<IsWebBootstrapper>false</IsWebBootstrapper>
<UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled>
</PropertyGroup>
Expand All @@ -33,7 +33,7 @@
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\%24%28Configuration%29\</OutputPath>
<OutputPath>bin\$(Configuration)\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
Expand All @@ -42,7 +42,7 @@
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\%24%28Configuration%29\</OutputPath>
<OutputPath>bin\$(Configuration)\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
Expand Down Expand Up @@ -125,11 +125,11 @@
</BootstrapperPackage>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>

0 comments on commit afce850

Please sign in to comment.