-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial commit for the open-source release (v1.4.5)
- Loading branch information
1 parent
36e1eac
commit c555b85
Showing
189 changed files
with
280,521 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,206 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="15.0" 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>{C6A89521-F0C7-474E-8951-D51D247012DF}</ProjectGuid> | ||
<OutputType>Library</OutputType> | ||
<AppDesignerFolder>Properties</AppDesignerFolder> | ||
<RootNamespace>MediaHelper.plugin</RootNamespace> | ||
<AssemblyName>MediaHelper.plugin</AssemblyName> | ||
<TargetFrameworkVersion>v4.8.1</TargetFrameworkVersion> | ||
<FileAlignment>512</FileAlignment> | ||
<Deterministic>true</Deterministic> | ||
<TargetFrameworkProfile /> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
<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' "> | ||
<DebugType>pdbonly</DebugType> | ||
<Optimize>true</Optimize> | ||
<OutputPath>bin\Release\</OutputPath> | ||
<DefineConstants>TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'"> | ||
<DebugSymbols>true</DebugSymbols> | ||
<OutputPath>bin\x64\Debug\</OutputPath> | ||
<DefineConstants>DEBUG;TRACE</DefineConstants> | ||
<DebugType>full</DebugType> | ||
<PlatformTarget>x64</PlatformTarget> | ||
<LangVersion>7.3</LangVersion> | ||
<ErrorReport>prompt</ErrorReport> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'"> | ||
<OutputPath>bin\x64\Release\</OutputPath> | ||
<DefineConstants>TRACE</DefineConstants> | ||
<Optimize>true</Optimize> | ||
<DebugType>pdbonly</DebugType> | ||
<PlatformTarget>x64</PlatformTarget> | ||
<LangVersion>7.3</LangVersion> | ||
<ErrorReport>prompt</ErrorReport> | ||
</PropertyGroup> | ||
<PropertyGroup> | ||
<ApplicationIcon>SharpCut.ico</ApplicationIcon> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Reference Include="SDL2-CS, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL"> | ||
<HintPath>..\packages\bagnz0r.SDL2-CS.1.0.5\lib\netstandard2.0\SDL2-CS.dll</HintPath> | ||
</Reference> | ||
<Reference Include="System" /> | ||
<Reference Include="System.Core" /> | ||
<Reference Include="System.Drawing" /> | ||
<Reference Include="System.Windows.Forms" /> | ||
<Reference Include="System.Xml.Linq" /> | ||
<Reference Include="System.Data.DataSetExtensions" /> | ||
<Reference Include="Microsoft.CSharp" /> | ||
<Reference Include="System.Data" /> | ||
<Reference Include="System.Net.Http" /> | ||
<Reference Include="System.Xml" /> | ||
<Reference Include="WindowsBase" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Compile Include="PluginForm.cs"> | ||
<SubType>Form</SubType> | ||
</Compile> | ||
<Compile Include="PluginForm.Designer.cs"> | ||
<DependentUpon>PluginForm.cs</DependentUpon> | ||
</Compile> | ||
<Compile Include="PreviewBrowserForm.cs"> | ||
<SubType>Form</SubType> | ||
</Compile> | ||
<Compile Include="PreviewBrowserForm.Designer.cs"> | ||
<DependentUpon>PreviewBrowserForm.cs</DependentUpon> | ||
</Compile> | ||
<Compile Include="PreviewBrowserListForm.cs"> | ||
<SubType>Form</SubType> | ||
</Compile> | ||
<Compile Include="PreviewBrowserListForm.Designer.cs"> | ||
<DependentUpon>PreviewBrowserListForm.cs</DependentUpon> | ||
</Compile> | ||
<Compile Include="PreviewBrowserListItem.cs"> | ||
<SubType>UserControl</SubType> | ||
</Compile> | ||
<Compile Include="PreviewBrowserListItem.Designer.cs"> | ||
<DependentUpon>PreviewBrowserListItem.cs</DependentUpon> | ||
</Compile> | ||
<Compile Include="PreviewRenderer.cs" /> | ||
<Compile Include="Properties\Resources.it-IT.Designer.cs"> | ||
<DependentUpon>Resources.it-IT.resx</DependentUpon> | ||
<AutoGen>True</AutoGen> | ||
<DesignTime>True</DesignTime> | ||
</Compile> | ||
<Compile Include="Properties\Resources.Designer.cs"> | ||
<AutoGen>True</AutoGen> | ||
<DesignTime>True</DesignTime> | ||
<DependentUpon>Resources.resx</DependentUpon> | ||
</Compile> | ||
<Compile Include="Properties\Resources.pl-PL.Designer.cs"> | ||
<AutoGen>True</AutoGen> | ||
<DesignTime>True</DesignTime> | ||
<DependentUpon>Resources.pl-PL.resx</DependentUpon> | ||
</Compile> | ||
<Compile Include="SharpCutPlugin.cs" /> | ||
<Compile Include="Properties\AssemblyInfo.cs" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ProjectReference Include="..\SharpCutCommon\SharpCutCommon.csproj"> | ||
<Project>{3d60c365-8002-4b1d-9256-26ca5a68dfee}</Project> | ||
<Name>SharpCutCommon</Name> | ||
</ProjectReference> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<EmbeddedResource Include="PluginForm.it-IT.resx"> | ||
<DependentUpon>PluginForm.cs</DependentUpon> | ||
</EmbeddedResource> | ||
<EmbeddedResource Include="PluginForm.pl-PL.resx"> | ||
<DependentUpon>PluginForm.cs</DependentUpon> | ||
</EmbeddedResource> | ||
<EmbeddedResource Include="PluginForm.resx"> | ||
<DependentUpon>PluginForm.cs</DependentUpon> | ||
</EmbeddedResource> | ||
<EmbeddedResource Include="PreviewBrowserForm.it-IT.resx"> | ||
<DependentUpon>PreviewBrowserForm.cs</DependentUpon> | ||
</EmbeddedResource> | ||
<EmbeddedResource Include="PreviewBrowserForm.pl-PL.resx"> | ||
<DependentUpon>PreviewBrowserForm.cs</DependentUpon> | ||
</EmbeddedResource> | ||
<EmbeddedResource Include="PreviewBrowserForm.resx"> | ||
<DependentUpon>PreviewBrowserForm.cs</DependentUpon> | ||
</EmbeddedResource> | ||
<EmbeddedResource Include="PreviewBrowserListForm.it-IT.resx"> | ||
<DependentUpon>PreviewBrowserListForm.cs</DependentUpon> | ||
</EmbeddedResource> | ||
<EmbeddedResource Include="PreviewBrowserListForm.pl-PL.resx"> | ||
<DependentUpon>PreviewBrowserListForm.cs</DependentUpon> | ||
</EmbeddedResource> | ||
<EmbeddedResource Include="PreviewBrowserListForm.resx"> | ||
<DependentUpon>PreviewBrowserListForm.cs</DependentUpon> | ||
</EmbeddedResource> | ||
<EmbeddedResource Include="PreviewBrowserListItem.resx"> | ||
<DependentUpon>PreviewBrowserListItem.cs</DependentUpon> | ||
</EmbeddedResource> | ||
<EmbeddedResource Include="Properties\Resources.it-IT.resx"> | ||
<Generator>ResXFileCodeGenerator</Generator> | ||
<LastGenOutput>Resources.it-IT.Designer.cs</LastGenOutput> | ||
</EmbeddedResource> | ||
<EmbeddedResource Include="Properties\Resources.pl-PL.resx"> | ||
<Generator>ResXFileCodeGenerator</Generator> | ||
<LastGenOutput>Resources.pl-PL.Designer.cs</LastGenOutput> | ||
</EmbeddedResource> | ||
<EmbeddedResource Include="Properties\Resources.resx"> | ||
<Generator>ResXFileCodeGenerator</Generator> | ||
<LastGenOutput>Resources.Designer.cs</LastGenOutput> | ||
</EmbeddedResource> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Content Include="favicon.ico" /> | ||
<Content Include="SharpCut.ico" /> | ||
<None Include="packages.config" /> | ||
<None Include="Resources\edit-delete1.png" /> | ||
<None Include="Resources\go-next1.png" /> | ||
<None Include="Resources\go-previous2.png" /> | ||
<None Include="Resources\go-previous11.png" /> | ||
<None Include="Resources\media-floppy.png" /> | ||
<Content Include="native\libfreetype-6.dll"> | ||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
</Content> | ||
<Content Include="native\SDL2.dll"> | ||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
</Content> | ||
<Content Include="native\SDL2_ttf.dll"> | ||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
</Content> | ||
<Content Include="native\zlib1.dll"> | ||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
</Content> | ||
<None Include="app.config" /> | ||
<None Include="Resources\edit-delete.png" /> | ||
<None Include="Resources\go-next.png" /> | ||
<None Include="Resources\go-previous1.png" /> | ||
<None Include="Resources\go-previous.png" /> | ||
</ItemGroup> | ||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> | ||
<PropertyGroup> | ||
<PostBuildEvent>echo Copying the MediaHelper plugin... | ||
xcopy $(SolutionDir)MediaHelper.plugin\$(OutDir)MediaHelper.plugin.dll $(SolutionDir)SharpCut\$(OutDir)MediaHelper.plugin.dll /Y /I /E | ||
xcopy $(SolutionDir)MediaHelper.plugin\$(OutDir)native\SDL2.dll $(SolutionDir)SharpCut\$(OutDir)SDL2.dll /Y /I /E | ||
xcopy $(SolutionDir)MediaHelper.plugin\$(OutDir)native\SDL2_ttf.dll $(SolutionDir)SharpCut\$(OutDir)SDL2_ttf.dll /Y /I /E | ||
xcopy $(SolutionDir)MediaHelper.plugin\$(OutDir)native\libfreetype-6.dll $(SolutionDir)SharpCut\$(OutDir)libfreetype-6.dll /Y /I /E | ||
xcopy $(SolutionDir)MediaHelper.plugin\$(OutDir)native\zlib1.dll $(SolutionDir)SharpCut\$(OutDir)zlib1.dll /Y /I /E | ||
xcopy $(SolutionDir)MediaHelper.plugin\$(OutDir)SDL2-CS.dll $(SolutionDir)SharpCut\$(OutDir)SDL2-CS.dll /Y /I /E | ||
|
||
echo Copying the MediaHelper plugin translations... | ||
xcopy $(SolutionDir)MediaHelper.plugin\$(OutDir)pl-PL\* $(SolutionDir)SharpCut\$(OutDir)\pl-PL /Y /I /E | ||
xcopy $(SolutionDir)MediaHelper.plugin\$(OutDir)it-IT\* $(SolutionDir)SharpCut\$(OutDir)\it-IT /Y /I /E</PostBuildEvent> | ||
</PropertyGroup> | ||
</Project> |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.ComponentModel; | ||
using System.Data; | ||
using System.Drawing; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
using System.Windows.Forms; | ||
|
||
namespace MediaHelper.plugin | ||
{ | ||
public partial class PluginForm : Form | ||
{ | ||
bool modifier = false; | ||
|
||
public PluginForm() | ||
{ | ||
InitializeComponent(); | ||
} | ||
|
||
private void PluginForm_FormClosing(object sender, FormClosingEventArgs e) | ||
{ | ||
e.Cancel = true; | ||
Hide(); | ||
} | ||
|
||
private void buttonPreviewBrowser_Click(object sender, EventArgs e) | ||
{ | ||
PreviewBrowserForm previewBrowserForm = new PreviewBrowserForm(); | ||
previewBrowserForm.LoadFromList = modifier; | ||
previewBrowserForm.Show(); | ||
} | ||
|
||
private void PluginForm_DoubleClick(object sender, EventArgs e) | ||
{ | ||
modifier = !modifier; | ||
string modifierText = modifier ? " [!]" : ""; | ||
Text = $"Media Helper{modifierText}"; | ||
} | ||
} | ||
} |
Oops, something went wrong.