minor QOL changes

master
Zaafar Ahmed 7 years ago
parent e1c4b9cbba
commit 35f62542aa
  1. 6
      ClickableTransparentOverlay/ClickableTransparentOverlay.csproj
  2. 8
      DriverProgram/DriverProgram.csproj
  3. 13
      DriverProgram/Program.cs
  4. 2
      DriverProgram/Properties/AssemblyInfo.cs

@ -47,15 +47,17 @@
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'"> <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
<OutputPath>bin\x64\Release\</OutputPath> <OutputPath>bin\x64\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants> <DefineConstants>
</DefineConstants>
<Optimize>true</Optimize> <Optimize>true</Optimize>
<DebugType>pdbonly</DebugType> <DebugType>none</DebugType>
<PlatformTarget>x64</PlatformTarget> <PlatformTarget>x64</PlatformTarget>
<ErrorReport>prompt</ErrorReport> <ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<NoWarn> <NoWarn>
</NoWarn> </NoWarn>
<GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<Reference Include="Gma.System.MouseKeyHook, Version=5.6.130.0, Culture=neutral, processorArchitecture=MSIL"> <Reference Include="Gma.System.MouseKeyHook, Version=5.6.130.0, Culture=neutral, processorArchitecture=MSIL">

@ -7,7 +7,7 @@
<ProjectGuid>{370E1945-EF74-4618-A2DE-B5796AC3093E}</ProjectGuid> <ProjectGuid>{370E1945-EF74-4618-A2DE-B5796AC3093E}</ProjectGuid>
<OutputType>Exe</OutputType> <OutputType>Exe</OutputType>
<RootNamespace>DriverProgram</RootNamespace> <RootNamespace>DriverProgram</RootNamespace>
<AssemblyName>DriverProgram</AssemblyName> <AssemblyName>ImGuiDemo</AssemblyName>
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion> <TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment> <FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects> <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
@ -45,9 +45,10 @@
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'"> <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
<OutputPath>bin\x64\Release\</OutputPath> <OutputPath>bin\x64\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants> <DefineConstants>
</DefineConstants>
<Optimize>true</Optimize> <Optimize>true</Optimize>
<DebugType>pdbonly</DebugType> <DebugType>none</DebugType>
<PlatformTarget>x64</PlatformTarget> <PlatformTarget>x64</PlatformTarget>
<ErrorReport>prompt</ErrorReport> <ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
@ -55,6 +56,7 @@
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<NoWarn> <NoWarn>
</NoWarn> </NoWarn>
<GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<Reference Include="ImGui.NET, Version=1.66.0.0, Culture=neutral, processorArchitecture=MSIL"> <Reference Include="ImGui.NET, Version=1.66.0.0, Culture=neutral, processorArchitecture=MSIL">

@ -2,6 +2,7 @@
{ {
using ClickableTransparentOverlay; using ClickableTransparentOverlay;
using ImGuiNET; using ImGuiNET;
using System;
using System.Threading; using System.Threading;
class Program class Program
@ -12,9 +13,15 @@
private static int Fps = 144; private static int Fps = 144;
static void Main(string[] args) static void Main(string[] args)
{ {
//Width = int.Parse(System.IO.File.ReadAllText("config/width.txt")); Console.Write("Enter Screen Width:");
//Height = int.Parse(System.IO.File.ReadAllText("config/height.txt")); Width = Convert.ToInt32(Console.ReadLine());
//Fps = int.Parse(System.IO.File.ReadAllText("config/fps.txt"));
Console.Write("Enter Screen Height:");
Height = Convert.ToInt32(Console.ReadLine());
Console.Write("Enter Monitor Max FPS:");
Fps = Convert.ToInt32(Console.ReadLine());
var EndDemo = new Thread(DistroyDemo); var EndDemo = new Thread(DistroyDemo);
EndDemo.Start(); EndDemo.Start();
StartDemo(); StartDemo();

@ -5,7 +5,7 @@ using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following // General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information // set of attributes. Change these attribute values to modify the information
// associated with an assembly. // associated with an assembly.
[assembly: AssemblyTitle("DriverProgram")] [assembly: AssemblyTitle("ImGuiDemo")]
[assembly: AssemblyDescription("ImGui Demo Window")] [assembly: AssemblyDescription("ImGui Demo Window")]
[assembly: AssemblyConfiguration("")] [assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")] [assembly: AssemblyCompany("")]

Loading…
Cancel
Save