[psycho commit] r408 - in trunk/Psycho: . src src/Core src/Core/Psycho.Core src/Core/Psycho.Core/Psycho.Style src...

1 view
Skip to first unread message

codesite...@google.com

unread,
Sep 4, 2008, 12:27:15 AM9/4/08
to psycho-...@googlegroups.com
Author: p.zurek
Date: Wed Sep 3 21:21:04 2008
New Revision: 408

Added:
trunk/Psycho/
trunk/Psycho/.gitignore
trunk/Psycho/Psycho.sln
trunk/Psycho/src/
trunk/Psycho/src/Core/
trunk/Psycho/src/Core/Psycho.Core/
trunk/Psycho/src/Core/Psycho.Core/.gitignore
trunk/Psycho/src/Core/Psycho.Core/Psycho.Core.csproj
trunk/Psycho/src/Core/Psycho.Core/Psycho.Core.mdp
trunk/Psycho/src/Core/Psycho.Core/Psycho.Style/
trunk/Psycho/src/Core/Psycho.Core/Psycho.Style/ConnectionPointEnum.cs
trunk/Psycho/src/Core/Psycho.Core/Psycho.Style/ConnectionShapeEnum.cs
trunk/Psycho/src/Core/Psycho.Core/Psycho.Style/FrameShapeEnum.cs
trunk/Psycho/src/Core/Psycho.Core/Psycho.Style/StyleList.cs
trunk/Psycho/src/Core/Psycho.Core/Psycho.Style/SubtopicLayoutEnum.cs
trunk/Psycho/src/Core/Psycho.Core/Psycho.Style/TextAlignmentEnum.cs
trunk/Psycho/src/Libraries/
trunk/Psycho/src/Libraries/Libraries.mds
trunk/Psycho/src/Libraries/Mumu/
trunk/Psycho/src/Libraries/Mumu/Mumu.Data/
trunk/Psycho/src/Libraries/Mumu/Mumu.Data/.gitignore
trunk/Psycho/src/Libraries/Mumu/Mumu.Data/Mumu.Data/
trunk/Psycho/src/Libraries/Mumu/Mumu.Data/Mumu.Data.csproj
trunk/Psycho/src/Libraries/Mumu/Mumu.Data/Mumu.Data.mdp
trunk/Psycho/src/Libraries/Mumu/Mumu.Data/Mumu.Data/IMindModel.cs
trunk/Psycho/src/Libraries/Mumu/Mumu.Data/Mumu.Data/IMindView.cs
trunk/Psycho/src/Libraries/Mumu/Mumu.Geometry/
trunk/Psycho/src/Libraries/Mumu/Mumu.Geometry/.gitignore
trunk/Psycho/src/Libraries/Mumu/Mumu.Geometry/Mumu.Geometry/
trunk/Psycho/src/Libraries/Mumu/Mumu.Geometry/Mumu.Geometry.csproj
trunk/Psycho/src/Libraries/Mumu/Mumu.Geometry/Mumu.Geometry.mdp
trunk/Psycho/src/Libraries/Mumu/Mumu.Geometry/Mumu.Geometry/IPoint.cs
trunk/Psycho/src/Libraries/Mumu/Mumu.Geometry/Mumu.Geometry/Point.cs
trunk/Psycho/src/Libraries/Mumu/Mumu.mds
trunk/Psycho/src/Libraries/Teddy/
trunk/Psycho/src/Libraries/Teddy/ChangeLog
trunk/Psycho/src/Libraries/Teddy/Teddy.Core/
trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core/
trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core.Canvas/
trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core.Canvas/Canvas.cs
trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core.Canvas/ICanvas.cs
trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core.Layer/
trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core.Layer/ILayer.cs

trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core.Layer/ILayerList.cs
trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core.Layer/Layer.cs
trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core.Layer/LayerList.cs
trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core.Shape/
trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core.Shape/Fill.cs
trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core.Shape/IDrawable.cs
trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core.Shape/IFill.cs
trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core.Shape/IMovable.cs

trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core.Shape/IPaintable.cs

trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core.Shape/ISelectable.cs
trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core.Shape/IShape.cs

trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core.Shape/IShapeList.cs
trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core.Shape/IStroke.cs
trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core.Shape/Shape.cs
trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core.Shape/ShapeList.cs

trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core.Shape/ShapeTypeEnum.cs
trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core.Shape/Stroke.cs
trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core.csproj
trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core.mdp
trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core/Color.cs
trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core/Dash.cs
trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core/IColor.cs
trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core/IDash.cs
trunk/Psycho/src/Libraries/Teddy/Teddy.mds
trunk/Psycho/src/Libraries/Teddy/TeddyPad/
trunk/Psycho/src/Libraries/Teddy/TeddyPad/Main.cs
trunk/Psycho/src/Libraries/Teddy/TeddyPad/MainWindow.cs
trunk/Psycho/src/Libraries/Teddy/TeddyPad/TeddyPad.csproj
trunk/Psycho/src/Libraries/Teddy/TeddyPad/TeddyPad.mdp
trunk/Psycho/src/Psycho.mds

Log:
Merge branch 'work'

Conflicts:

Psycho/.gitignore
Psycho/src/Core/Psycho.Core/.gitignore
Psycho/src/Core/Psycho.Core/Psycho.Core.mdp
Psycho/src/Core/Psycho.Core/Psycho.Style/StyleList.cs
Psycho/src/Libraries/Libraries.mds
Psycho/src/Psycho.mds


Added: trunk/Psycho/.gitignore
==============================================================================
--- (empty file)
+++ trunk/Psycho/.gitignore Wed Sep 3 21:21:04 2008
@@ -0,0 +1,3 @@
+*.user*
+*.pidb
+bin
\ No newline at end of file

Added: trunk/Psycho/Psycho.sln
==============================================================================
--- (empty file)
+++ trunk/Psycho/Psycho.sln Wed Sep 3 21:21:04 2008
@@ -0,0 +1,43 @@
+
+Microsoft Visual Studio Solution File, Format Version 9.00
+# Visual Studio 2005
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}")
= "Psycho", "Psycho", "{7A5E2F8C-9A9E-4C83-9854-F2113F5FDA1F}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}")
= "Core", "Core", "{F0813386-967A-4DBA-8709-E8AE14700C58}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}")
= "Psycho.Core", "src\Core\Psycho.Core\Psycho.Core.csproj", "{49875DE6-9539-4B4F-B38F-AB262F8935B5}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}")
= "Libraries", "Libraries", "{CA04E77D-E974-4A05-ABC6-659AF407D329}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}")
= "Mumu", "Mumu", "{A8949A45-5AD5-42D8-BE41-F13794853BFB}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}")
= "Mumu.Data", "src\Libraries\Mumu\Mumu.Data\Mumu.Data.csproj", "{1F53D429-A4FF-4BA6-AA63-6AD2C030F198}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}")
= "Mumu.Geometry", "src\Libraries\Mumu\Mumu.Geometry\Mumu.Geometry.csproj", "{68B9B57D-18A3-4814-BE57-AB8871B9137B}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}")
= "Teddy", "Teddy", "{60D6C9B9-07B2-4D2D-97BA-C960F0652C4A}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}")
= "Teddy.Core", "src\Libraries\Teddy\Teddy.Core\Teddy.Core.csproj", "{26E0D481-5056-4E4A-B1A8-F4184755695E}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}")
= "Sample", "src\Libraries\Teddy\TeddyPad\TeddyPad.csproj", "{256704C1-C489-4A6A-9931-332B0EBA4254}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}")
= "Extensions", "Extensions", "{685A55B8-2666-45F6-974C-AFA9C7AB1590}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ EndGlobalSection
+ GlobalSection(NestedProjects) = preSolution
+ {49875DE6-9539-4B4F-B38F-AB262F8935B5} =
{F0813386-967A-4DBA-8709-E8AE14700C58}
+ {1F53D429-A4FF-4BA6-AA63-6AD2C030F198} =
{A8949A45-5AD5-42D8-BE41-F13794853BFB}
+ {68B9B57D-18A3-4814-BE57-AB8871B9137B} =
{A8949A45-5AD5-42D8-BE41-F13794853BFB}
+ {26E0D481-5056-4E4A-B1A8-F4184755695E} =
{60D6C9B9-07B2-4D2D-97BA-C960F0652C4A}
+ {256704C1-C489-4A6A-9931-332B0EBA4254} =
{60D6C9B9-07B2-4D2D-97BA-C960F0652C4A}
+ {A8949A45-5AD5-42D8-BE41-F13794853BFB} =
{CA04E77D-E974-4A05-ABC6-659AF407D329}
+ {60D6C9B9-07B2-4D2D-97BA-C960F0652C4A} =
{CA04E77D-E974-4A05-ABC6-659AF407D329}
+ {F0813386-967A-4DBA-8709-E8AE14700C58} =
{7A5E2F8C-9A9E-4C83-9854-F2113F5FDA1F}
+ {CA04E77D-E974-4A05-ABC6-659AF407D329} =
{7A5E2F8C-9A9E-4C83-9854-F2113F5FDA1F}
+ {685A55B8-2666-45F6-974C-AFA9C7AB1590} =
{7A5E2F8C-9A9E-4C83-9854-F2113F5FDA1F}
+ EndGlobalSection
+EndGlobal

Added: trunk/Psycho/src/Core/Psycho.Core/.gitignore
==============================================================================
--- (empty file)
+++ trunk/Psycho/src/Core/Psycho.Core/.gitignore Wed Sep 3 21:21:04 2008
@@ -0,0 +1,4 @@
+bin
+*.pidb
+Psycho.Core.pidb
+Psycho.Properties

