- Timestamp:
- 02/15/10 15:39:26 (15 years ago)
- Location:
- trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/HeuristicLab.Netron-3.0.2672.12446/Ants.cs
r2781 r2801 1 using System; 1 #region License Information 2 //This end-user license agreement applies to the following software; 3 4 //The Netron Diagramming Library 5 //Cobalt.IDE 6 //Xeon webserver 7 //Neon UI Library 8 9 //Copyright (C) 2007, Francois M.Vanderseypen, The Netron Project & The Orbifold 10 11 //This program is free software; you can redistribute it and/or 12 //modify it under the terms of the GNU General Public License 13 //as published by the Free Software Foundation; either version 2 14 //of the License, or (at your option) any later version. 15 16 //This program is distributed in the hope that it will be useful, 17 //but WITHOUT ANY WARRANTY; without even the implied warranty of 18 //MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 //GNU General Public License for more details. 20 21 //You should have received a copy of the GNU General Public License 22 //along with this program; if not, write to the Free Software 23 //Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA 24 25 26 //http://www.fsf.org/licensing/licenses/gpl.html 27 28 //http://www.fsf.org/licensing/licenses/gpl-faq.html 29 #endregion 30 31 using System; 2 32 using System.Collections.Generic; 3 33 using System.Linq; -
trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/HeuristicLab.Netron-3.0.2672.12446/Controller.cs
r2782 r2801 1 using System; 1 #region License Information 2 //This end-user license agreement applies to the following software; 3 4 //The Netron Diagramming Library 5 //Cobalt.IDE 6 //Xeon webserver 7 //Neon UI Library 8 9 //Copyright (C) 2007, Francois M.Vanderseypen, The Netron Project & The Orbifold 10 11 //This program is free software; you can redistribute it and/or 12 //modify it under the terms of the GNU General Public License 13 //as published by the Free Software Foundation; either version 2 14 //of the License, or (at your option) any later version. 15 16 //This program is distributed in the hope that it will be useful, 17 //but WITHOUT ANY WARRANTY; without even the implied warranty of 18 //MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 //GNU General Public License for more details. 20 21 //You should have received a copy of the GNU General Public License 22 //along with this program; if not, write to the Free Software 23 //Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA 24 25 26 //http://www.fsf.org/licensing/licenses/gpl.html 27 28 //http://www.fsf.org/licensing/licenses/gpl-faq.html 29 #endregion 30 31 using System; 2 32 using System.Collections.Generic; 3 33 using System.Linq; -
trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/HeuristicLab.Netron-3.0.2672.12446/Ghosts.cs
r2781 r2801 1 using System; 1 #region License Information 2 //This end-user license agreement applies to the following software; 3 4 //The Netron Diagramming Library 5 //Cobalt.IDE 6 //Xeon webserver 7 //Neon UI Library 8 9 //Copyright (C) 2007, Francois M.Vanderseypen, The Netron Project & The Orbifold 10 11 //This program is free software; you can redistribute it and/or 12 //modify it under the terms of the GNU General Public License 13 //as published by the Free Software Foundation; either version 2 14 //of the License, or (at your option) any later version. 15 16 //This program is distributed in the hope that it will be useful, 17 //but WITHOUT ANY WARRANTY; without even the implied warranty of 18 //MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 //GNU General Public License for more details. 20 21 //You should have received a copy of the GNU General Public License 22 //along with this program; if not, write to the Free Software 23 //Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA 24 25 26 //http://www.fsf.org/licensing/licenses/gpl.html 27 28 //http://www.fsf.org/licensing/licenses/gpl-faq.html 29 #endregion 30 31 using System; 2 32 using System.Collections.Generic; 3 33 using System.Linq; -
trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/HeuristicLab.Netron-3.0.2672.12446/HeuristicLab.Netron-3.0.2672.12446.csproj
r2782 r2801 33 33 <WarningLevel>4</WarningLevel> 34 34 </PropertyGroup> 35 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> 36 <DebugSymbols>true</DebugSymbols> 37 <OutputPath>bin\x86\Debug\</OutputPath> 38 <DefineConstants>DEBUG;TRACE</DefineConstants> 39 <DebugType>full</DebugType> 40 <PlatformTarget>x86</PlatformTarget> 41 <ErrorReport>prompt</ErrorReport> 42 </PropertyGroup> 43 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' "> 44 <OutputPath>bin\x86\Release\</OutputPath> 45 <DefineConstants>TRACE</DefineConstants> 46 <Optimize>true</Optimize> 47 <DebugType>pdbonly</DebugType> 48 <PlatformTarget>x86</PlatformTarget> 49 <ErrorReport>prompt</ErrorReport> 50 </PropertyGroup> 35 51 <ItemGroup> 36 52 <Reference Include="System" /> … … 50 66 </ItemGroup> 51 67 <ItemGroup> 52 <Compile Include="NetronForm.cs">53 <SubType>Form</SubType>54 </Compile>55 <Compile Include="NetronForm.Designer.cs">56 <DependentUpon>NetronForm.cs</DependentUpon>57 </Compile>58 <Compile Include="NetronTestApplication.cs" />59 68 <Compile Include="NetronVisualization.cs"> 60 69 <SubType>Component</SubType> -
trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/HeuristicLab.Netron-3.0.2672.12446/HeuristicLabNetronPlugin.cs
r2790 r2801 1 using System; 1 #region License Information 2 /* HeuristicLab 3 * Copyright (C) 2002-2010 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 * 5 * This file is part of HeuristicLab. 6 * 7 * HeuristicLab is free software: you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by 9 * the Free Software Foundation, either version 3 of the License, or 10 * (at your option) any later version. 11 * 12 * HeuristicLab is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License 18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>. 19 */ 20 #endregion 21 22 using System; 2 23 using System.Collections.Generic; 3 24 using System.Linq; -
trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/HeuristicLab.Netron-3.0.2672.12446/NetronVisualization.Designer.cs
r2781 r2801 1 namespace HeuristicLab.Netron { 1 #region License Information 2 /* HeuristicLab 3 * Copyright (C) 2002-2010 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 * 5 * This file is part of HeuristicLab. 6 * 7 * HeuristicLab is free software: you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by 9 * the Free Software Foundation, either version 3 of the License, or 10 * (at your option) any later version. 11 * 12 * HeuristicLab is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License 18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>. 19 */ 20 #endregion 21 22 namespace HeuristicLab.Netron { 2 23 partial class NetronVisualization { 3 24 /// <summary> -
trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/HeuristicLab.Netron-3.0.2672.12446/NetronVisualization.cs
r2782 r2801 1 using System; 1 #region License Information 2 /* HeuristicLab 3 * Copyright (C) 2002-2010 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 * 5 * This file is part of HeuristicLab. 6 * 7 * HeuristicLab is free software: you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by 9 * the Free Software Foundation, either version 3 of the License, or 10 * (at your option) any later version. 11 * 12 * HeuristicLab is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License 18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>. 19 */ 20 #endregion 21 22 using System; 2 23 using System.Collections.Generic; 3 24 using System.ComponentModel; … … 13 34 [ToolboxItem(true)] 14 35 public partial class NetronVisualization : DiagramControlBase { 15 private static Size INVALID_SIZE = new Size(-1, -1);36 private static Size INVALID_SIZE = new Size(-1, -1); 16 37 private Size oldSize; 17 38 public NetronVisualization() … … 43 64 44 65 private void NetronVisualization_SizeChanged(object sender, EventArgs e) { 45 if (this.oldSize == INVALID_SIZE) {66 //if (this.oldSize == INVALID_SIZE) { 46 67 this.View.PageSize = new Size((int)(this.Size.Width * this.Magnification.Width), (int)(this.Size.Height * this.Magnification.Height)); 47 oldSize = this.Size; 48 return; 49 } 68 // if (!this.DesignMode) 69 // oldSize = this.Size; 70 // return; 71 //} 50 72 51 SizeF magnificationChanges = new SizeF();52 magnificationChanges.Width = ((float)this.Size.Width) / oldSize.Width;53 magnificationChanges.Height = ((float)this.Size.Height) / oldSize.Height;73 //SizeF magnificationChanges = new SizeF(); 74 //magnificationChanges.Width = ((float)this.Size.Width) / oldSize.Width; 75 //magnificationChanges.Height = ((float)this.Size.Height) / oldSize.Height; 54 76 55 SizeF newMagnification = new SizeF();56 newMagnification.Width = this.View.Magnification.Width * magnificationChanges.Width;57 newMagnification.Height = this.View.Magnification.Height * magnificationChanges.Height;77 //SizeF newMagnification = new SizeF(); 78 //newMagnification.Width = this.View.Magnification.Width * magnificationChanges.Width; 79 //newMagnification.Height = this.View.Magnification.Height * magnificationChanges.Height; 58 80 59 this.Magnification = newMagnification;60 this.oldSize = this.Size;81 //this.Magnification = newMagnification; 82 //this.oldSize = this.Size; 61 83 } 62 84 -
trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/HeuristicLab.Netron-3.0.2672.12446/TextEditor.cs
r2781 r2801 1 using System; 1 #region License Information 2 //This end-user license agreement applies to the following software; 3 4 //The Netron Diagramming Library 5 //Cobalt.IDE 6 //Xeon webserver 7 //Neon UI Library 8 9 //Copyright (C) 2007, Francois M.Vanderseypen, The Netron Project & The Orbifold 10 11 //This program is free software; you can redistribute it and/or 12 //modify it under the terms of the GNU General Public License 13 //as published by the Free Software Foundation; either version 2 14 //of the License, or (at your option) any later version. 15 16 //This program is distributed in the hope that it will be useful, 17 //but WITHOUT ANY WARRANTY; without even the implied warranty of 18 //MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 //GNU General Public License for more details. 20 21 //You should have received a copy of the GNU General Public License 22 //along with this program; if not, write to the Free Software 23 //Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA 24 25 26 //http://www.fsf.org/licensing/licenses/gpl.html 27 28 //http://www.fsf.org/licensing/licenses/gpl-faq.html 29 #endregion 30 31 using System; 2 32 using System.Collections.Generic; 3 33 using System.Linq; -
trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/HeuristicLab.Netron-3.0.2672.12446/View.cs
r2781 r2801 1 using System; 1 #region License Information 2 //This end-user license agreement applies to the following software; 3 4 //The Netron Diagramming Library 5 //Cobalt.IDE 6 //Xeon webserver 7 //Neon UI Library 8 9 //Copyright (C) 2007, Francois M.Vanderseypen, The Netron Project & The Orbifold 10 11 //This program is free software; you can redistribute it and/or 12 //modify it under the terms of the GNU General Public License 13 //as published by the Free Software Foundation; either version 2 14 //of the License, or (at your option) any later version. 15 16 //This program is distributed in the hope that it will be useful, 17 //but WITHOUT ANY WARRANTY; without even the implied warranty of 18 //MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 //GNU General Public License for more details. 20 21 //You should have received a copy of the GNU General Public License 22 //along with this program; if not, write to the Free Software 23 //Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA 24 25 26 //http://www.fsf.org/licensing/licenses/gpl.html 27 28 //http://www.fsf.org/licensing/licenses/gpl-faq.html 29 #endregion 30 31 using System; 2 32 using System.Collections.Generic; 3 33 using System.Linq; -
trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/Netron.Diagramming.Core-3.0.2672.12446/Netron.Diagramming.Core-3.0.2672.12446.csproj
r2772 r2801 36 36 </ConfigurationOverrideFile> 37 37 <DefineConstants>DEBUG;TRACE</DefineConstants> 38 <DocumentationFile>bin\Debug\Netron Documentation.xml</DocumentationFile> 38 <DocumentationFile> 39 </DocumentationFile> 39 40 <DebugSymbols>true</DebugSymbols> 40 41 <FileAlignment>4096</FileAlignment> … … 76 77 <ErrorReport>prompt</ErrorReport> 77 78 <CodeAnalysisRules>-Microsoft.Naming#CA1725;-Microsoft.Performance#CA1807</CodeAnalysisRules> 79 </PropertyGroup> 80 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> 81 <DebugSymbols>true</DebugSymbols> 82 <OutputPath>bin\x86\Debug\</OutputPath> 83 <DefineConstants>DEBUG;TRACE</DefineConstants> 84 <BaseAddress>285212672</BaseAddress> 85 <CheckForOverflowUnderflow>true</CheckForOverflowUnderflow> 86 <DocumentationFile>bin\Debug\Netron Documentation.xml</DocumentationFile> 87 <FileAlignment>4096</FileAlignment> 88 <DebugType>full</DebugType> 89 <PlatformTarget>x86</PlatformTarget> 90 <CodeAnalysisRules>-Microsoft.Design#CA1040;-Microsoft.Design#CA1020;-Microsoft.Design#CA1045;-Microsoft.Design#CA1033;-Microsoft.Design#CA1030;-Microsoft.Design#CA1062;-Microsoft.Globalization#CA1301;-Microsoft.Globalization#CA1302;-Microsoft.Globalization#CA1303;-Microsoft.Globalization#CA1306;-Microsoft.Globalization#CA1304;-Microsoft.Globalization#CA1305;-Microsoft.Globalization#CA1300;-Microsoft.Mobility#CA1600;-Microsoft.Mobility#CA1601;-Microsoft.Naming#CA1725;-Microsoft.Performance#CA1811;-Microsoft.Performance#CA1807;-Microsoft.Performance#CA1822;-Microsoft.Portability#CA1901;-Microsoft.Portability#CA1900;-Microsoft.Security#CA2116;-Microsoft.Security#CA2117;-Microsoft.Security#CA2105;-Microsoft.Security#CA2104;-Microsoft.Security#CA2114;-Microsoft.Security#CA2123;-Microsoft.Security#CA2108;-Microsoft.Security#CA2107;-Microsoft.Security#CA2103;-Microsoft.Security#CA2109;-Microsoft.Security#CA2106;-Microsoft.Security#CA2112;-Microsoft.Security#CA2110;-Microsoft.Security#CA2120;-Microsoft.Usage#CA2214;-Microsoft.Usage#CA2208</CodeAnalysisRules> 91 <GenerateSerializationAssemblies>On</GenerateSerializationAssemblies> 92 <ErrorReport>prompt</ErrorReport> 93 </PropertyGroup> 94 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' "> 95 <OutputPath>bin\x86\Release\</OutputPath> 96 <DefineConstants>TRACE</DefineConstants> 97 <BaseAddress>285212672</BaseAddress> 98 <Optimize>true</Optimize> 99 <FileAlignment>4096</FileAlignment> 100 <PlatformTarget>x86</PlatformTarget> 101 <CodeAnalysisRules>-Microsoft.Naming#CA1725;-Microsoft.Performance#CA1807</CodeAnalysisRules> 102 <ErrorReport>prompt</ErrorReport> 78 103 </PropertyGroup> 79 104 <ItemGroup>
Note: See TracChangeset
for help on using the changeset viewer.