Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
rex706 committed Sep 10, 2016
1 parent c618b60 commit 3783135
Show file tree
Hide file tree
Showing 21 changed files with 976 additions and 0 deletions.
22 changes: 22 additions & 0 deletions ARMA FOV Changer.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.25420.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ARMA FOV Changer", "ARMA FOV Changer\ARMA FOV Changer.csproj", "{B5F384FB-64FE-497C-90B3-5DC5546DDA96}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{B5F384FB-64FE-497C-90B3-5DC5546DDA96}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B5F384FB-64FE-497C-90B3-5DC5546DDA96}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B5F384FB-64FE-497C-90B3-5DC5546DDA96}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B5F384FB-64FE-497C-90B3-5DC5546DDA96}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
132 changes: 132 additions & 0 deletions ARMA FOV Changer/ARMA FOV Changer.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{B5F384FB-64FE-497C-90B3-5DC5546DDA96}</ProjectGuid>
<OutputType>WinExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>ARMA_FOV_Changer</RootNamespace>
<AssemblyName>ARMA FOV Changer</AssemblyName>
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<WarningLevel>4</WarningLevel>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>Eye-Visible-512.ico</ApplicationIcon>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Drawing" />
<Reference Include="System.Xml" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Xaml">
<RequiredTargetFramework>4.0</RequiredTargetFramework>
</Reference>
<Reference Include="WindowsBase" />
<Reference Include="PresentationCore" />
<Reference Include="PresentationFramework" />
</ItemGroup>
<ItemGroup>
<ApplicationDefinition Include="App.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</ApplicationDefinition>
<Compile Include="Splash.xaml.cs">
<DependentUpon>Splash.xaml</DependentUpon>
</Compile>
<Page Include="MainWindow.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Compile Include="App.xaml.cs">
<DependentUpon>App.xaml</DependentUpon>
<SubType>Code</SubType>
</Compile>
<Compile Include="MainWindow.xaml.cs">
<DependentUpon>MainWindow.xaml</DependentUpon>
<SubType>Code</SubType>
</Compile>
<Page Include="Splash.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
</ItemGroup>
<ItemGroup>
<Compile Include="Properties\AssemblyInfo.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<AppDesigner Include="Properties\" />
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<ItemGroup>
<Resource Include="armaiioa-logo_glow.png" />
</ItemGroup>
<ItemGroup>
<Resource Include="armaiioa-logo.png" />
</ItemGroup>
<ItemGroup>
<Resource Include="ArmA_3_Logo.png" />
</ItemGroup>
<ItemGroup>
<Resource Include="ArmA_3_Logo_glow.png" />
</ItemGroup>
<ItemGroup>
<Resource Include="Eye-Visible-512.ico" />
</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>
-->
</Project>
6 changes: 6 additions & 0 deletions ARMA FOV Changer/App.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
</startup>
</configuration>
9 changes: 9 additions & 0 deletions ARMA FOV Changer/App.xaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<Application x:Class="ARMA_FOV_Changer.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:ARMA_FOV_Changer"
StartupUri="MainWindow.xaml">
<Application.Resources>

</Application.Resources>
</Application>
18 changes: 18 additions & 0 deletions ARMA FOV Changer/App.xaml.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;