Added: trunk/Psycho/src/Core/Psycho.Core/Psycho.Core.csproj
==============================================================================
--- (empty file)
+++ trunk/Psycho/src/Core/Psycho.Core/Psycho.Core.csproj Wed Sep 3
21:21:04 2008
@@ -0,0 +1,68 @@
+<Project DefaultTargets="Build"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+
<ProjectTypeGuids>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
+ <ProjectGuid>{49875DE6-9539-4B4F-B38F-AB262F8935B5}</ProjectGuid>
+ <RootNamespace>
+ </RootNamespace>
+ <Configuration Condition=" '$(Configuration)'
== '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|
AnyCPU' ">
+ <OutputType>Library</OutputType>
+ <AssemblyName>Psycho.Core</AssemblyName>
+ <OutputPath>bin\Debug\</OutputPath>
+ <DebugSymbols>true</DebugSymbols>
+ <RootNamespace>
+ </RootNamespace>
+ <AllowUnsafeBlocks>false</AllowUnsafeBlocks>
+ <Optimize>true</Optimize>
+ <CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
+ <DefineConstants>DEBUG</DefineConstants>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|
AnyCPU' ">
+ <OutputType>Library</OutputType>
+ <AssemblyName>Psycho.Core</AssemblyName>
+ <OutputPath>bin\Release\</OutputPath>
+ <DebugSymbols>false</DebugSymbols>
+ <RootNamespace>
+ </RootNamespace>
+ <AllowUnsafeBlocks>false</AllowUnsafeBlocks>
+ <Optimize>true</Optimize>
+ <CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
+ <DefineConstants>
+ </DefineConstants>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="System.Xml" />
+ <Reference Include="System" />
+ <Reference Include="mscorlib" />
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="Psycho.Data\ITopic.cs" />
+ <Compile Include="Psycho.Data\Topic.cs" />
+ <Compile Include="Psycho.Data\IMindMap.cs" />
+ <Compile Include="Psycho.Data\MindMap.cs" />
+ <Compile Include="Psycho.Data\INote.cs" />
+ <Compile Include="Psycho.Data\Note.cs" />
+ <Compile Include="Psycho.Data\TopicList.cs" />
+ <Compile Include="Psycho.Style\Style.cs" />
+ <Compile Include="Psycho.Data\MapItem.cs" />
+ <Compile Include="Psycho.Data\IMapItem.cs" />
+ <Compile Include="Psycho.Style\IStyle.cs" />
+ <Compile Include="Psycho.Style\FrameShapeEnum.cs" />
+ <Compile Include="Psycho.Style\ConnectionShapeEnum.cs" />
+ <Compile Include="Psycho.Style\SubtopicLayoutEnum.cs" />
+ <Compile Include="Psycho.Style\ConnectionPointEnum.cs" />
+ <Compile Include="Psycho.Style\Color.cs" />
+ <Compile Include="Psycho.Style\TextAlignmentEnum.cs" />
+ <Compile Include="Psycho.Data\ITopicList.cs" />
+ <Compile Include="Psycho.Style\IColor.cs" />
+ <Compile Include="Psycho.Data\Application.cs" />
+ <Compile Include="Psycho.Data\IApplication.cs" />
+ <Compile Include="Psycho.Style\IStyleList.cs" />
+ <Compile Include="Psycho.Style\StyleList.cs" />
+ </ItemGroup>
+ <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.Targets" />
+</Project>
\ No newline at end of file

Added: trunk/Psycho/src/Core/Psycho.Core/Psycho.Core.mdp
==============================================================================
--- (empty file)
+++ trunk/Psycho/src/Core/Psycho.Core/Psycho.Core.mdp Wed Sep 3 21:21:04
2008
@@ -0,0 +1,48 @@
+<Project name="Psycho.Core" fileversion="2.0" language="C#"
clr-version="Net_2_0" ctype="DotNetProject">
+ <Configurations active="Debug">
+ <Configuration name="Debug" ctype="DotNetProjectConfiguration">
+ <Output directory="bin/Debug" assembly="Psycho.Core" />
+ <Build debugmode="True" target="Library" />
+ <Execution runwithwarnings="True" consolepause="True"
runtime="MsNet" clr-version="Net_2_0" />
+ <CodeGeneration compiler="Mcs" warninglevel="4" optimize="True"
unsafecodeallowed="False" generateoverflowchecks="True"
definesymbols="DEBUG" generatexmldocumentation="False"
ctype="CSharpCompilerParameters" />
+ </Configuration>
+ <Configuration name="Release" ctype="DotNetProjectConfiguration">
+ <Output directory="bin/Release" assembly="Psycho.Core" />
+ <Build debugmode="False" target="Library" />
+ <Execution runwithwarnings="True" consolepause="True"
runtime="MsNet" clr-version="Net_2_0" />
+ <CodeGeneration compiler="Mcs" warninglevel="4" optimize="True"
unsafecodeallowed="False" generateoverflowchecks="True"
generatexmldocumentation="False" ctype="CSharpCompilerParameters" />
+ </Configuration>
+ </Configurations>
+ <Contents>
+ <File name="Psycho.Data" subtype="Directory" buildaction="Compile" />
+ <File name="Psycho.Properties" subtype="Directory"
buildaction="Compile" />
+ <File name="Psycho.Data/ITopic.cs" subtype="Code"
buildaction="Compile" />
+ <File name="Psycho.Data/Topic.cs" subtype="Code" buildaction="Compile"
/>
+ <File name="Psycho.Data/IMindMap.cs" subtype="Code"
buildaction="Compile" />
+ <File name="Psycho.Data/MindMap.cs" subtype="Code"
buildaction="Compile" />
+ <File name="Psycho.Data/INote.cs" subtype="Code" buildaction="Compile"
/>
+ <File name="Psycho.Data/Note.cs" subtype="Code" buildaction="Compile"
/>
+ <File name="Psycho.Data/TopicList.cs" subtype="Code"
buildaction="Compile" />
+ <File name="Psycho.Style/Style.cs" subtype="Code"
buildaction="Compile" />
+ <File name="Psycho.Data/MapItem.cs" subtype="Code"
buildaction="Compile" />
+ <File name="Psycho.Data/IMapItem.cs" subtype="Code"
buildaction="Compile" />
+ <File name="Psycho.Style/IStyle.cs" subtype="Code"
buildaction="Compile" />
+ <File name="Psycho.Style/FrameShapeEnum.cs" subtype="Code"
buildaction="Compile" />
+ <File name="Psycho.Style/ConnectionShapeEnum.cs" subtype="Code"
buildaction="Compile" />
+ <File name="Psycho.Style/SubtopicLayoutEnum.cs" subtype="Code"
buildaction="Compile" />
+ <File name="Psycho.Style/ConnectionPointEnum.cs" subtype="Code"
buildaction="Compile" />
+ <File name="Psycho.Style/Color.cs" subtype="Code"
buildaction="Compile" />
+ <File name="Psycho.Style/TextAlignmentEnum.cs" subtype="Code"
buildaction="Compile" />
+ <File name="Psycho.Data/ITopicList.cs" subtype="Code"
buildaction="Compile" />
+ <File name="Psycho.Style/IColor.cs" subtype="Code"
buildaction="Compile" />
+ <File name="Psycho.Data/Application.cs" subtype="Code"
buildaction="Compile" />
+ <File name="Psycho.Data/IApplication.cs" subtype="Code"
buildaction="Compile" />
+ <File name="Psycho.Style/IStyleList.cs" subtype="Code"
buildaction="Compile" />
+ <File name="Psycho.Style/StyleList.cs" subtype="Code"
buildaction="Compile" />
+ </Contents>
+ <References>
+ <ProjectReference type="Gac" localcopy="True" refto="System.Xml,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
+ <ProjectReference type="Gac" localcopy="True" refto="System,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
+ <ProjectReference type="Gac" localcopy="True" refto="mscorlib,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
+ </References>
+</Project>
\ No newline at end of file

Added: trunk/Psycho/src/Core/Psycho.Core/Psycho.Style/ConnectionPointEnum.cs
==============================================================================
--- (empty file)
+++ trunk/Psycho/src/Core/Psycho.Core/Psycho.Style/ConnectionPointEnum.cs
Wed Sep 3 21:21:04 2008
@@ -0,0 +1,30 @@
+//------10--------20--------30--------40--------50--------60--------70--------80
+//
+// ConnectionPoint.cs
+//
+// Copyright (C) 2008 Piotr Zurek p.z...@gmail.com
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <http://www.gnu.org/licenses/>.
+//
+
+using System;
+
+namespace Psycho.Core
+{
+ public enum ConnectionPoint
+ {
+ Center,
+ Edge,
+ }
+}

Added: trunk/Psycho/src/Core/Psycho.Core/Psycho.Style/ConnectionShapeEnum.cs
==============================================================================
--- (empty file)
+++ trunk/Psycho/src/Core/Psycho.Core/Psycho.Style/ConnectionShapeEnum.cs
Wed Sep 3 21:21:04 2008
@@ -0,0 +1,37 @@
+//------10--------20--------30--------40--------50--------60--------70--------80
+//
+// ConnectionShape.cs
+//
+// Copyright (C) 2008 Piotr Zurek p.z...@gmail.com
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <http://www.gnu.org/licenses/>.
+//
+
+using System;
+
+namespace Psycho.Core
+{
+ public enum ConnectionShape
+ {
+ None,
+ Straight,
+ Arc,
+ Curve,
+ Crank,
+ RoundedCrank,
+ ChamferedCrank,
+ AngleCrank,
+ RoundedAngleCrank,
+ }
+}

Added: trunk/Psycho/src/Core/Psycho.Core/Psycho.Style/FrameShapeEnum.cs
==============================================================================
--- (empty file)
+++ trunk/Psycho/src/Core/Psycho.Core/Psycho.Style/FrameShapeEnum.cs Wed
Sep 3 21:21:04 2008
@@ -0,0 +1,36 @@
+//------10--------20--------30--------40--------50--------60--------70--------80
+//
+// FrameShape.cs
+//
+// Copyright (C) 2008 Piotr Zurek p.z...@gmail.com
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <http://www.gnu.org/licenses/>.
+//
+
+using System;
+
+namespace Psycho.Core
+{
+ public enum FrameShape
+ {
+ None,
+ Line,
+ Rectangle,
+ RoundedRectangle,
+ //TODO: Circle, - not now. Maybe later
+ //TODO: Ellipse, - not now. Maybe later
+ Hexagon,
+ Octagon
+ }
+}

Added: trunk/Psycho/src/Core/Psycho.Core/Psycho.Style/StyleList.cs
==============================================================================
--- (empty file)
+++ trunk/Psycho/src/Core/Psycho.Core/Psycho.Style/StyleList.cs Wed Sep 3
21:21:04 2008
@@ -0,0 +1,117 @@
+//------10--------20--------30--------40--------50--------60--------70--------80
+//
+// StyleList.cs
+//
+// Copyright (C) 2008 Piotr Zurek p.z...@gmail.com
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <http://www.gnu.org/licenses/>.
+//
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+
+namespace Psycho.Core
+{
+ public class StyleList<T> : IStyleList<T>
+ where T : IStyle
+ {
+ public StyleList () : base()
+ {
+ }
+
+ private List<T> list;
+
+ public void Add (T item)
+ {
+ list.Add (item);
+ }
+
+ public void Insert (int index, T item)
+ {
+ list.Insert (index, item);
+ }
+
+ void IList<T>.Insert (int index, T item)
+ {
+ list.Insert (index, item);
+ }
+
+ void IList<T>.RemoveAt (int index)
+ {
+ list.RemoveAt (index);
+ }
+
+ int IList<T>.IndexOf (T item)
+ {
+ return list.IndexOf (item);
+ }
+
+ T IList<T>.this[int index] {
+ get { return list[index]; }
+ set { list[index] = value; }
+ }
+
+ public IEnumerator<T> GetEnumerator ()
+ {
+ return list.GetEnumerator ();
+ }
+
+ IEnumerator IEnumerable.GetEnumerator ()
+ {
+ return GetEnumerator ();
+ }
+
+ void ICollection<T>.Add (T item)
+ {
+ list.Add (item);
+ }
+
+ public bool Remove (T item)
+ {
+ lock (this) {
+ return list.Remove (item);
+ }
+ }
+
+ void ICollection<T>.Clear ()
+ {
+ list.Clear ();
+ }
+
+ bool ICollection<T>.Contains (T item)
+ {
+ return list.Contains (item);
+ }
+
+ void ICollection<T>.CopyTo (T [] array, int arrayIndex)
+ {
+ list.CopyTo (array, arrayIndex);
+ }
+
+ public int Count {
+ get {
+ lock (this) {
+ return list.Count;
+ }
+ }
+ }
+
+ bool ICollection<T>.IsReadOnly {
+ get {
+ return ((ICollection<T>)list).IsReadOnly; }
+ }
+
+ }
+}

