git-svn-id: http://svn.sourceforge.jp/svnroot/lipsync@4 b1f601f4-4f45-0410-8980-aecacb008692

This commit is contained in:
kbinani
2009-06-25 14:06:02 +00:00
parent c71eedcc2f
commit 09b7366d95
597 changed files with 64861 additions and 0 deletions

4
trunk/VFlip/CVS/Entries Normal file
View File

@@ -0,0 +1,4 @@
/VFlip.cs/1.5/Wed Aug 20 07:56:57 2008//
/VFlip.csproj/1.3/Wed Apr 16 16:32:58 2008//
/makefile/1.1/Sat Aug 23 07:45:14 2008//
D

View File

@@ -0,0 +1,3 @@
/VFlip.cs////*///
/VFlip.csproj////*///
/makefile////*///

View File

View File

@@ -0,0 +1 @@
A D/Properties////

View File

View File

@@ -0,0 +1 @@
lipsync/VFlip

1
trunk/VFlip/CVS/Root Normal file
View File

@@ -0,0 +1 @@
:pserver:anonymous@cvs.sourceforge.jp:/cvsroot/lipsync

0
trunk/VFlip/CVS/Template Normal file
View File

View File

@@ -0,0 +1,35 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle( "VFlip" )]
[assembly: AssemblyDescription( "" )]
[assembly: AssemblyConfiguration( "" )]
[assembly: AssemblyCompany( "Boare" )]
[assembly: AssemblyProduct( "VFlip" )]
[assembly: AssemblyCopyright( "Copyright (C) 2007" )]
[assembly: AssemblyTrademark( "" )]
[assembly: AssemblyCulture( "" )]
// ComVisible を false に設定すると、このアセンブリ内の型は COM コンポーネントには
// 参照不可能になります。COM からこのアセンブリ内の型にアクセスする場合は、
// その型の ComVisible 属性を true に設定してください。
[assembly: ComVisible( false )]
// 次の GUID は、このプロジェクトが COM に公開される場合の、typelib の ID です
[assembly: Guid( "4614ec4b-a485-47a6-a7ce-8e5d4869896f" )]
// アセンブリのバージョン情報は、以下の 4 つの値で構成されています:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// すべての値を指定するか、下のように '*' を使ってリビジョンおよびビルド番号を
// 既定値にすることができます:
[assembly: AssemblyVersion( "1.0.0.0" )]
[assembly: AssemblyFileVersion( "1.0.0.0" )]

View File

@@ -0,0 +1,2 @@
/AssemblyInfo.cs/1.2/Thu Jul 31 11:12:29 2008//
D

View File

@@ -0,0 +1 @@
/AssemblyInfo.cs////*///

View File

View File

@@ -0,0 +1 @@
lipsync/VFlip/Properties

View File

@@ -0,0 +1 @@
:pserver:anonymous@cvs.sourceforge.jp:/cvsroot/lipsync

View File

86
trunk/VFlip/VFlip.cs Normal file
View File

@@ -0,0 +1,86 @@
using System;
using System.Drawing;
using System.Windows.Forms;
using Plugin;
namespace VFlip {
public class VFlip : IPlugin{
private string m_language = "en";
/// <summary>
/// プラグインの名称
/// </summary>
public string Name {
get {
return "VFlip";
}
}
public void ApplyLanguage( string language_code ) {
if ( ISO639.CheckValidity( language_code ) ) {
m_language = language_code;
}
}
/// <summary>
/// プラグインのタイプを表す。
/// </summary>
public ulong Type {
get {
return Plugin.Constants.LS_NO_EVENT_HANDLER;
}
}
/// <summary>
/// プラグインの簡潔な説明文。
/// </summary>
public string Abstract {
get {
if ( m_language == "ja" ) {
return "画像の上下を反転させるプラグインです";
} else {
return "vertically flip the image";
}
}
}
/// <summary>
/// イベントハンドラ。このプラグインの設定メニューが押された時呼び出されます。
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
public DialogResult BaseSetting() {
return DialogResult.Cancel;
}
public DialogResult EntrySetting(ref string entry_config ) {
return DialogResult.Cancel;
}
/// <summary>
/// 設定値を格納した文字列を指定します。
/// </summary>
/// <returns></returns>
public string Config {
get {
return "";
}
set { }
}
/// <summary>
/// フレームに加工を施す関数
/// </summary>
/// <param name="bmp"></param>
/// <param name="time"></param>
public void Apply( ref Bitmap bmp, float time, float e_begin, float e_end, ref string e_body ) {
bmp.RotateFlip( RotateFlipType.RotateNoneFlipY );
}
public void Render( Graphics g, Size size, float time, string mouth, string reserved ) {
}
}
}

65
trunk/VFlip/VFlip.csproj Normal file
View File

@@ -0,0 +1,65 @@
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.21022</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{E5F9AD85-0C02-4286-AC4C-F5B34EA10650}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>VFlip</RootNamespace>
<AssemblyName>VFlip</AssemblyName>
<FileUpgradeFlags>
</FileUpgradeFlags>
<OldToolsVersion>2.0</OldToolsVersion>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<UpgradeBackupLocation>
</UpgradeBackupLocation>
</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\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Drawing" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="VFlip.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\IPlugin\IPlugin.csproj">
<Project>{FB0C1FBD-3CB7-46BF-8E39-57BE2C8D1F00}</Project>
<Name>IPlugin</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildBinPath)\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>
-->
<PropertyGroup>
<PostBuildEvent>
</PostBuildEvent>
</PropertyGroup>
</Project>

10
trunk/VFlip/makefile Normal file
View File

@@ -0,0 +1,10 @@
RM=rm
CP=cp
VFlip.dll: VFlip.cs IPlugin.dll
gmcs -target:library -out:VFlip.dll \
-r:System.Drawing,System.Windows.Forms,IPlugin.dll \
VFlip.cs
clean:
$(RM) VFlip.dll IPlugin.dll