namespace ARMA_FOV_Changer
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{

}
}
Binary file added ARMA FOV Changer/ArmA_3_Logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ARMA FOV Changer/ArmA_3_Logo_glow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ARMA FOV Changer/Crime_icon-icons.com_54190.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ARMA FOV Changer/Eye-Visible-512.ico
Binary file not shown.
45 changes: 45 additions & 0 deletions ARMA FOV Changer/MainWindow.xaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<Window x:Class="ARMA_FOV_Changer.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:ARMA_FOV_Changer"
mc:Ignorable="d"
Title="ArmA FOV Changer" Height="305" Width="478" ResizeMode="CanMinimize" WindowStartupLocation="CenterScreen" Visibility="Visible" Background="White" Icon="Eye-Visible-512.ico">
<Grid>
<DockPanel>
<Menu x:Name="FileMenu" DockPanel.Dock="Top" Height="20" VerticalAlignment="Top" Background="#FFF1F1F1">
<MenuItem Header="File">
<MenuItem Header="Select Profile" Click="ProfileMenuItem_Click"/>
<Separator />
<MenuItem Header="Exit" Click="ExitMenuItem_Click" />
</MenuItem>
<MenuItem Header="Help">
<MenuItem Header="GitHub" Click="GitMenuItem_Click" />
</MenuItem>
</Menu>
</DockPanel>
<Separator Margin="10,107,10,153"/>
<TextBox x:Name="DesiredFovLeftTextBox" HorizontalAlignment="Left" Height="23" Margin="362,179,0,0" TextWrapping="Wrap" Text="" VerticalAlignment="Top" Width="48"/>
<TextBox x:Name="DesiredFovTopTextBox" HorizontalAlignment="Left" Height="23" Margin="362,152,0,0" TextWrapping="Wrap" Text="" VerticalAlignment="Top" Width="48"/>
<Label x:Name="currentLabel" Content="Current" Height="27" VerticalAlignment="Top" Margin="28,121,341,0"/>
<Label x:Name="fovSliderLabel" Content="Desired FOV" Height="27" VerticalAlignment="Top" Margin="290,27,49,0" HorizontalContentAlignment="Center"/>
<Label x:Name="fovLabel" Content="" Height="27" VerticalAlignment="Center" Margin="320,53,80,197" HorizontalAlignment="Center" Width="73" HorizontalContentAlignment="Center"/>
<Slider x:Name="fovSlider" Value="90" Minimum="75" Maximum="120" Height="24" VerticalAlignment="Top" Margin="270,76,27,0" ValueChanged="fovSlider_ValueChanged" IsSnapToTickEnabled="True" TickFrequency="1" TickPlacement="BottomRight"/>
<Label x:Name="aspectRatioLabel" Content="" Height="27" VerticalAlignment="Top" Margin="202,71,214,0"/>
<Label x:Name="profileLabelLabel" Content="Profile:" HorizontalAlignment="Left" Margin="28,27,0,0" VerticalAlignment="Top"/>
<Label x:Name="profileLabel" Content="" HorizontalAlignment="Left" Margin="79,28,0,0" VerticalAlignment="Top" Width="191"/>
<Label x:Name="resolutionLabel" Content="Resolution:" HorizontalAlignment="Left" Margin="28,70,0,0" VerticalAlignment="Top"/>
<TextBox x:Name="widthTextBox" HorizontalAlignment="Left" Height="23" Margin="101,74,0,0" TextWrapping="Wrap" Text="" VerticalAlignment="Top" Width="40" TextChanged="widthTextBox_TextChanged"/>
<Label x:Name="xlabel" Content="x" HorizontalAlignment="Left" Margin="141,71,0,0" VerticalAlignment="Top"/>
<TextBox x:Name="heightTextBox" HorizontalAlignment="Left" Height="23" Margin="157,74,0,0" TextWrapping="Wrap" Text="" VerticalAlignment="Top" Width="40" TextChanged="heightTextBox_TextChanged"/>
<Label x:Name="fovTopLabel" Content="FovTop:" HorizontalAlignment="Left" Margin="29,148,0,0" VerticalAlignment="Top" Width="55"/>
<Label x:Name="fovLeftLabel" Content="FovLeft:" HorizontalAlignment="Left" Margin="29,176,0,0" VerticalAlignment="Top" Width="55"/>
<Label x:Name="CurrentFovTopLabel" HorizontalAlignment="Left" Height="23" Margin="84,149,0,0" Content="" VerticalAlignment="Top" Width="120"/>
<Label x:Name="CurrentFovLeftLabel" HorizontalAlignment="Left" Height="23" Margin="84,177,0,0" Content="" VerticalAlignment="Top" Width="120"/>
<Button x:Name="saveButton" Content="Save" HorizontalAlignment="Left" Margin="10,221,0,0" VerticalAlignment="Top" Width="444" Click="saveButton_Click" Height="37"/>
<Label x:Name="fovTopLabel_Copy" Content="FovTop:" HorizontalAlignment="Left" Margin="297,148,0,0" VerticalAlignment="Top"/>
<Label x:Name="fovLeftLabel_Copy" Content="FovLeft:" HorizontalAlignment="Left" Margin="297,176,0,0" VerticalAlignment="Top"/>
<Label x:Name="newLabel" Content="New" Height="27" VerticalAlignment="Top" Margin="297,122,103,0"/>
</Grid>
</Window>
Loading

0 comments on commit 3783135

Please sign in to comment.