Added: trunk/Psycho/src/Core/Psycho.Core/Psycho.Style/SubtopicLayoutEnum.cs
==============================================================================
--- (empty file)
+++ trunk/Psycho/src/Core/Psycho.Core/Psycho.Style/SubtopicLayoutEnum.cs
Wed Sep 3 21:21:04 2008
@@ -0,0 +1,31 @@
+//------10--------20--------30--------40--------50--------60--------70--------80
+//
+// SubtopicLayout.cs
+//
+// Copyright (C) 2008 Piotr Zurek p.z...@gmail.com
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <http://www.gnu.org/licenses/>.
+//
+
+using System;
+
+namespace Psycho.Core
+{
+ public enum SubtopicLayout
+ {
+ Map,
+ Tree,
+ OrgChart,
+ }
+}

Added: trunk/Psycho/src/Core/Psycho.Core/Psycho.Style/TextAlignmentEnum.cs
==============================================================================
--- (empty file)
+++ trunk/Psycho/src/Core/Psycho.Core/Psycho.Style/TextAlignmentEnum.cs Wed
Sep 3 21:21:04 2008
@@ -0,0 +1,31 @@
+//------10--------20--------30--------40--------50--------60--------70--------80
+//
+// TextAlignment.cs
+//
+// Copyright (C) 2008 Piotr Zurek p.z...@gmail.com
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <http://www.gnu.org/licenses/>.
+//
+
+using System;
+
+namespace Psycho.Core
+{
+ public enum TextAlignment
+ {
+ Left,
+ Right,
+ Center,
+ }
+}

Added: trunk/Psycho/src/Libraries/Libraries.mds
==============================================================================
--- (empty file)
+++ trunk/Psycho/src/Libraries/Libraries.mds Wed Sep 3 21:21:04 2008
@@ -0,0 +1,21 @@
+<Combine name="Libraries" fileversion="2.0">
+ <Configurations active="Debug">
+ <Configuration name="Debug" ctype="CombineConfiguration">
+ <Entry build="True" name="Mumu" configuration="" />
+ <Entry build="True" name="Teddy" configuration="" />
+ </Configuration>
+ <Configuration name="Release" ctype="CombineConfiguration">
+ <Entry build="True" name="Mumu" configuration="" />
+ <Entry build="True" name="Teddy" configuration="" />
+ </Configuration>
+ </Configurations>
+ <StartMode startupentry="Mumu" single="True">
+ <Execute type="None" entry="Mumu" />
+ <Execute type="None" entry="Mumu" />
+ <Execute type="None" entry="Teddy" />
+ </StartMode>
+ <Entries>
+ <Entry filename="Mumu/Mumu.mds" />
+ <Entry filename="Teddy/Teddy.mds" />
+ </Entries>
+</Combine>
\ No newline at end of file

Added: trunk/Psycho/src/Libraries/Mumu/Mumu.Data/.gitignore
==============================================================================
--- (empty file)
+++ trunk/Psycho/src/Libraries/Mumu/Mumu.Data/.gitignore Wed Sep 3
21:21:04 2008
@@ -0,0 +1,2 @@
+bin
+*.pidb

Added: trunk/Psycho/src/Libraries/Mumu/Mumu.Data/Mumu.Data.csproj
==============================================================================
--- (empty file)
+++ trunk/Psycho/src/Libraries/Mumu/Mumu.Data/Mumu.Data.csproj Wed Sep 3
21:21:04 2008
@@ -0,0 +1,46 @@
+<Project DefaultTargets="Build"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+
<ProjectTypeGuids>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
+ <ProjectGuid>{1F53D429-A4FF-4BA6-AA63-6AD2C030F198}</ProjectGuid>
+ <RootNamespace>
+ </RootNamespace>
+ <Configuration Condition=" '$(Configuration)'
== '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|
AnyCPU' ">
+ <OutputType>Library</OutputType>
+ <AssemblyName>Mumu.Data</AssemblyName>
+ <OutputPath>bin\Debug\</OutputPath>
+ <DebugSymbols>true</DebugSymbols>
+ <RootNamespace>
+ </RootNamespace>
+ <AllowUnsafeBlocks>false</AllowUnsafeBlocks>
+ <Optimize>true</Optimize>
+ <CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
+ <DefineConstants>DEBUG</DefineConstants>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|
AnyCPU' ">
+ <OutputType>Library</OutputType>
+ <AssemblyName>Mumu.Data</AssemblyName>
+ <OutputPath>bin\Release\</OutputPath>
+ <DebugSymbols>false</DebugSymbols>
+ <RootNamespace>
+ </RootNamespace>
+ <AllowUnsafeBlocks>false</AllowUnsafeBlocks>
+ <Optimize>true</Optimize>
+ <CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
+ <DefineConstants>
+ </DefineConstants>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="System" />
+ <Reference Include="mscorlib" />
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="Mumu.Data\IMindModel.cs" />
+ <Compile Include="Mumu.Data\IMindView.cs" />
+ </ItemGroup>
+ <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.Targets" />
+</Project>
\ No newline at end of file

Added: trunk/Psycho/src/Libraries/Mumu/Mumu.Data/Mumu.Data.mdp
==============================================================================
--- (empty file)
+++ trunk/Psycho/src/Libraries/Mumu/Mumu.Data/Mumu.Data.mdp Wed Sep 3
21:21:04 2008
@@ -0,0 +1,25 @@
+<Project name="Mumu.Data" fileversion="2.0" language="C#"
clr-version="Net_2_0" ctype="DotNetProject">
+ <Configurations active="Debug">
+ <Configuration name="Debug" ctype="DotNetProjectConfiguration">
+ <Output directory="bin/Debug" assembly="Mumu.Data" />
+ <Build debugmode="True" target="Library" />
+ <Execution runwithwarnings="True" consolepause="True"
runtime="MsNet" clr-version="Net_2_0" />
+ <CodeGeneration compiler="Mcs" warninglevel="4" optimize="True"
unsafecodeallowed="False" generateoverflowchecks="True"
definesymbols="DEBUG" generatexmldocumentation="False"
ctype="CSharpCompilerParameters" />
+ </Configuration>
+ <Configuration name="Release" ctype="DotNetProjectConfiguration">
+ <Output directory="bin/Release" assembly="Mumu.Data" />
+ <Build debugmode="False" target="Library" />
+ <Execution runwithwarnings="True" consolepause="True"
runtime="MsNet" clr-version="Net_2_0" />
+ <CodeGeneration compiler="Mcs" warninglevel="4" optimize="True"
unsafecodeallowed="False" generateoverflowchecks="True"
generatexmldocumentation="False" ctype="CSharpCompilerParameters" />
+ </Configuration>
+ </Configurations>
+ <Contents>
+ <File name="Mumu.Data" subtype="Directory" buildaction="Compile" />
+ <File name="Mumu.Data/IMindModel.cs" subtype="Code"
buildaction="Compile" />
+ <File name="Mumu.Data/IMindView.cs" subtype="Code"
buildaction="Compile" />
+ </Contents>
+ <References>
+ <ProjectReference type="Gac" localcopy="False" refto="System,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
+ <ProjectReference type="Gac" localcopy="False" refto="mscorlib,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
+ </References>
+</Project>
\ No newline at end of file

Added: trunk/Psycho/src/Libraries/Mumu/Mumu.Data/Mumu.Data/IMindModel.cs
==============================================================================
--- (empty file)
+++ trunk/Psycho/src/Libraries/Mumu/Mumu.Data/Mumu.Data/IMindModel.cs Wed
Sep 3 21:21:04 2008
@@ -0,0 +1,28 @@
+//------10--------20--------30--------40--------50--------60--------70--------80
+//
+// IMindModel.cs
+//
+// Copyright (C) 2008 Piotr Zurek p.z...@gmail.com
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <http://www.gnu.org/licenses/>.
+//
+
+using System;
+
+namespace Mumu.Data
+{
+ public interface IMindModel
+ {
+ }
+}

Added: trunk/Psycho/src/Libraries/Mumu/Mumu.Data/Mumu.Data/IMindView.cs
==============================================================================
--- (empty file)
+++ trunk/Psycho/src/Libraries/Mumu/Mumu.Data/Mumu.Data/IMindView.cs Wed
Sep 3 21:21:04 2008
@@ -0,0 +1,28 @@
+//------10--------20--------30--------40--------50--------60--------70--------80
+//
+// IMindView.cs
+//
+// Copyright (C) 2008 Piotr Zurek p.z...@gmail.com
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <http://www.gnu.org/licenses/>.
+//
+
+using System;
+
+namespace Mumu.Data
+{
+ public interface IMindView
+ {
+ }
+}

Added: trunk/Psycho/src/Libraries/Mumu/Mumu.Geometry/.gitignore
==============================================================================
--- (empty file)
+++ trunk/Psycho/src/Libraries/Mumu/Mumu.Geometry/.gitignore Wed Sep 3
21:21:04 2008
@@ -0,0 +1,2 @@
+bin
+*.pidb

Added: trunk/Psycho/src/Libraries/Mumu/Mumu.Geometry/Mumu.Geometry.csproj
==============================================================================
--- (empty file)
+++ trunk/Psycho/src/Libraries/Mumu/Mumu.Geometry/Mumu.Geometry.csproj Wed
Sep 3 21:21:04 2008
@@ -0,0 +1,46 @@
+<Project DefaultTargets="Build"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+
<ProjectTypeGuids>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
+ <ProjectGuid>{68B9B57D-18A3-4814-BE57-AB8871B9137B}</ProjectGuid>
+ <RootNamespace>
+ </RootNamespace>
+ <Configuration Condition=" '$(Configuration)'
== '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|
AnyCPU' ">
+ <OutputType>Library</OutputType>
+ <AssemblyName>Mumu.Geometry</AssemblyName>
+ <OutputPath>bin\Debug\</OutputPath>
+ <DebugSymbols>true</DebugSymbols>
+ <RootNamespace>
+ </RootNamespace>
+ <AllowUnsafeBlocks>false</AllowUnsafeBlocks>
+ <Optimize>true</Optimize>
+ <CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
+ <DefineConstants>DEBUG</DefineConstants>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|
AnyCPU' ">
+ <OutputType>Library</OutputType>
+ <AssemblyName>Mumu.Geometry</AssemblyName>
+ <OutputPath>bin\Release\</OutputPath>
+ <DebugSymbols>false</DebugSymbols>
+ <RootNamespace>
+ </RootNamespace>
+ <AllowUnsafeBlocks>false</AllowUnsafeBlocks>
+ <Optimize>true</Optimize>
+ <CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
+ <DefineConstants>
+ </DefineConstants>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="System" />
+ <Reference Include="mscorlib" />
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="Mumu.Geometry\Point.cs" />
+ <Compile Include="Mumu.Geometry\IPoint.cs" />
+ </ItemGroup>
+ <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.Targets" />
+</Project>
\ No newline at end of file

Added: trunk/Psycho/src/Libraries/Mumu/Mumu.Geometry/Mumu.Geometry.mdp
==============================================================================
--- (empty file)
+++ trunk/Psycho/src/Libraries/Mumu/Mumu.Geometry/Mumu.Geometry.mdp Wed
Sep 3 21:21:04 2008
@@ -0,0 +1,25 @@
+<Project name="Mumu.Geometry" fileversion="2.0" language="C#"
clr-version="Net_2_0" ctype="DotNetProject">
+ <Configurations active="Debug">
+ <Configuration name="Debug" ctype="DotNetProjectConfiguration">
+ <Output directory="bin/Debug" assembly="Mumu.Geometry" />
+ <Build debugmode="True" target="Library" />
+ <Execution runwithwarnings="True" consolepause="True"
runtime="MsNet" clr-version="Net_2_0" />
+ <CodeGeneration compiler="Mcs" warninglevel="4" optimize="True"
unsafecodeallowed="False" generateoverflowchecks="True"
definesymbols="DEBUG" generatexmldocumentation="False"
ctype="CSharpCompilerParameters" />
+ </Configuration>
+ <Configuration name="Release" ctype="DotNetProjectConfiguration">
+ <Output directory="bin/Release" assembly="Mumu.Geometry" />
+ <Build debugmode="False" target="Library" />
+ <Execution runwithwarnings="True" consolepause="True"
runtime="MsNet" clr-version="Net_2_0" />
+ <CodeGeneration compiler="Mcs" warninglevel="4" optimize="True"
unsafecodeallowed="False" generateoverflowchecks="True"
generatexmldocumentation="False" ctype="CSharpCompilerParameters" />
+ </Configuration>
+ </Configurations>
+ <Contents>
+ <File name="Mumu.Geometry" subtype="Directory" buildaction="Compile" />
+ <File name="Mumu.Geometry/Point.cs" subtype="Code"
buildaction="Compile" />
+ <File name="Mumu.Geometry/IPoint.cs" subtype="Code"
buildaction="Compile" />
+ </Contents>
+ <References>
+ <ProjectReference type="Gac" localcopy="False" refto="System,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
+ <ProjectReference type="Gac" localcopy="False" refto="mscorlib,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
+ </References>
+</Project>
\ No newline at end of file

Added: trunk/Psycho/src/Libraries/Mumu/Mumu.Geometry/Mumu.Geometry/IPoint.cs
==============================================================================
--- (empty file)
+++ trunk/Psycho/src/Libraries/Mumu/Mumu.Geometry/Mumu.Geometry/IPoint.cs
Wed Sep 3 21:21:04 2008
@@ -0,0 +1,30 @@
+//------10--------20--------30--------40--------50--------60--------70--------80
+//
+// IPoint.cs
+//
+// Copyright (C) 2008 Piotr Zurek p.z...@gmail.com
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <http://www.gnu.org/licenses/>.
+//
+
+using System;
+
+namespace Mumu.Geometry
+{
+ public interface IPoint
+ {
+ double X { get; set; }
+ double Y { get; set; }
+ }
+}

Added: trunk/Psycho/src/Libraries/Mumu/Mumu.Geometry/Mumu.Geometry/Point.cs
==============================================================================
--- (empty file)
+++ trunk/Psycho/src/Libraries/Mumu/Mumu.Geometry/Mumu.Geometry/Point.cs
Wed Sep 3 21:21:04 2008
@@ -0,0 +1,52 @@
+//------10--------20--------30--------40--------50--------60--------70--------80
+//
+// Point.cs
+//
+// Copyright (C) 2008 Piotr Zurek p.z...@gmail.com
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <http://www.gnu.org/licenses/>.
+//
+
+using System;
+
+namespace Mumu.Geometry
+{
+ public class Point : IPoint
+ {
+ double x;
+ double y;
+
+ public double X {
+ get {
+ return x;
+ }
+ set {
+ x = value;
+ }
+ }
+
+ public double Y {
+ get {
+ return y;
+ }
+ set {
+ y = value;
+ }
+ }
+
+ public Point()
+ {
+ }
+ }
+}

Added: trunk/Psycho/src/Libraries/Mumu/Mumu.mds
==============================================================================
--- (empty file)
+++ trunk/Psycho/src/Libraries/Mumu/Mumu.mds Wed Sep 3 21:21:04 2008
@@ -0,0 +1,20 @@
+<Combine name="Mumu" fileversion="2.0">
+ <Configurations>
+ <Configuration name="Debug" ctype="CombineConfiguration">
+ <Entry build="True" name="Mumu.Data" configuration="Debug" />
+ <Entry build="True" name="Mumu.Geometry" configuration="Debug" />
+ </Configuration>
+ <Configuration name="Release" ctype="CombineConfiguration">
+ <Entry build="True" name="Mumu.Data" configuration="Release" />
+ <Entry build="True" name="Mumu.Geometry" configuration="Release" />
+ </Configuration>
+ </Configurations>
+ <StartMode startupentry="Mumu.Data" single="True">
+ <Execute type="None" entry="Mumu.Data" />
+ <Execute type="None" entry="Mumu.Geometry" />
+ </StartMode>
+ <Entries>
+ <Entry filename="Mumu.Data/Mumu.Data.mdp" />
+ <Entry filename="Mumu.Geometry/Mumu.Geometry.mdp" />
+ </Entries>
+</Combine>
\ No newline at end of file

Added: trunk/Psycho/src/Libraries/Teddy/ChangeLog
==============================================================================
--- (empty file)
+++ trunk/Psycho/src/Libraries/Teddy/ChangeLog Wed Sep 3 21:21:04 2008
@@ -0,0 +1,2 @@
+2008-07-02 Piotr Zurek <p.z...@gmail.com>
+

Added:
trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core.Canvas/Canvas.cs
==============================================================================
--- (empty file)
+++ trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core.Canvas/Canvas.cs
Wed Sep 3 21:21:04 2008
@@ -0,0 +1,133 @@
+//------10--------20--------30--------40--------50--------60--------70--------80
+//
+// Canvas.cs
+//
+// Copyright (C) 2008 Piotr Zurek p.z...@gmail.com
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <http://www.gnu.org/licenses/>.
+//
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+
+using Cairo;
+using Gtk;
+
+using Teddy.Core;
+
+namespace Teddy.Core
+{
+ public class Canvas : DrawingArea, ICanvas
+ {
+ double width;
+ double height;
+ bool isDirty;
+ IShapeList<IShape> shapes;
+ ILayerList<ILayer> layers;
+ IShapeList<IShape> selection;
+
+ public double Width {
+ get {
+ return width;
+ }
+ set {
+ width = value;
+ }
+ }
+
+ public double Height {
+ get {
+ return height;
+ }
+ set {
+ height = value;
+ }
+ }
+
+ public bool IsDirty {
+ get {
+ return isDirty;
+ }
+ set {
+ isDirty = value;
+ }
+ }
+
+ public IShapeList<IShape> Shapes {
+ get {
+ return shapes;
+ }
+ set {
+ shapes = value;
+ }
+ }
+
+ public IShapeList<IShape> Selection {
+ get {
+ return selection;
+ }
+ set {
+ selection = value;
+ }
+ }
+
+ public ILayerList<ILayer> Layers {
+ get {
+ return layers;
+ }
+ set {
+ layers = value;
+ }
+ }
+
+ public Canvas()
+ {
+ }
+
+ public void AddShape (IShape new_shape)
+ {
+ Shapes.Add (new_shape);
+ }
+
+ public void MoveSelectedShapes (double x, double y)
+ {
+ throw new NotImplementedException();
+ }
+
+ public void DeleteSelectedShapes ()
+ {
+ if (Selection.Count > 0)
+ foreach (IShape shape in Selection)
+ if (Shapes.Contains(shape))
+ Shapes.Remove(shape);
+ }
+
+ public void ClearSelection ()
+ {
+ Selection.Clear();
+ }
+
+ public IShape GetShapeAt (double x, double y)
+ {
+ throw new NotImplementedException();
+ }
+
+ public IList<IShape> GetShapesAt (double x, double y,
+ double width, double height)
+ {
+ throw new NotImplementedException();
+ }
+ }
+}

Added:
trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core.Canvas/ICanvas.cs
==============================================================================
--- (empty file)
+++
trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core.Canvas/ICanvas.cs
Wed Sep 3 21:21:04 2008
@@ -0,0 +1,44 @@
+//------10--------20--------30--------40--------50--------60--------70--------80
+//
+// ICanvas.cs
+//
+// Copyright (C) 2008 Piotr Zurek p.z...@gmail.com
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <http://www.gnu.org/licenses/>.
+//
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using Teddy.Core;
+
+namespace Teddy.Core
+{
+ public interface ICanvas
+ {
+ double Width { get; set; }
+ double Height { get; set; }
+ bool IsDirty { get; set; }
+ IShapeList<IShape> Shapes { get; set; }
+ IShapeList<IShape> Selection { get; set; }
+ ILayerList<ILayer> Layers { get; set; }
+ void AddShape(IShape new_shape);
+ void MoveSelectedShapes (double x, double y);
+ void DeleteSelectedShapes();
+ void ClearSelection();
+ IShape GetShapeAt (double x, double y);
+ IList<IShape> GetShapesAt (double x, double y,
+ double width, double height);
+ }
+}

Added:
trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core.Layer/ILayer.cs
==============================================================================
--- (empty file)
+++ trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core.Layer/ILayer.cs
Wed Sep 3 21:21:04 2008
@@ -0,0 +1,39 @@
+//------10--------20--------30--------40--------50--------60--------70--------80
+//
+// ILayer.cs
+//
+// Copyright (C) 2008 Piotr Zurek p.z...@gmail.com
+//
+// Permission is hereby granted, free of charge, to any person obtaining a
copy
+// of this software and associated documentation files (the "Software"),
to deal
+// in the Software without restriction, including without limitation the
rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included
in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
IN
+// THE SOFTWARE.
+//
+
+
+using System;
+using Cairo;
+
+namespace Teddy.Core
+{
+ public interface ILayer
+ {
+ Surface Surface { get; set; }
+ IShapeList<Shape> Shapes { get; set; }
+ void AddShape (IShape my_shape);
+ void RemoveShape (IShape my_shape);
+ }
+}

Added:
trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core.Layer/ILayerList.cs
==============================================================================
--- (empty file)
+++
trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core.Layer/ILayerList.cs
Wed Sep 3 21:21:04 2008
@@ -0,0 +1,37 @@
+//------10--------20--------30--------40--------50--------60--------70--------80
+//
+// ILayerList.cs
+//
+// Copyright (C) 2008 Piotr Zurek p.z...@gmail.com
+//
+// Permission is hereby granted, free of charge, to any person obtaining a
copy
+// of this software and associated documentation files (the "Software"),
to deal
+// in the Software without restriction, including without limitation the
rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included
in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
IN
+// THE SOFTWARE.
+//
+
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+
+namespace Teddy.Core
+{
+ public interface ILayerList<T> : IList<T>
+ where T: ILayer
+ {
+ }
+}

Added: trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core.Layer/Layer.cs
==============================================================================
--- (empty file)
+++ trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core.Layer/Layer.cs
Wed Sep 3 21:21:04 2008
@@ -0,0 +1,70 @@
+//------10--------20--------30--------40--------50--------60--------70--------80
+//
+// Layer.cs
+//
+// Copyright (C) 2008 Piotr Zurek p.z...@gmail.com
+//
+// Permission is hereby granted, free of charge, to any person obtaining a
copy
+// of this software and associated documentation files (the "Software"),
to deal
+// in the Software without restriction, including without limitation the
rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included
in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
IN
+// THE SOFTWARE.
+//
+
+
+using System;
+using Cairo;
+using Teddy.Core;
+
+namespace Teddy.Core
+{
+ public class Layer : ILayer
+ {
+ Surface surface;
+ IShapeList<Shape> shapes;
+
+ public Surface Surface {
+ get {
+ return surface;
+ }
+ set {
+ surface = value;
+ }
+ }
+
+ public IShapeList<Shape> Shapes {
+ get {
+ return shapes;
+ }
+ set {
+ shapes = value;
+ }
+ }
+
+ public Layer()
+ {
+ }
+
+ public void AddShape (IShape my_shape)
+ {
+ throw new NotImplementedException();
+ }
+
+ public void RemoveShape (IShape my_shape)
+ {
+ throw new NotImplementedException();
+ }
+ }
+}

Added:
trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core.Layer/LayerList.cs
==============================================================================
--- (empty file)
+++
trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core.Layer/LayerList.cs
Wed Sep 3 21:21:04 2008
@@ -0,0 +1,123 @@
+//------10--------20--------30--------40--------50--------60--------70--------80
+//
+// ILayerList.cs
+//
+// Copyright (C) 2008 Piotr Zurek p.z...@gmail.com
+//
+// Permission is hereby granted, free of charge, to any person obtaining a
copy
+// of this software and associated documentation files (the "Software"),
to deal
+// in the Software without restriction, including without limitation the
rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included
in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
IN
+// THE SOFTWARE.
+//
+
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+
+namespace Teddy.Core
+{
+ public class LayerList<T> : ILayerList<T>
+ where T : ILayer
+ {
+ public LayerList() : base()
+ {
+ list.Clear();
+ }
+
+ private List<T> list;
+
+ public void Add (T item)
+ {
+ list.Add (item);
+ }
+
+ public void Insert (int index, T item)
+ {
+ list.Insert (index, item);
+ }
+
+ void IList<T>.Insert (int index, T item)
+ {
+ list.Insert (index, item);
+ }
+
+ void IList<T>.RemoveAt (int index)
+ {
+ list.RemoveAt (index);
+ }
+
+ int IList<T>.IndexOf (T item)
+ {
+ return list.IndexOf (item);
+ }
+
+ T IList<T>.this[int index] {
+ get { return list[index]; }
+ set { list[index] = value; }
+ }
+
+ public IEnumerator<T> GetEnumerator ()
+ {
+ return list.GetEnumerator ();
+ }
+
+ IEnumerator IEnumerable.GetEnumerator ()
+ {
+ return GetEnumerator ();
+ }
+
+ void ICollection<T>.Add (T item)
+ {
+ list.Add (item);
+ }
+
+ public bool Remove (T item)
+ {
+ lock (this) {
+ return list.Remove (item);
+ }
+ }
+
+ void ICollection<T>.Clear ()
+ {
+ list.Clear ();
+ }
+
+ bool ICollection<T>.Contains (T item)
+ {
+ return list.Contains (item);
+ }
+
+ void ICollection<T>.CopyTo (T [] array, int arrayIndex)
+ {
+ list.CopyTo (array, arrayIndex);
+ }
+
+ public int Count {
+ get {
+ lock (this) {
+ return list.Count;
+ }
+ }
+ }
+
+ bool ICollection<T>.IsReadOnly {
+ get {
+ return ((ICollection<T>)list).IsReadOnly; }
+ }
+ }
+}
\ No newline at end of file

Added: trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core.Shape/Fill.cs
==============================================================================
--- (empty file)
+++ trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core.Shape/Fill.cs
Wed Sep 3 21:21:04 2008
@@ -0,0 +1,59 @@
+//------10--------20--------30--------40--------50--------60--------70--------80
+//
+// Fill.cs
+//
+// Copyright (C) 2008 Piotr Zurek p.z...@gmail.com
+//
+// Permission is hereby granted, free of charge, to any person obtaining a
copy
+// of this software and associated documentation files (the "Software"),
to deal
+// in the Software without restriction, including without limitation the
rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included
in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
IN
+// THE SOFTWARE.
+//
+
+
+using System;
+
+namespace Teddy.Core
+{
+ public class Fill : IFill
+ {
+ Color color;
+ ushort transparency;
+
+ public Color Color {
+ get {
+ return color;
+ }
+ set {
+ color = value;
+ }
+ }
+
+ public ushort Transparency {
+ get {
+ return transparency;
+ }
+ set {
+ transparency = value;
+ }
+ }
+
+
+ public Fill()
+ {
+ }
+ }
+}

Added:
trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core.Shape/IDrawable.cs
==============================================================================
--- (empty file)
+++
trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core.Shape/IDrawable.cs
Wed Sep 3 21:21:04 2008
@@ -0,0 +1,35 @@
+//------10--------20--------30--------40--------50--------60--------70--------80
+//
+// IDrawable.cs
+//
+// Copyright (C) 2008 Piotr Zurek p.z...@gmail.com
+//
+// Permission is hereby granted, free of charge, to any person obtaining a
copy
+// of this software and associated documentation files (the "Software"),
to deal
+// in the Software without restriction, including without limitation the
rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included
in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
IN
+// THE SOFTWARE.
+//
+
+
+using System;
+
+namespace Teddy.Core
+{
+ public interface IDrawable
+ {
+ void Draw ();
+ }
+}

Added: trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core.Shape/IFill.cs
==============================================================================
--- (empty file)
+++ trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core.Shape/IFill.cs
Wed Sep 3 21:21:04 2008
@@ -0,0 +1,37 @@
+//------10--------20--------30--------40--------50--------60--------70--------80
+//
+// IFill.cs
+//
+// Copyright (C) 2008 Piotr Zurek p.z...@gmail.com
+//
+// Permission is hereby granted, free of charge, to any person obtaining a
copy
+// of this software and associated documentation files (the "Software"),
to deal
+// in the Software without restriction, including without limitation the
rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included
in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
IN
+// THE SOFTWARE.
+//
+
+
+using System;
+using Teddy.Core;
+
+namespace Teddy.Core
+{
+ public interface IFill
+ {
+ Color Color { get; set; }
+ ushort Transparency { get; set; }
+ }
+}

Added:
trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core.Shape/IMovable.cs
==============================================================================
--- (empty file)
+++
trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core.Shape/IMovable.cs
Wed Sep 3 21:21:04 2008
@@ -0,0 +1,35 @@
+//------10--------20--------30--------40--------50--------60--------70--------80
+//
+// IMovable.cs
+//
+// Copyright (C) 2008 Piotr Zurek p.z...@gmail.com
+//
+// Permission is hereby granted, free of charge, to any person obtaining a
copy
+// of this software and associated documentation files (the "Software"),
to deal
+// in the Software without restriction, including without limitation the
rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included
in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
IN
+// THE SOFTWARE.
+//
+
+
+using System;
+
+namespace Teddy.Core
+{
+ public interface IMovable
+ {
+ void MoveTo(double x, double y);
+ }
+}

Added:
trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core.Shape/IPaintable.cs
==============================================================================
--- (empty file)
+++
trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core.Shape/IPaintable.cs
Wed Sep 3 21:21:04 2008
@@ -0,0 +1,38 @@
+//------10--------20--------30--------40--------50--------60--------70--------80
+//
+// IPaintable.cs
+//
+// Copyright (C) 2008 Piotr Zurek p.z...@gmail.com
+//
+// Permission is hereby granted, free of charge, to any person obtaining a
copy
+// of this software and associated documentation files (the "Software"),
to deal
+// in the Software without restriction, including without limitation the
rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included
in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
IN
+// THE SOFTWARE.
+//
+
+
+using System;
+
+namespace Teddy.Core
+{
+ public class IPaintable
+ {
+ public IPaintable()
+ {
+
+ }
+ }
+}

Added:
trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core.Shape/ISelectable.cs
==============================================================================
--- (empty file)
+++
trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core.Shape/ISelectable.cs
Wed Sep 3 21:21:04 2008
@@ -0,0 +1,35 @@
+//------10--------20--------30--------40--------50--------60--------70--------80
+//
+// ISelectable.cs
+//
+// Copyright (C) 2008 Piotr Zurek p.z...@gmail.com
+//
+// Permission is hereby granted, free of charge, to any person obtaining a
copy
+// of this software and associated documentation files (the "Software"),
to deal
+// in the Software without restriction, including without limitation the
rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included
in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
IN
+// THE SOFTWARE.
+//
+
+
+using System;
+
+namespace Teddy.Core
+{
+ public interface ISelectable
+ {
+ bool IsSelected { get; set; }
+ }
+}

Added:
trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core.Shape/IShape.cs
==============================================================================
--- (empty file)
+++ trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core.Shape/IShape.cs
Wed Sep 3 21:21:04 2008
@@ -0,0 +1,34 @@
+//------10--------20--------30--------40--------50--------60--------70--------80
+//
+// IShape.cs
+//
+// Copyright (C) 2008 Piotr Zurek p.z...@gmail.com
+//
+// Permission is hereby granted, free of charge, to any person obtaining a
copy
+// of this software and associated documentation files (the "Software"),
to deal
+// in the Software without restriction, including without limitation the
rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included
in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
IN
+// THE SOFTWARE.
+//
+
+using System;
+
+namespace Teddy.Core
+{
+ public interface IShape : IDrawable
+ {
+ ILayer Layer { get; set; }
+ }
+}

Added:
trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core.Shape/IShapeList.cs
==============================================================================
--- (empty file)
+++
trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core.Shape/IShapeList.cs
Wed Sep 3 21:21:04 2008
@@ -0,0 +1,37 @@
+//------10--------20--------30--------40--------50--------60--------70--------80
+//
+// IShapeList.cs
+//
+// Copyright (C) 2008 Piotr Zurek p.z...@gmail.com
+//
+// Permission is hereby granted, free of charge, to any person obtaining a
copy
+// of this software and associated documentation files (the "Software"),
to deal
+// in the Software without restriction, including without limitation the
rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included
in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
IN
+// THE SOFTWARE.
+//
+
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+
+namespace Teddy.Core
+{
+ public interface IShapeList<T> : IList<T>
+ where T: IShape
+ {
+ }
+}

Added:
trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core.Shape/IStroke.cs
==============================================================================
--- (empty file)
+++ trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core.Shape/IStroke.cs
Wed Sep 3 21:21:04 2008
@@ -0,0 +1,39 @@
+//------10--------20--------30--------40--------50--------60--------70--------80
+//
+// IStroke.cs
+//
+// Copyright (C) 2008 Piotr Zurek p.z...@gmail.com
+//
+// Permission is hereby granted, free of charge, to any person obtaining a
copy
+// of this software and associated documentation files (the "Software"),
to deal
+// in the Software without restriction, including without limitation the
rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included
in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
IN
+// THE SOFTWARE.
+//
+
+
+using System;
+using Cairo;
+using Teddy.Core;
+
+namespace Teddy.Core
+{
+ public interface IStroke
+ {
+ Color Color { get; set; }
+ int Thickness { get; set; }
+ Dash Dash { get; set; }
+ }
+}
\ No newline at end of file

Added: trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core.Shape/Shape.cs
==============================================================================
--- (empty file)
+++ trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core.Shape/Shape.cs
Wed Sep 3 21:21:04 2008
@@ -0,0 +1,46 @@
+//------10--------20--------30--------40--------50--------60--------70--------80
+//
+// Shape.cs
+//
+// Copyright (C) 2008 Piotr Zurek p.z...@gmail.com
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <http://www.gnu.org/licenses/>.
+//
+
+using System;
+
+namespace Teddy.Core
+{
+ public class Shape : IShape
+ {
+ ILayer layer;
+
+ public ILayer Layer {
+ get {
+ return layer;
+ }
+ set {
+ layer = value;
+ }
+ }
+
+ public Shape()
+ {
+ }
+
+ public void Draw()
+ {
+ }
+ }
+}

Added:
trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core.Shape/ShapeList.cs
==============================================================================
--- (empty file)
+++
trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core.Shape/ShapeList.cs
Wed Sep 3 21:21:04 2008
@@ -0,0 +1,126 @@
+//------10--------20--------30--------40--------50--------60--------70--------80
+//
+// ShapeList.cs
+//
+// Copyright (C) 2008 Piotr Zurek p.z...@gmail.com
+//
+// Permission is hereby granted, free of charge, to any person obtaining a
copy
+// of this software and associated documentation files (the "Software"),
to deal
+// in the Software without restriction, including without limitation the
rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included
in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
IN
+// THE SOFTWARE.
+//
+
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+
+namespace Teddy.Core
+{
+
+
+ public class ShapeList<T> : IShapeList<T>
+ where T : IShape
+ {
+ public ShapeList () : base()
+ {
+ list.Clear();
+ }
+
+ private List<T> list;
+
+ public void Add (T item)
+ {
+ list.Add (item);
+ }
+
+ public void Insert (int index, T item)
+ {
+ list.Insert (index, item);
+ }
+
+ void IList<T>.Insert (int index, T item)
+ {
+ list.Insert (index, item);
+ }
+
+ void IList<T>.RemoveAt (int index)
+ {
+ list.RemoveAt (index);
+ }
+
+ int IList<T>.IndexOf (T item)
+ {
+ return list.IndexOf (item);
+ }
+
+ T IList<T>.this[int index] {
+ get { return list[index]; }
+ set { list[index] = value; }
+ }
+
+ public IEnumerator<T> GetEnumerator ()
+ {
+ return list.GetEnumerator ();
+ }
+
+ IEnumerator IEnumerable.GetEnumerator ()
+ {
+ return GetEnumerator ();
+ }
+
+ void ICollection<T>.Add (T item)
+ {
+ list.Add (item);
+ }
+
+ public bool Remove (T item)
+ {
+ lock (this) {
+ return list.Remove (item);
+ }
+ }
+
+ void ICollection<T>.Clear ()
+ {
+ list.Clear ();
+ }
+
+ bool ICollection<T>.Contains (T item)
+ {
+ return list.Contains (item);
+ }
+
+ void ICollection<T>.CopyTo (T [] array, int arrayIndex)
+ {
+ list.CopyTo (array, arrayIndex);
+ }
+
+ public int Count {
+ get {
+ lock (this) {
+ return list.Count;
+ }
+ }
+ }
+
+ bool ICollection<T>.IsReadOnly {
+ get {
+ return ((ICollection<T>)list).IsReadOnly; }
+ }
+
+ }
+}
\ No newline at end of file

Added:
trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core.Shape/ShapeTypeEnum.cs
==============================================================================
--- (empty file)
+++
trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core.Shape/ShapeTypeEnum.cs
Wed Sep 3 21:21:04 2008
@@ -0,0 +1,28 @@
+//------10--------20--------30--------40--------50--------60--------70--------80
+//
+// ShapeTypeEnum.cs
+//
+// Copyright (C) 2008 Piotr Zurek p.z...@gmail.com
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <http://www.gnu.org/licenses/>.
+//
+
+using System;
+
+namespace Teddy.Core
+{
+ public enum ShapeTypeEnum
+ {
+ }
+}

Added:
trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core.Shape/Stroke.cs
==============================================================================
--- (empty file)
+++ trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core.Shape/Stroke.cs
Wed Sep 3 21:21:04 2008
@@ -0,0 +1,69 @@
+//------10--------20--------30--------40--------50--------60--------70--------80
+//
+// Stroke.cs
+//
+// Copyright (C) 2008 Piotr Zurek p.z...@gmail.com
+//
+// Permission is hereby granted, free of charge, to any person obtaining a
copy
+// of this software and associated documentation files (the "Software"),
to deal
+// in the Software without restriction, including without limitation the
rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included
in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
IN
+// THE SOFTWARE.
+//
+
+using System;
+using Cairo;
+using Teddy.Core;
+
+namespace Teddy.Core
+{
+ public class Stroke : IStroke
+ {
+ Color color;
+ int thickness;
+ Dash dash;
+
+ public Color Color {
+ get {
+ return color;
+ }
+ set {
+ color = value;
+ }
+ }
+
+ public int Thickness {
+ get {
+ return thickness;
+ }
+ set {
+ thickness = value;
+ }
+ }
+
+ public Dash Dash {
+ get {
+ return dash;
+ }
+ set {
+ dash = value;
+ }
+ }
+
+ public Stroke()
+ {
+ }
+ }
+}

Added: trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core.csproj
==============================================================================
--- (empty file)
+++ trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core.csproj Wed Sep
3 21:21:04 2008
@@ -0,0 +1,72 @@
+<Project DefaultTargets="Build"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+
<ProjectTypeGuids>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
+ <ProjectGuid>{26E0D481-5056-4E4A-B1A8-F4184755695E}</ProjectGuid>
+ <RootNamespace>
+ </RootNamespace>
+ <Configuration Condition=" '$(Configuration)'
== '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|
AnyCPU' ">
+ <OutputType>Library</OutputType>
+ <AssemblyName>Teddy.Core</AssemblyName>
+ <OutputPath>bin\Debug\</OutputPath>
+ <DebugSymbols>true</DebugSymbols>
+ <RootNamespace>
+ </RootNamespace>
+ <AllowUnsafeBlocks>false</AllowUnsafeBlocks>
+ <Optimize>true</Optimize>
+ <CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
+ <DefineConstants>DEBUG</DefineConstants>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|
AnyCPU' ">
+ <OutputType>Library</OutputType>
+ <AssemblyName>Teddy.Core</AssemblyName>
+ <OutputPath>bin\Release\</OutputPath>
+ <DebugSymbols>false</DebugSymbols>
+ <RootNamespace>
+ </RootNamespace>
+ <AllowUnsafeBlocks>false</AllowUnsafeBlocks>
+ <Optimize>true</Optimize>
+ <CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
+ <DefineConstants>
+ </DefineConstants>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="System" />
+ <Reference Include="mscorlib" />
+ <Reference Include="Mono.Cairo" />
+ <Reference Include="atk-sharp, Version=2.12.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f" />
+ <Reference Include="gdk-sharp, Version=2.12.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f" />
+ <Reference Include="glib-sharp, Version=2.12.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f" />
+ <Reference Include="gtk-sharp, Version=2.12.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f" />
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="Teddy.Core.Canvas\ICanvas.cs" />
+ <Compile Include="Teddy.Core.Shape\Shape.cs" />
+ <Compile Include="Teddy.Core.Shape\IShape.cs" />
+ <Compile Include="Teddy.Core.Shape\ShapeTypeEnum.cs" />
+ <Compile Include="Teddy.Core.Canvas\Canvas.cs" />
+ <Compile Include="Teddy.Core.Shape\ISelectable.cs" />
+ <Compile Include="Teddy.Core.Shape\IMovable.cs" />
+ <Compile Include="Teddy.Core.Shape\IPaintable.cs" />
+ <Compile Include="Teddy.Core.Shape\Stroke.cs" />
+ <Compile Include="Teddy.Core.Shape\IStroke.cs" />
+ <Compile Include="Teddy.Core.Shape\IFill.cs" />
+ <Compile Include="Teddy.Core\Color.cs" />
+ <Compile Include="Teddy.Core\Dash.cs" />
+ <Compile Include="Teddy.Core\IColor.cs" />
+ <Compile Include="Teddy.Core\IDash.cs" />
+ <Compile Include="Teddy.Core.Shape\Fill.cs" />
+ <Compile Include="Teddy.Core.Layer\ILayer.cs" />
+ <Compile Include="Teddy.Core.Layer\Layer.cs" />
+ <Compile Include="Teddy.Core.Shape\IDrawable.cs" />
+ <Compile Include="Teddy.Core.Layer\LayerList.cs" />
+ <Compile Include="Teddy.Core.Layer\ILayerList.cs" />
+ <Compile Include="Teddy.Core.Shape\ShapeList.cs" />
+ <Compile Include="Teddy.Core.Shape\IShapeList.cs" />
+ </ItemGroup>
+ <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.Targets" />
+</Project>
\ No newline at end of file

Added: trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core.mdp
==============================================================================
--- (empty file)
+++ trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core.mdp Wed Sep 3
21:21:04 2008
@@ -0,0 +1,54 @@
+<Project name="Teddy.Core" fileversion="2.0" language="C#"
clr-version="Net_2_0" ctype="DotNetProject">
+ <Configurations active="Debug">
+ <Configuration name="Debug" ctype="DotNetProjectConfiguration">
+ <Output directory="bin/Debug" assemblyKeyFile="."
assembly="Teddy.Core" />
+ <Build debugmode="True" target="Library" />
+ <Execution runwithwarnings="True" consolepause="True"
runtime="MsNet" clr-version="Net_2_0" />
+ <CodeGeneration compiler="Mcs" warninglevel="4" optimize="True"
unsafecodeallowed="False" generateoverflowchecks="True"
definesymbols="DEBUG" generatexmldocumentation="False"
ctype="CSharpCompilerParameters" />
+ </Configuration>
+ <Configuration name="Release" ctype="DotNetProjectConfiguration">
+ <Output directory="bin/Release" assembly="Teddy.Core" />
+ <Build debugmode="False" target="Library" />
+ <Execution runwithwarnings="True" consolepause="True"
runtime="MsNet" clr-version="Net_2_0" />
+ <CodeGeneration compiler="Mcs" warninglevel="4" optimize="True"
unsafecodeallowed="False" generateoverflowchecks="True"
generatexmldocumentation="False" ctype="CSharpCompilerParameters" />
+ </Configuration>
+ </Configurations>
+ <Contents>
+ <File name="Teddy.Core.Canvas" subtype="Directory"
buildaction="Compile" />
+ <File name="Teddy.Core.Canvas/ICanvas.cs" subtype="Code"
buildaction="Compile" />
+ <File name="Teddy.Core.Shape" subtype="Directory"
buildaction="Compile" />
+ <File name="Teddy.Core.Shape/Shape.cs" subtype="Code"
buildaction="Compile" />
+ <File name="Teddy.Core.Shape/IShape.cs" subtype="Code"
buildaction="Compile" />
+ <File name="Teddy.Core.Shape/ShapeTypeEnum.cs" subtype="Code"
buildaction="Compile" />
+ <File name="Teddy.Core.Canvas/Canvas.cs" subtype="Code"
buildaction="Compile" />
+ <File name="Teddy.Core.Shape/ISelectable.cs" subtype="Code"
buildaction="Compile" />
+ <File name="Teddy.Core.Shape/IMovable.cs" subtype="Code"
buildaction="Compile" />
+ <File name="Teddy.Core.Shape/IPaintable.cs" subtype="Code"
buildaction="Compile" />
+ <File name="Teddy.Core.Shape/Stroke.cs" subtype="Code"
buildaction="Compile" />
+ <File name="Teddy.Core.Shape/IStroke.cs" subtype="Code"
buildaction="Compile" />
+ <File name="Teddy.Core.Shape/IFill.cs" subtype="Code"
buildaction="Compile" />
+ <File name="Teddy.Core" subtype="Directory" buildaction="Compile" />
+ <File name="Teddy.Core/Color.cs" subtype="Code" buildaction="Compile"
/>
+ <File name="Teddy.Core/Dash.cs" subtype="Code" buildaction="Compile" />
+ <File name="Teddy.Core/IColor.cs" subtype="Code" buildaction="Compile"
/>
+ <File name="Teddy.Core/IDash.cs" subtype="Code" buildaction="Compile"
/>
+ <File name="Teddy.Core.Shape/Fill.cs" subtype="Code"
buildaction="Compile" />
+ <File name="Teddy.Core.Layer" subtype="Directory"
buildaction="Compile" />
+ <File name="Teddy.Core.Layer/ILayer.cs" subtype="Code"
buildaction="Compile" />
+ <File name="Teddy.Core.Layer/Layer.cs" subtype="Code"
buildaction="Compile" />
+ <File name="Teddy.Core.Shape/IDrawable.cs" subtype="Code"
buildaction="Compile" />
+ <File name="Teddy.Core.Layer/LayerList.cs" subtype="Code"
buildaction="Compile" />
+ <File name="Teddy.Core.Layer/ILayerList.cs" subtype="Code"
buildaction="Compile" />
+ <File name="Teddy.Core.Shape/ShapeList.cs" subtype="Code"
buildaction="Compile" />
+ <File name="Teddy.Core.Shape/IShapeList.cs" subtype="Code"
buildaction="Compile" />
+ </Contents>
+ <References>
+ <ProjectReference type="Gac" localcopy="True" refto="System,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
+ <ProjectReference type="Gac" localcopy="True" refto="mscorlib,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
+ <ProjectReference type="Gac" localcopy="True" refto="Mono.Cairo,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" />
+ <ProjectReference type="Gac" localcopy="True" refto="atk-sharp,
Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
+ <ProjectReference type="Gac" localcopy="True" refto="gdk-sharp,
Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
+ <ProjectReference type="Gac" localcopy="True" refto="glib-sharp,
Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
+ <ProjectReference type="Gac" localcopy="True" refto="gtk-sharp,
Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
+ </References>
+</Project>
\ No newline at end of file

Added: trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core/Color.cs
==============================================================================
--- (empty file)
+++ trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core/Color.cs Wed
Sep 3 21:21:04 2008
@@ -0,0 +1,142 @@
+//------10--------20--------30--------40--------50--------60--------70--------80
+//
+// Color.cs
+//
+// Copyright (C) 2008 Piotr Zurek p.z...@gmail.com
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <http://www.gnu.org/licenses/>.
+//
+
+using System;
+
+namespace Teddy.Core
+{
+ public class Color : IColor
+ {
+ string name;
+ ushort red;
+ ushort green;
+ ushort blue;
+ ushort alfa;
+ bool isAuto;
+
+ public Color ()
+ {
+ this.name = "";
+ this.alfa = 255;
+ this.red = 0;
+ this.green = 0;
+ this.blue = 0;
+ }
+
+ public Color (ushort red, ushort green, ushort blue)
+ {
+ this.name = "";
+ this.alfa = 255;
+ this.red = red;
+ this.green = green;
+ this.blue = blue;
+ }
+
+ public Color (ushort alfa, ushort red,
+ ushort green, ushort blue)
+ {
+ this.name = "";
+ this.alfa = alfa;
+ this.red = red;
+ this.green = green;
+ this.blue = blue;
+ }
+
+ public Color (string name,
+ ushort alfa, ushort red,
+ ushort green, ushort blue)
+ {
+ this.name = name;
+ this.alfa = alfa;
+ this.red = red;
+ this.green = green;
+ this.blue = blue;
+ }
+
+ public string Name
+ {
+ get { return name; }
+ set { name = value; }
+ }
+
+ public bool IsAuto
+ {
+ get { return isAuto; }
+ set { isAuto = value; }
+ }
+
+ public ushort Red {
+ get { return red; }
+ set { red = value; }
+ }
+
+ public ushort Green {
+ get { return green; }
+ set { green = value; }
+ }
+
+ public ushort Blue {
+ get { return blue; }
+ set { blue = value; }
+ }
+
+ public ushort Alfa {
+ get { return alfa; }
+ set { alfa = value; }
+ }
+
+ public void SetARGB (ushort new_alfa, ushort new_red,
+ ushort new_green, ushort new_blue)
+ {
+ alfa = new_alfa;
+ red = new_red;
+ green = new_green;
+ blue = new_blue;
+ }
+
+ public void SetRGB (ushort new_red,
+ ushort new_green,
+ ushort new_blue)
+ {
+ alfa = 255;
+ red = new_red;
+ green = new_green;
+ blue = new_blue;
+ }
+
+ public void GetARGB (out ushort out_alfa, out ushort out_red,
+ out ushort out_green, out ushort out_blue)
+ {
+ out_alfa = alfa;
+ out_red = red;
+ out_green = green;
+ out_blue = blue;
+ }
+
+ public void GetRGB (out ushort out_red,
+ out ushort out_green,
+ out ushort out_blue)
+ {
+ out_red = red;
+ out_green = green;
+ out_blue = blue;
+ }
+ }
+}

Added: trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core/Dash.cs
==============================================================================
--- (empty file)
+++ trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core/Dash.cs Wed Sep
3 21:21:04 2008
@@ -0,0 +1,68 @@
+//------10--------20--------30--------40--------50--------60--------70--------80
+//
+// Dash.cs
+//
+// Copyright (C) 2008 Piotr Zurek p.z...@gmail.com
+//
+// Permission is hereby granted, free of charge, to any person obtaining a
copy
+// of this software and associated documentation files (the "Software"),
to deal
+// in the Software without restriction, including without limitation the
rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included
in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
IN
+// THE SOFTWARE.
+//
+
+
+using System;
+
+namespace Teddy.Core
+{
+ public class Dash : IDash
+ {
+ double[] dashes;
+ bool enabled;
+ double offset;
+
+ public double[] Dashes {
+ get {
+ return dashes;
+ }
+ set {
+ dashes = value;
+ }
+ }
+
+ public bool Enabled {
+ get {
+ return enabled;
+ }
+ set {
+ enabled = value;
+ }
+ }
+
+ public double Offset {
+ get {
+ return offset;
+ }
+ set {
+ offset = value;
+ }
+ }
+
+ public Dash()
+ {
+ }
+ }
+}

Added: trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core/IColor.cs
==============================================================================
--- (empty file)
+++ trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core/IColor.cs Wed
Sep 3 21:21:04 2008
@@ -0,0 +1,48 @@
+//------10--------20--------30--------40--------50--------60--------70--------80
+//
+// IColor.cs
+//
+// Copyright (C) 2008 Piotr Zurek p.z...@gmail.com
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <http://www.gnu.org/licenses/>.
+//
+
+using System;
+
+namespace Teddy.Core
+{
+ public interface IColor
+ {
+ string Name {get; set; }
+
+ bool IsAuto { get; set; }
+
+ ushort Alfa { get; set; }
+ ushort Red { get; set; }
+ ushort Green { get; set; }
+ ushort Blue { get; set; }
+
+ void SetARGB (ushort new_alfa, ushort new_red,
+ ushort new_green, ushort new_blue);
+
+ void SetRGB (ushort new_red, ushort new_green, ushort new_blue);
+
+ void GetARGB (out ushort out_alfa, out ushort out_red,
+ out ushort out_green, out ushort out_blue);
+
+ void GetRGB (out ushort out_red,
+ out ushort out_green,
+ out ushort out_blue);
+ }
+}

Added: trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core/IDash.cs
==============================================================================
--- (empty file)
+++ trunk/Psycho/src/Libraries/Teddy/Teddy.Core/Teddy.Core/IDash.cs Wed
Sep 3 21:21:04 2008
@@ -0,0 +1,37 @@
+//------10--------20--------30--------40--------50--------60--------70--------80
+//
+// IDash.cs
+//
+// Copyright (C) 2008 Piotr Zurek p.z...@gmail.com
+//
+// Permission is hereby granted, free of charge, to any person obtaining a
copy
+// of this software and associated documentation files (the "Software"),
to deal
+// in the Software without restriction, including without limitation the
rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included
in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
IN
+// THE SOFTWARE.
+//
+
+
+using System;
+
+namespace Teddy.Core
+{
+ public interface IDash
+ {
+ double[] Dashes { get; set; }
+ bool Enabled { get; set; }
+ double Offset {get; set; }
+ }
+}

Added: trunk/Psycho/src/Libraries/Teddy/Teddy.mds
==============================================================================
--- (empty file)
+++ trunk/Psycho/src/Libraries/Teddy/Teddy.mds Wed Sep 3 21:21:04 2008
@@ -0,0 +1,20 @@
+<Combine name="Teddy" fileversion="2.0">
+ <Configurations>
+ <Configuration name="Debug" ctype="CombineConfiguration">
+ <Entry build="True" name="Teddy.Core" configuration="Debug" />
+ <Entry build="True" name="TeddyPad" configuration="Debug" />
+ </Configuration>
+ <Configuration name="Release" ctype="CombineConfiguration">
+ <Entry build="True" name="Teddy.Core" configuration="Release" />
+ <Entry build="True" name="TeddyPad" configuration="Release" />
+ </Configuration>
+ </Configurations>
+ <StartMode startupentry="TeddyPad" single="True">
+ <Execute type="None" entry="Teddy.Core" />
+ <Execute type="None" entry="TeddyPad" />
+ </StartMode>
+ <Entries>
+ <Entry filename="Teddy.Core/Teddy.Core.mdp" />
+ <Entry filename="TeddyPad/TeddyPad.mdp" />
+ </Entries>
+</Combine>
\ No newline at end of file

Added: trunk/Psycho/src/Libraries/Teddy/TeddyPad/Main.cs
==============================================================================
--- (empty file)
+++ trunk/Psycho/src/Libraries/Teddy/TeddyPad/Main.cs Wed Sep 3 21:21:04
2008
@@ -0,0 +1,49 @@
+//------10--------20--------30--------40--------50--------60--------70--------80
+//
+// Main.cs
+//
+// Copyright (C) 2008 Piotr Zurek p.z...@gmail.com
+//
+// Permission is hereby granted, free of charge, to any person obtaining a
copy
+// of this software and associated documentation files (the "Software"),
to deal
+// in the Software without restriction, including without limitation the
rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included
in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
IN
+// THE SOFTWARE.
+//
+using System;
+using Gtk;
+
+namespace TeddyPad
+{
+ class MainClass
+ {
+ public static void Main()
+ {
+ Application.Init();
+ MainWindow mainWindow = new MainWindow();
+ mainWindow.DeleteEvent += OnDelete;
+ mainWindow.SetDefaultSize(640, 480);
+ mainWindow.SetPosition(WindowPosition.Center);
+ mainWindow.Show();
+ Application.Run();
+ }
+
+ static void OnDelete(object sender, DeleteEventArgs args)
+ {
+ Application.Quit();
+ return;
+ }
+ }
+}
\ No newline at end of file

Added: trunk/Psycho/src/Libraries/Teddy/TeddyPad/MainWindow.cs
==============================================================================
--- (empty file)
+++ trunk/Psycho/src/Libraries/Teddy/TeddyPad/MainWindow.cs Wed Sep 3
21:21:04 2008
@@ -0,0 +1,55 @@
+//------10--------20--------30--------40--------50--------60--------70--------80
+//
+// MainWindow.cs
+//
+// Copyright (C) 2008 Piotr Zurek p.z...@gmail.com
+//
+// Permission is hereby granted, free of charge, to any person obtaining a
copy
+// of this software and associated documentation files (the "Software"),
to deal
+// in the Software without restriction, including without limitation the
rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included
in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
IN
+// THE SOFTWARE.
+//
+
+
+using System;
+using Gtk;
+using Gdk;
+using Teddy.Core;
+
+namespace TeddyPad
+{
+ public class MainWindow : Gtk.Window
+ {
+ public MainWindow () : base ("Psycho")
+ {
+ VBox globalVBox = new VBox ();
+
+ Canvas canvas = new Canvas();
+ Button addShapeButton = new Button ();
+ addShapeButton.Label = "Add new shape";
+
+ HBox buttonHBox = new HBox();
+
+ buttonHBox.PackStart (addShapeButton, false, true, 6);
+
+ globalVBox.PackStart(canvas, true, true, 6);
+ globalVBox.PackStart(buttonHBox, false, false, 6);
+ globalVBox.ShowAll ();
+
+ this.Add (globalVBox);
+ }
+ }
+}
\ No newline at end of file

Added: trunk/Psycho/src/Libraries/Teddy/TeddyPad/TeddyPad.csproj
==============================================================================
--- (empty file)
+++ trunk/Psycho/src/Libraries/Teddy/TeddyPad/TeddyPad.csproj Wed Sep 3
21:21:04 2008
@@ -0,0 +1,60 @@
+<Project DefaultTargets="Build"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+
<ProjectTypeGuids>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
+ <ProjectGuid>{256704C1-C489-4A6A-9931-332B0EBA4254}</ProjectGuid>
+ <RootNamespace>
+ </RootNamespace>
+ <Configuration Condition=" '$(Configuration)'
== '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|
AnyCPU' ">
+ <OutputType>Exe</OutputType>
+ <AssemblyName>TeddyPad</AssemblyName>
+ <OutputPath>bin\Debug\</OutputPath>
+ <DebugSymbols>true</DebugSymbols>
+ <RootNamespace>
+ </RootNamespace>
+ <AllowUnsafeBlocks>false</AllowUnsafeBlocks>
+ <Optimize>true</Optimize>
+ <CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
+ <DefineConstants>DEBUG</DefineConstants>
+ <WarningLevel>4</WarningLevel>
+ <ApplicationIcon>.</ApplicationIcon>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|
AnyCPU' ">
+ <OutputType>Exe</OutputType>
+ <AssemblyName>TeddyPad</AssemblyName>
+ <OutputPath>bin\Release\</OutputPath>
+ <DebugSymbols>false</DebugSymbols>
+ <RootNamespace>
+ </RootNamespace>
+ <AllowUnsafeBlocks>false</AllowUnsafeBlocks>
+ <Optimize>true</Optimize>
+ <CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
+ <DefineConstants>
+ </DefineConstants>
+ <WarningLevel>4</WarningLevel>
+ <ApplicationIcon>.</ApplicationIcon>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="atk-sharp, Version=2.12.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f" />
+ <Reference Include="gdk-sharp, Version=2.12.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f" />
+ <Reference Include="gtk-sharp, Version=2.12.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f" />
+ <Reference Include="glib-sharp, Version=2.12.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f" />
+ <Reference Include="Mono.Cairo" />
+ <Reference Include="mscorlib" />
+ <Reference Include="pango-sharp, Version=2.12.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f" />
+ <Reference Include="System" />
+ </ItemGroup>
+ <ItemGroup>
+ <ProjectReference Include="..\Teddy.Core\Teddy.Core.csproj">
+ <Project>{26E0D481-5056-4E4A-B1A8-F4184755695E}</Project>
+ <Name>Teddy.Core</Name>
+ </ProjectReference>
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="Main.cs" />
+ <Compile Include="MainWindow.cs" />
+ </ItemGroup>
+ <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.Targets" />
+</Project>
\ No newline at end of file

Added: trunk/Psycho/src/Libraries/Teddy/TeddyPad/TeddyPad.mdp
==============================================================================
--- (empty file)
+++ trunk/Psycho/src/Libraries/Teddy/TeddyPad/TeddyPad.mdp Wed Sep 3
21:21:04 2008
@@ -0,0 +1,31 @@
+<Project name="Sample" fileversion="2.0" language="C#"
clr-version="Net_2_0" ctype="DotNetProject">
+ <Configurations active="Debug">
+ <Configuration name="Debug" ctype="DotNetProjectConfiguration">
+ <Output directory="bin/Debug" assembly="TeddyPad" />
+ <Build debugmode="True" target="Exe" />
+ <Execution runwithwarnings="True" consolepause="True"
runtime="MsNet" clr-version="Net_2_0" />
+ <CodeGeneration compiler="Mcs" warninglevel="4" optimize="True"
unsafecodeallowed="False" generateoverflowchecks="True" mainclass=""
definesymbols="DEBUG" generatexmldocumentation="False" win32Icon="."
ctype="CSharpCompilerParameters" />
+ </Configuration>
+ <Configuration name="Release" ctype="DotNetProjectConfiguration">
+ <Output directory="bin/Release" assembly="TeddyPad" />
+ <Build debugmode="False" target="Exe" />
+ <Execution runwithwarnings="True" consolepause="True"
runtime="MsNet" clr-version="Net_2_0" />
+ <CodeGeneration compiler="Mcs" warninglevel="4" optimize="True"
unsafecodeallowed="False" generateoverflowchecks="True" mainclass=""
generatexmldocumentation="False" win32Icon="."
ctype="CSharpCompilerParameters" />
+ </Configuration>
+ </Configurations>
+ <Contents>
+ <File name="Main.cs" subtype="Code" buildaction="Compile" />
+ <File name="MainWindow.cs" subtype="Code" buildaction="Compile" />
+ </Contents>
+ <References>
+ <ProjectReference type="Gac" localcopy="True" refto="atk-sharp,
Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
+ <ProjectReference type="Gac" localcopy="True" refto="gdk-sharp,
Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
+ <ProjectReference type="Gac" localcopy="True" refto="gtk-sharp,
Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
+ <ProjectReference type="Gac" localcopy="True" refto="glib-sharp,
Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
+ <ProjectReference type="Gac" localcopy="True" refto="Mono.Cairo,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" />
+ <ProjectReference type="Gac" localcopy="True" refto="mscorlib,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
+ <ProjectReference type="Gac" localcopy="True" refto="pango-sharp,
Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
+ <ProjectReference type="Gac" localcopy="True" refto="System,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
+ <ProjectReference type="Project" localcopy="True" refto="Teddy.Core" />
+ </References>
+</Project>
\ No newline at end of file

Added: trunk/Psycho/src/Psycho.mds
==============================================================================
--- (empty file)
+++ trunk/Psycho/src/Psycho.mds Wed Sep 3 21:21:04 2008
@@ -0,0 +1,12 @@
+<Combine name="Psycho" fileversion="2.0">
+ <StartMode startupentry="Core" single="True">
+ <Execute type="None" entry="Core" />
+ <Execute type="None" entry="Libraries" />
+ <Execute type="None" entry="Extensions" />
+ </StartMode>
+ <Entries>
+ <Entry filename="Core/Core.mds" />
+ <Entry filename="Libraries/Libraries.mds" />
+ <Entry filename="Extensions/Extensions.mds" />
+ </Entries>
+</Combine>
\ No newline at end of file
Reply all
Reply to author
Forward
0 new messages