diff options
-rw-r--r-- | TestApps/MacTest/Info.plist | 16 | ||||
-rw-r--r-- | TestApps/MacTest/MacTest.csproj | 82 | ||||
-rw-r--r-- | TestApps/MacTest/Main.cs | 17 | ||||
-rw-r--r-- | Xwt.Mac/AssemblyInfo.cs | 53 | ||||
-rw-r--r-- | Xwt.Mac/Xwt.Mac.csproj | 377 | ||||
-rw-r--r-- | Xwt.Mac/Xwt.Mac.nuspec | 30 | ||||
-rw-r--r-- | Xwt.Mac/Xwt.Mac/NSStringAttributeKey.cs | 434 | ||||
-rw-r--r-- | Xwt.sln | 47 |
8 files changed, 0 insertions, 1056 deletions
diff --git a/TestApps/MacTest/Info.plist b/TestApps/MacTest/Info.plist deleted file mode 100644 index deb645ae..00000000 --- a/TestApps/MacTest/Info.plist +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> -<plist version="1.0"> -<dict> - <key>CFBundleIdentifier</key> - <string>com.yourcompany.MacTest</string> - <key>CFBundleName</key> - <string>MacTest</string> - <key>CFBundleVersion</key> - <string>1</string> - <key>LSMinimumSystemVersion</key> - <string>10.6</string> - <key>NSPrincipalClass</key> - <string>NSApplication</string> -</dict> -</plist> diff --git a/TestApps/MacTest/MacTest.csproj b/TestApps/MacTest/MacTest.csproj deleted file mode 100644 index bf90de29..00000000 --- a/TestApps/MacTest/MacTest.csproj +++ /dev/null @@ -1,82 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> - <PropertyGroup> - <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> - <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> - <ProjectGuid>{F4E4C87B-5E0A-4AEF-B4DF-888948C41E4A}</ProjectGuid> - <ProjectTypeGuids>{948B3504-5B70-4649-8FE4-BDE1FB46EC69};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> - <OutputType>Exe</OutputType> - <RootNamespace>MacTest</RootNamespace> - <AssemblyName>MacTest</AssemblyName> - <SuppressXamMacMigration>True</SuppressXamMacMigration> - </PropertyGroup> - <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> - <DebugSymbols>True</DebugSymbols> - <DebugType>full</DebugType> - <Optimize>False</Optimize> - <OutputPath>bin\Debug</OutputPath> - <DefineConstants>DEBUG</DefineConstants> - <ErrorReport>prompt</ErrorReport> - <WarningLevel>4</WarningLevel> - <ConsolePause>False</ConsolePause> - <EnableCodeSigning>False</EnableCodeSigning> - <CreatePackage>False</CreatePackage> - <EnablePackageSigning>False</EnablePackageSigning> - <IncludeMonoRuntime>False</IncludeMonoRuntime> - <UseSGen>False</UseSGen> - <UseRefCounting>false</UseRefCounting> - <Profiling>false</Profiling> - </PropertyGroup> - <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> - <DebugType>pdbonly</DebugType> - <Optimize>true</Optimize> - <OutputPath>bin\Release</OutputPath> - <ErrorReport>prompt</ErrorReport> - <WarningLevel>4</WarningLevel> - <ConsolePause>False</ConsolePause> - <EnableCodeSigning>False</EnableCodeSigning> - <CreatePackage>False</CreatePackage> - <EnablePackageSigning>False</EnablePackageSigning> - <IncludeMonoRuntime>False</IncludeMonoRuntime> - <UseSGen>False</UseSGen> - <UseRefCounting>false</UseRefCounting> - <Profiling>false</Profiling> - <DebugSymbols>true</DebugSymbols> - </PropertyGroup> - <ItemGroup> - <Reference Include="System" /> - <Reference Include="System.Core" /> - <Reference Include="MonoMac" /> - </ItemGroup> - <ItemGroup> - <Compile Include="Main.cs" /> - </ItemGroup> - <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> - <Import Project="$(MSBuildExtensionsPath)\Mono\MonoMac\v0.0\Mono.MonoMac.targets" /> - <ItemGroup> - <None Include="Info.plist" /> - </ItemGroup> - <ItemGroup> - <ProjectReference Include="..\..\Xwt\Xwt.csproj"> - <Project>{92494904-35FA-4DC9-BDE9-3A3E87AC49D3}</Project> - <Name>Xwt</Name> - </ProjectReference> - <ProjectReference Include="..\..\Xwt.Mac\Xwt.Mac.csproj"> - <Project>{5F8E0511-7210-487F-90A1-EC3E74467617}</Project> - <Name>Xwt.Mac</Name> - </ProjectReference> - <ProjectReference Include="..\Samples\Samples.csproj"> - <Project>{88C04B85-B69B-47B4-AB9F-64F6DD4E0897}</Project> - <Name>Samples</Name> - </ProjectReference> - </ItemGroup> - <ProjectExtensions> - <MonoDevelop> - <Properties> - <Policies> - <DotNetNamingPolicy DirectoryNamespaceAssociation="None" ResourceNamePolicy="FileName" /> - </Policies> - </Properties> - </MonoDevelop> - </ProjectExtensions> -</Project>
\ No newline at end of file diff --git a/TestApps/MacTest/Main.cs b/TestApps/MacTest/Main.cs deleted file mode 100644 index 975fc568..00000000 --- a/TestApps/MacTest/Main.cs +++ /dev/null @@ -1,17 +0,0 @@ -using System; -using Xwt; -using Xwt.Drawing; -using MonoDevelop.Components.Chart; -using Samples; - -namespace MacTest -{ - class MainClass - { - static void Main (string [] args) - { - App.Run (ToolkitType.Cocoa); - } - } -} - diff --git a/Xwt.Mac/AssemblyInfo.cs b/Xwt.Mac/AssemblyInfo.cs deleted file mode 100644 index 2d36528d..00000000 --- a/Xwt.Mac/AssemblyInfo.cs +++ /dev/null @@ -1,53 +0,0 @@ -// -// AssemblyInfo.cs -// -// Author: -// Lluis Sanchez Gual <lluis@xamarin.com> -// -// Copyright (c) 2015 Xamarin, Inc (http://www.xamarin.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.Reflection; -using System.Runtime.CompilerServices; - -// Information about this assembly is defined by the following attributes. -// Change them to the values specific to your project. - -[assembly: AssemblyTitle ("Xwt.Mac")] -[assembly: AssemblyDescription("Mac Toolkit for the Xwt UI Framework")] -[assembly: AssemblyConfiguration ("")] -[assembly: AssemblyCompany ("Xamarin")] -[assembly: AssemblyProduct("Xwt UI Framework")] -[assembly: AssemblyCopyright ("Xamarin, Inc (http://www.xamarin.com)")] -[assembly: AssemblyTrademark ("")] -[assembly: AssemblyCulture ("")] - -// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}". -// The form "{Major}.{Minor}.*" will automatically update the build and revision, -// and "{Major}.{Minor}.{Build}.*" will update just the revision. - -[assembly: AssemblyVersion("0.1.0.0")] -[assembly: AssemblyInformationalVersion("0.1.0.0-prerelease")] - -// The following attributes are used to specify the signing key for the assembly, -// if desired. See the Mono documentation for more information about signing. - -//[assembly: AssemblyDelaySign(false)] -//[assembly: AssemblyKeyFile("")] - diff --git a/Xwt.Mac/Xwt.Mac.csproj b/Xwt.Mac/Xwt.Mac.csproj deleted file mode 100644 index 6a87bd59..00000000 --- a/Xwt.Mac/Xwt.Mac.csproj +++ /dev/null @@ -1,377 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> - <PropertyGroup> - <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> - <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> - <ProjectGuid>{5F8E0511-7210-487F-90A1-EC3E74467617}</ProjectGuid> - <OutputType>Library</OutputType> - <RootNamespace>Xwt.Mac</RootNamespace> - <AssemblyName>Xwt.Mac</AssemblyName> - <TargetFrameworkVersion>v4.5</TargetFrameworkVersion> - <UseMSBuildEngine>False</UseMSBuildEngine> - </PropertyGroup> - <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> - <DebugSymbols>true</DebugSymbols> - <DebugType>full</DebugType> - <Optimize>false</Optimize> - <OutputPath>bin\Debug</OutputPath> - <DefineConstants>DEBUG;MONOMAC</DefineConstants> - <ErrorReport>prompt</ErrorReport> - <WarningLevel>4</WarningLevel> - <ConsolePause>false</ConsolePause> - <AllowUnsafeBlocks>true</AllowUnsafeBlocks> - </PropertyGroup> - <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> - <DebugType>pdbonly</DebugType> - <Optimize>true</Optimize> - <OutputPath>bin\Release</OutputPath> - <ErrorReport>prompt</ErrorReport> - <WarningLevel>4</WarningLevel> - <ConsolePause>false</ConsolePause> - <AllowUnsafeBlocks>true</AllowUnsafeBlocks> - <DebugSymbols>true</DebugSymbols> - <DefineConstants>MONOMAC</DefineConstants> - </PropertyGroup> - <ItemGroup> - <Reference Include="System" /> - <Reference Include="MonoMac, Version=0.0.0.0, Culture=neutral" /> - <Reference Include="System.Drawing" /> - <Reference Include="System.Xml" /> - </ItemGroup> - <ItemGroup> - <Compile Include="AssemblyInfo.cs" /> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\AlertDialogBackend.cs"> - <Link>Xwt.Mac\AlertDialogBackend.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\BoxBackend.cs"> - <Link>Xwt.Mac\BoxBackend.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\ButtonBackend.cs"> - <Link>Xwt.Mac\ButtonBackend.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\CanvasBackend.cs"> - <Link>Xwt.Mac\CanvasBackend.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\CheckBoxBackend.cs"> - <Link>Xwt.Mac\CheckBoxBackend.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\CheckBoxMenuItemBackend.cs"> - <Link>Xwt.Mac\CheckBoxMenuItemBackend.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\ColorPickerBackend.cs"> - <Link>Xwt.Mac\ColorPickerBackend.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\ComboBoxBackend.cs"> - <Link>Xwt.Mac\ComboBoxBackend.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\ComboBoxEntryBackend.cs"> - <Link>Xwt.Mac\ComboBoxEntryBackend.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\ContextBackendHandler.cs"> - <Link>Xwt.Mac\ContextBackendHandler.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\CustomWidgetBackend.cs"> - <Link>Xwt.Mac\CustomWidgetBackend.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\DatePickerBackend.cs"> - <Link>Xwt.Mac\DatePickerBackend.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\DialogBackend.cs"> - <Link>Xwt.Mac\DialogBackend.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\EmbedNativeWidgetBackend.cs"> - <Link>Xwt.Mac\EmbedNativeWidgetBackend.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\ExpanderBackend.cs"> - <Link>Xwt.Mac\ExpanderBackend.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\FileDialogBackend.cs"> - <Link>Xwt.Mac\FileDialogBackend.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\FontBackendHandler.cs"> - <Link>Xwt.Mac\FontBackendHandler.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\FrameBackend.cs"> - <Link>Xwt.Mac\FrameBackend.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\GradientBackendHandler.cs"> - <Link>Xwt.Mac\GradientBackendHandler.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\ImageBuilderBackendHandler.cs"> - <Link>Xwt.Mac\ImageBuilderBackendHandler.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\ImageHandler.cs"> - <Link>Xwt.Mac\ImageHandler.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\ImagePatternBackendHandler.cs"> - <Link>Xwt.Mac\ImagePatternBackendHandler.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\ImageViewBackend.cs"> - <Link>Xwt.Mac\ImageViewBackend.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\IViewObject.cs"> - <Link>Xwt.Mac\IViewObject.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\KeyboardUtil.cs"> - <Link>Xwt.Mac\KeyboardUtil.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\LabelBackend.cs"> - <Link>Xwt.Mac\LabelBackend.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\LinkLabelBackend.cs"> - <Link>Xwt.Mac\LinkLabelBackend.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\ListBoxBackend.cs"> - <Link>Xwt.Mac\ListBoxBackend.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\ListViewBackend.cs"> - <Link>Xwt.Mac\ListViewBackend.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\MacClipboardBackend.cs"> - <Link>Xwt.Mac\MacClipboardBackend.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\MacDesktopBackend.cs"> - <Link>Xwt.Mac\MacDesktopBackend.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\MacEngine.cs"> - <Link>Xwt.Mac\MacEngine.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\MacKeyboardHandler.cs"> - <Link>Xwt.Mac\MacKeyboardHandler.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\MacSystemInformation.cs"> - <Link>Xwt.Mac\MacSystemInformation.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\MenuBackend.cs"> - <Link>Xwt.Mac\MenuBackend.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\MenuButtonBackend.cs"> - <Link>Xwt.Mac\MenuButtonBackend.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\MenuItemBackend.cs"> - <Link>Xwt.Mac\MenuItemBackend.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\Messaging.cs"> - <Link>Xwt.Mac\Messaging.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\NotebookBackend.cs"> - <Link>Xwt.Mac\NotebookBackend.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\NSTableViewBackend.cs"> - <Link>Xwt.Mac\NSTableViewBackend.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\ObjcHelper.cs"> - <Link>Xwt.Mac\ObjcHelper.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\OpenFileDialogBackend.cs"> - <Link>Xwt.Mac\OpenFileDialogBackend.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\OutlineViewBackend.cs"> - <Link>Xwt.Mac\OutlineViewBackend.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\PanedBackend.cs"> - <Link>Xwt.Mac\PanedBackend.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\PasswordEntryBackend.cs"> - <Link>Xwt.Mac\PasswordEntryBackend.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\PathBackendHandler.cs"> - <Link>Xwt.Mac\PathBackendHandler.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\PopoverBackend.cs"> - <Link>Xwt.Mac\PopoverBackend.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\ProgressBarBackend.cs"> - <Link>Xwt.Mac\ProgressBarBackend.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\RadioButtonBackend.cs"> - <Link>Xwt.Mac\RadioButtonBackend.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\RadioButtonMenuItemBackend.cs"> - <Link>Xwt.Mac\RadioButtonMenuItemBackend.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\RichTextViewBackend.cs"> - <Link>Xwt.Mac\RichTextViewBackend.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\SaveFileDialogBackend.cs"> - <Link>Xwt.Mac\SaveFileDialogBackend.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\ScrollAdjustmentBackend.cs"> - <Link>Xwt.Mac\ScrollAdjustmentBackend.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\ScrollbarBackend.cs"> - <Link>Xwt.Mac\ScrollbarBackend.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\ScrollControlBackend.cs"> - <Link>Xwt.Mac\ScrollControlBackend.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\ScrollViewBackend.cs"> - <Link>Xwt.Mac\ScrollViewBackend.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\SelectFolderDialogBackend.cs"> - <Link>Xwt.Mac\SelectFolderDialogBackend.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\SeparatorBackend.cs"> - <Link>Xwt.Mac\SeparatorBackend.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\SeparatorMenuItemBackend.cs"> - <Link>Xwt.Mac\SeparatorMenuItemBackend.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\SliderBackend.cs"> - <Link>Xwt.Mac\SliderBackend.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\SpinButtonBackend.cs"> - <Link>Xwt.Mac\SpinButtonBackend.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\SpinnerBackend.cs"> - <Link>Xwt.Mac\SpinnerBackend.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\StatusIconBackend.cs"> - <Link>Xwt.Mac\StatusIconBackend.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\TableViewBackend.cs"> - <Link>Xwt.Mac\TableViewBackend.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\TextEntryBackend.cs"> - <Link>Xwt.Mac\TextEntryBackend.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\TextLayoutBackendHandler.cs"> - <Link>Xwt.Mac\TextLayoutBackendHandler.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\ToggleButtonBackend.cs"> - <Link>Xwt.Mac\ToggleButtonBackend.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\TreeViewBackend.cs"> - <Link>Xwt.Mac\TreeViewBackend.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\Util.cs"> - <Link>Xwt.Mac\Util.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\ViewBackend.cs"> - <Link>Xwt.Mac\ViewBackend.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\WebViewBackend.cs"> - <Link>Xwt.Mac\WebViewBackend.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\WidgetView.cs"> - <Link>Xwt.Mac\WidgetView.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\WindowBackend.cs"> - <Link>Xwt.Mac\WindowBackend.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac.CellViews\CanvasTableCell.cs"> - <Link>Xwt.Mac.CellViews\CanvasTableCell.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac.CellViews\CellUtil.cs"> - <Link>Xwt.Mac.CellViews\CellUtil.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac.CellViews\CellViewBackend.cs"> - <Link>Xwt.Mac.CellViews\CellViewBackend.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac.CellViews\CheckBoxTableCell.cs"> - <Link>Xwt.Mac.CellViews\CheckBoxTableCell.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac.CellViews\CompositeCell.cs"> - <Link>Xwt.Mac.CellViews\CompositeCell.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac.CellViews\ICellRenderer.cs"> - <Link>Xwt.Mac.CellViews\ICellRenderer.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac.CellViews\ICellSource.cs"> - <Link>Xwt.Mac.CellViews\ICellSource.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac.CellViews\ImageTableCell.cs"> - <Link>Xwt.Mac.CellViews\ImageTableCell.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac.CellViews\TextTableCell.cs"> - <Link>Xwt.Mac.CellViews\TextTableCell.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\CalendarBackend.cs"> - <Link>Xwt.Mac\CalendarBackend.cs</Link> - </Compile> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\SelectFontDialogBackend.cs"> - <Link>Xwt.Mac\SelectFontDialogBackend.cs</Link> - </Compile> - <Compile Include="Xwt.Mac\NSStringAttributeKey.cs" /> - <Compile Include="..\Xwt.XamMac\Xwt.Mac\NSApplicationInitializer.cs"> - <Link>Xwt.Mac\NSApplicationInitializer.cs</Link> - </Compile> - </ItemGroup> - <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> - <ItemGroup> - <Folder Include="Xwt.Mac\" /> - <Folder Include="Xwt.Mac.CellViews\" /> - </ItemGroup> - <ItemGroup> - <ProjectReference Include="..\Xwt\Xwt.csproj"> - <Project>{92494904-35FA-4DC9-BDE9-3A3E87AC49D3}</Project> - <Name>Xwt</Name> - </ProjectReference> - </ItemGroup> - <ItemGroup> - <EmbeddedResource Include="..\Xwt.XamMac\icons\zoom-in-16.png"> - <LogicalName>zoom-in-16.png</LogicalName> - <Link>icons\zoom-in-16.png</Link> - </EmbeddedResource> - <EmbeddedResource Include="..\Xwt.XamMac\icons\zoom-in-16%402x.png"> - <LogicalName>zoom-in-16@2x.png</LogicalName> - <Link>icons\zoom-in-16%402x.png</Link> - </EmbeddedResource> - <EmbeddedResource Include="..\Xwt.XamMac\icons\zoom-in-16~dark.png"> - <LogicalName>zoom-in-16~dark.png</LogicalName> - <Link>icons\zoom-in-16~dark.png</Link> - </EmbeddedResource> - <EmbeddedResource Include="..\Xwt.XamMac\icons\zoom-in-16~dark%402x.png"> - <LogicalName>zoom-in-16~dark@2x.png</LogicalName> - <Link>icons\zoom-in-16~dark%402x.png</Link> - </EmbeddedResource> - <EmbeddedResource Include="..\Xwt.XamMac\icons\zoom-in-16~dark~sel.png"> - <LogicalName>zoom-in-16~dark~sel.png</LogicalName> - <Link>icons\zoom-in-16~dark~sel.png</Link> - </EmbeddedResource> - <EmbeddedResource Include="..\Xwt.XamMac\icons\zoom-in-16~dark~sel%402x.png"> - <LogicalName>zoom-in-16~dark~sel@2x.png</LogicalName> - <Link>icons\zoom-in-16~dark~sel%402x.png</Link> - </EmbeddedResource> - <EmbeddedResource Include="..\Xwt.XamMac\icons\zoom-in-16~sel.png"> - <LogicalName>zoom-in-16~sel.png</LogicalName> - <Link>icons\zoom-in-16~sel.png</Link> - </EmbeddedResource> - <EmbeddedResource Include="..\Xwt.XamMac\icons\zoom-in-16~sel%402x.png"> - <LogicalName>zoom-in-16~sel@2x.png</LogicalName> - <Link>icons\zoom-in-16~sel%402x.png</Link> - </EmbeddedResource> - <EmbeddedResource Include="..\Xwt.XamMac\icons\zoom-out-16.png"> - <LogicalName>zoom-out-16.png</LogicalName> - <Link>icons\zoom-out-16.png</Link> - </EmbeddedResource> - <EmbeddedResource Include="..\Xwt.XamMac\icons\zoom-out-16%402x.png"> - <LogicalName>zoom-out-16@2x.png</LogicalName> - <Link>icons\zoom-out-16%402x.png</Link> - </EmbeddedResource> - <EmbeddedResource Include="..\Xwt.XamMac\icons\zoom-out-16~dark.png"> - <LogicalName>zoom-out-16~dark.png</LogicalName> - <Link>icons\zoom-out-16~dark.png</Link> - </EmbeddedResource> - <EmbeddedResource Include="..\Xwt.XamMac\icons\zoom-out-16~dark%402x.png"> - <LogicalName>zoom-out-16~dark@2x.png</LogicalName> - <Link>icons\zoom-out-16~dark%402x.png</Link> - </EmbeddedResource> - <EmbeddedResource Include="..\Xwt.XamMac\icons\zoom-out-16~dark~sel.png"> - <LogicalName>zoom-out-16~dark~sel.png</LogicalName> - <Link>icons\zoom-out-16~dark~sel.png</Link> - </EmbeddedResource> - <EmbeddedResource Include="..\Xwt.XamMac\icons\zoom-out-16~dark~sel%402x.png"> - <LogicalName>zoom-out-16~dark~sel@2x.png</LogicalName> - <Link>icons\zoom-out-16~dark~sel%402x.png</Link> - </EmbeddedResource> - <EmbeddedResource Include="..\Xwt.XamMac\icons\zoom-out-16~sel.png"> - <LogicalName>zoom-out-16~sel.png</LogicalName> - <Link>icons\zoom-out-16~sel.png</Link> - </EmbeddedResource> - <EmbeddedResource Include="..\Xwt.XamMac\icons\zoom-out-16~sel%402x.png"> - <LogicalName>zoom-out-16~sel@2x.png</LogicalName> - <Link>icons\zoom-out-16~sel%402x.png</Link> - </EmbeddedResource> - </ItemGroup> -</Project> diff --git a/Xwt.Mac/Xwt.Mac.nuspec b/Xwt.Mac/Xwt.Mac.nuspec deleted file mode 100644 index 8d7b7197..00000000 --- a/Xwt.Mac/Xwt.Mac.nuspec +++ /dev/null @@ -1,30 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" ?> -<package> - <metadata> - <id>$id$</id> - <title>$title$</title> - <version>$version$</version> - <authors>Lluis Sanchez</authors> - <summary>$description$</summary> - <description> -Xwt is a cross-platform UI toolkit for creating desktop applications with .NET and Mono. - -This package contains the Mac/Cocoa toolkit backend for Xwt based applications targeting OS X. - -Xwt.Mac requires Xamarin Studio to be installed. - </description> - <releaseNotes></releaseNotes> - <licenseUrl>https://raw.githubusercontent.com/mono/xwt/master/LICENSE.txt</licenseUrl> - <projectUrl>https://github.com/mono/xwt/</projectUrl> - <requireLicenseAcceptance>false</requireLicenseAcceptance> - <copyright>$copyright$</copyright> - <tags>xwt cross platform gui ui toolkit framework desktop mac osx monomac cocoa</tags> - <dependencies> - <dependency id="Xwt" version="[$version$]"/> - </dependencies> - </metadata> - <files> - <file src="..\LICENSE.txt" /> - <file src="..\README.markdown" /> - </files> -</package>
\ No newline at end of file diff --git a/Xwt.Mac/Xwt.Mac/NSStringAttributeKey.cs b/Xwt.Mac/Xwt.Mac/NSStringAttributeKey.cs deleted file mode 100644 index 91dddbae..00000000 --- a/Xwt.Mac/Xwt.Mac/NSStringAttributeKey.cs +++ /dev/null @@ -1,434 +0,0 @@ -// -// NSStringAttributeKey.cs -// -// Author: -// Sebastian Krysmanski <noreply@manski.net> -// Vsevolod Kukol <sevo@sevo.org> -// -// Copyright (c) 2015 Sebastian Krysmanski -// -// 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 MonoMac.Foundation; -using MonoMac.ObjCRuntime; -using System; - -namespace Xwt.Mac -{ - public static class NSStringAttributeKey - { - private static readonly IntPtr _AppKitHandle = Dlfcn.dlopen ("/System/Library/Frameworks/AppKit.framework/AppKit", 0); - - private static NSString _CharacterShape; - private static NSString _GlyphInfo; - private static NSString _NSBaseURLDocumentOption; - private static NSString _NSCharacterEncodingDocumentOption; - private static NSString _NSDefaultAttributesDocumentOption; - private static NSString _NSDocFormatTextDocumentType; - private static NSString _NSDocumentTypeDocumentOption; - private static NSString _NSFileTypeDocumentOption; - private static NSString _NSHTMLTextDocumentType; - private static NSString _NSMacSimpleTextDocumentType; - private static NSString _NSOfficeOpenXMLTextDocumentType; - private static NSString _NSOpenDocumentTextDocumentType; - private static NSString _NSPlainTextDocumentType; - private static NSString _NSRtfdTextDocumentType; - private static NSString _NSRtfTextDocumentType; - private static NSString _NSTextEncodingNameDocumentOption; - private static NSString _NSTextSizeMultiplierDocumentOption; - private static NSString _NSTimeoutDocumentOption; - private static NSString _NSWebArchiveTextDocumentType; - private static NSString _NSWebPreferencesDocumentOption; - private static NSString _NSWebResourceLoadDelegateDocumentOption; - private static NSString _NSWordMLTextDocumentType; - private static NSString _SpellingState; - private static NSString _TextAlternatives; - private static NSString _TextEffect; - - public static NSString Attachment - { - get { return NSAttributedString.AttachmentAttributeName; } - } - - public static NSString BackgroundColor - { - get { return NSAttributedString.BackgroundColorAttributeName; } - } - - public static NSString BaselineOffset - { - get { return NSAttributedString.BaselineOffsetAttributeName; } - } - - [Field ("NSCharacterShapeAttributeName", "AppKit")] - public static NSString CharacterShape { - get { - if (NSStringAttributeKey._CharacterShape == null) { - NSStringAttributeKey._CharacterShape = Dlfcn.GetStringConstant (_AppKitHandle, "NSCharacterShapeAttributeName"); - } - return NSStringAttributeKey._CharacterShape; - } - } - - public static NSString Cursor - { - get { return NSAttributedString.CursorAttributeName; } - } - - public static NSString Expansion - { - get { return NSAttributedString.ExpansionAttributeName; } - } - - public static NSString Font - { - get { return NSAttributedString.FontAttributeName; } - } - - public static NSString ForegroundColor - { - get { return NSAttributedString.ForegroundColorAttributeName; } - } - - [Field ("NSGlyphInfoAttributeName", "AppKit")] - public static NSString GlyphInfo { - get { - if (NSStringAttributeKey._GlyphInfo == null) { - NSStringAttributeKey._GlyphInfo = Dlfcn.GetStringConstant (_AppKitHandle, "NSGlyphInfoAttributeName"); - } - return NSStringAttributeKey._GlyphInfo; - } - } - - public static NSString KerningAdjustment - { - get { return NSAttributedString.KernAttributeName; } - } - - public static NSString Ligature - { - get { return NSAttributedString.LigatureAttributeName; } - } - - public static NSString Link - { - get { return NSAttributedString.LinkAttributeName; } - } - - public static NSString MarkedClauseSegment - { - get { return NSAttributedString.MarkedClauseSegmentAttributeName; } - } - - [Field ("NSBaseURLDocumentOption", "AppKit")] - internal static NSString NSBaseURLDocumentOption { - get { - if (NSStringAttributeKey._NSBaseURLDocumentOption == null) { - NSStringAttributeKey._NSBaseURLDocumentOption = Dlfcn.GetStringConstant (_AppKitHandle, "NSBaseURLDocumentOption"); - } - return NSStringAttributeKey._NSBaseURLDocumentOption; - } - } - - [Field ("NSCharacterEncodingDocumentOption", "AppKit")] - internal static NSString NSCharacterEncodingDocumentOption { - get { - if (NSStringAttributeKey._NSCharacterEncodingDocumentOption == null) { - NSStringAttributeKey._NSCharacterEncodingDocumentOption = Dlfcn.GetStringConstant (_AppKitHandle, "NSCharacterEncodingDocumentOption"); - } - return NSStringAttributeKey._NSCharacterEncodingDocumentOption; - } - } - - [Field ("NSDefaultAttributesDocumentOption", "AppKit")] - internal static NSString NSDefaultAttributesDocumentOption { - get { - if (NSStringAttributeKey._NSDefaultAttributesDocumentOption == null) { - NSStringAttributeKey._NSDefaultAttributesDocumentOption = Dlfcn.GetStringConstant (_AppKitHandle, "NSDefaultAttributesDocumentOption"); - } - return NSStringAttributeKey._NSDefaultAttributesDocumentOption; - } - } - - [Field ("NSDocFormatTextDocumentType", "AppKit")] - internal static NSString NSDocFormatTextDocumentType { - get { - if (NSStringAttributeKey._NSDocFormatTextDocumentType == null) { - NSStringAttributeKey._NSDocFormatTextDocumentType = Dlfcn.GetStringConstant (_AppKitHandle, "NSDocFormatTextDocumentType"); - } - return NSStringAttributeKey._NSDocFormatTextDocumentType; - } - } - - [Field ("NSDocumentTypeDocumentOption", "AppKit")] - internal static NSString NSDocumentTypeDocumentOption { - get { - if (NSStringAttributeKey._NSDocumentTypeDocumentOption == null) { - NSStringAttributeKey._NSDocumentTypeDocumentOption = Dlfcn.GetStringConstant (_AppKitHandle, "NSDocumentTypeDocumentOption"); - } - return NSStringAttributeKey._NSDocumentTypeDocumentOption; - } - } - - [Field ("NSFileTypeDocumentOption", "AppKit")] - internal static NSString NSFileTypeDocumentOption { - get { - if (NSStringAttributeKey._NSFileTypeDocumentOption == null) { - NSStringAttributeKey._NSFileTypeDocumentOption = Dlfcn.GetStringConstant (_AppKitHandle, "NSFileTypeDocumentOption"); - } - return NSStringAttributeKey._NSFileTypeDocumentOption; - } - } - - [Field ("NSHTMLTextDocumentType", "AppKit")] - internal static NSString NSHTMLTextDocumentType { - get { - if (NSStringAttributeKey._NSHTMLTextDocumentType == null) { - NSStringAttributeKey._NSHTMLTextDocumentType = Dlfcn.GetStringConstant (_AppKitHandle, "NSHTMLTextDocumentType"); - } - return NSStringAttributeKey._NSHTMLTextDocumentType; - } - } - - [Field ("NSMacSimpleTextDocumentType", "AppKit")] - internal static NSString NSMacSimpleTextDocumentType { - get { - if (NSStringAttributeKey._NSMacSimpleTextDocumentType == null) { - NSStringAttributeKey._NSMacSimpleTextDocumentType = Dlfcn.GetStringConstant (_AppKitHandle, "NSMacSimpleTextDocumentType"); - } - return NSStringAttributeKey._NSMacSimpleTextDocumentType; - } - } - - [Field ("NSOfficeOpenXMLTextDocumentType", "AppKit")] - internal static NSString NSOfficeOpenXMLTextDocumentType { - get { - if (NSStringAttributeKey._NSOfficeOpenXMLTextDocumentType == null) { - NSStringAttributeKey._NSOfficeOpenXMLTextDocumentType = Dlfcn.GetStringConstant (_AppKitHandle, "NSOfficeOpenXMLTextDocumentType"); - } - return NSStringAttributeKey._NSOfficeOpenXMLTextDocumentType; - } - } - - [Field ("NSOpenDocumentTextDocumentType", "AppKit")] - internal static NSString NSOpenDocumentTextDocumentType { - get { - if (NSStringAttributeKey._NSOpenDocumentTextDocumentType == null) { - NSStringAttributeKey._NSOpenDocumentTextDocumentType = Dlfcn.GetStringConstant (_AppKitHandle, "NSOpenDocumentTextDocumentType"); - } - return NSStringAttributeKey._NSOpenDocumentTextDocumentType; - } - } - - [Field ("NSPlainTextDocumentType", "AppKit")] - internal static NSString NSPlainTextDocumentType { - get { - if (NSStringAttributeKey._NSPlainTextDocumentType == null) { - NSStringAttributeKey._NSPlainTextDocumentType = Dlfcn.GetStringConstant (_AppKitHandle, "NSPlainTextDocumentType"); - } - return NSStringAttributeKey._NSPlainTextDocumentType; - } - } - - [Field ("NSRTFDTextDocumentType", "AppKit")] - internal static NSString NSRtfdTextDocumentType { - get { - if (NSStringAttributeKey._NSRtfdTextDocumentType == null) { - NSStringAttributeKey._NSRtfdTextDocumentType = Dlfcn.GetStringConstant (_AppKitHandle, "NSRTFDTextDocumentType"); - } - return NSStringAttributeKey._NSRtfdTextDocumentType; - } - } - - [Field ("NSRTFTextDocumentType", "AppKit")] - internal static NSString NSRtfTextDocumentType { - get { - if (NSStringAttributeKey._NSRtfTextDocumentType == null) { - NSStringAttributeKey._NSRtfTextDocumentType = Dlfcn.GetStringConstant (_AppKitHandle, "NSRTFTextDocumentType"); - } - return NSStringAttributeKey._NSRtfTextDocumentType; - } - } - - [Field ("NSTextEncodingNameDocumentOption", "AppKit")] - internal static NSString NSTextEncodingNameDocumentOption { - get { - if (NSStringAttributeKey._NSTextEncodingNameDocumentOption == null) { - NSStringAttributeKey._NSTextEncodingNameDocumentOption = Dlfcn.GetStringConstant (_AppKitHandle, "NSTextEncodingNameDocumentOption"); - } - return NSStringAttributeKey._NSTextEncodingNameDocumentOption; - } - } - - [Field ("NSTextSizeMultiplierDocumentOption", "AppKit")] - internal static NSString NSTextSizeMultiplierDocumentOption { - get { - if (NSStringAttributeKey._NSTextSizeMultiplierDocumentOption == null) { - NSStringAttributeKey._NSTextSizeMultiplierDocumentOption = Dlfcn.GetStringConstant (_AppKitHandle, "NSTextSizeMultiplierDocumentOption"); - } - return NSStringAttributeKey._NSTextSizeMultiplierDocumentOption; - } - } - - [Field ("NSTimeoutDocumentOption", "AppKit")] - internal static NSString NSTimeoutDocumentOption { - get { - if (NSStringAttributeKey._NSTimeoutDocumentOption == null) { - NSStringAttributeKey._NSTimeoutDocumentOption = Dlfcn.GetStringConstant (_AppKitHandle, "NSTimeoutDocumentOption"); - } - return NSStringAttributeKey._NSTimeoutDocumentOption; - } - } - - [Field ("NSWebArchiveTextDocumentType", "AppKit")] - internal static NSString NSWebArchiveTextDocumentType { - get { - if (NSStringAttributeKey._NSWebArchiveTextDocumentType == null) { - NSStringAttributeKey._NSWebArchiveTextDocumentType = Dlfcn.GetStringConstant (_AppKitHandle, "NSWebArchiveTextDocumentType"); - } - return NSStringAttributeKey._NSWebArchiveTextDocumentType; - } - } - - [Field ("NSWebPreferencesDocumentOption", "AppKit")] - internal static NSString NSWebPreferencesDocumentOption { - get { - if (NSStringAttributeKey._NSWebPreferencesDocumentOption == null) { - NSStringAttributeKey._NSWebPreferencesDocumentOption = Dlfcn.GetStringConstant (_AppKitHandle, "NSWebPreferencesDocumentOption"); - } - return NSStringAttributeKey._NSWebPreferencesDocumentOption; - } - } - - [Field ("NSWebResourceLoadDelegateDocumentOption", "AppKit")] - internal static NSString NSWebResourceLoadDelegateDocumentOption { - get { - if (NSStringAttributeKey._NSWebResourceLoadDelegateDocumentOption == null) { - NSStringAttributeKey._NSWebResourceLoadDelegateDocumentOption = Dlfcn.GetStringConstant (_AppKitHandle, "NSWebResourceLoadDelegateDocumentOption"); - } - return NSStringAttributeKey._NSWebResourceLoadDelegateDocumentOption; - } - } - - [Field ("NSWordMLTextDocumentType", "AppKit")] - internal static NSString NSWordMLTextDocumentType { - get { - if (NSStringAttributeKey._NSWordMLTextDocumentType == null) { - NSStringAttributeKey._NSWordMLTextDocumentType = Dlfcn.GetStringConstant (_AppKitHandle, "NSWordMLTextDocumentType"); - } - return NSStringAttributeKey._NSWordMLTextDocumentType; - } - } - - public static NSString Obliqueness - { - get { return NSAttributedString.ObliquenessAttributeName; } - } - - public static NSString ParagraphStyle - { - get { return NSAttributedString.ParagraphStyleAttributeName; } - } - - public static NSString Shadow - { - get { return NSAttributedString.ShadowAttributeName; } - } - - [Field ("NSSpellingStateAttributeName", "AppKit")] - public static NSString SpellingState { - get { - if (NSStringAttributeKey._SpellingState == null) { - NSStringAttributeKey._SpellingState = Dlfcn.GetStringConstant (_AppKitHandle, "NSSpellingStateAttributeName"); - } - return NSStringAttributeKey._SpellingState; - } - } - - public static NSString StrikethroughColor - { - get { return NSAttributedString.StrikethroughColorAttributeName; } - } - - public static NSString StrikethroughStyle - { - get { return NSAttributedString.StrikethroughStyleAttributeName; } - } - - public static NSString StrokeColor - { - get { return NSAttributedString.StrokeColorAttributeName; } - } - - public static NSString StrokeWidth - { - get { return NSAttributedString.StrokeWidthAttributeName; } - } - - public static NSString Superscript - { - get { return NSAttributedString.SuperscriptAttributeName; } - } - - [Field ("NSTextAlternativesAttributeName", "AppKit")] - public static NSString TextAlternatives { - get { - if (NSStringAttributeKey._TextAlternatives == null) { - NSStringAttributeKey._TextAlternatives = Dlfcn.GetStringConstant (_AppKitHandle, "NSTextAlternativesAttributeName"); - } - return NSStringAttributeKey._TextAlternatives; - } - } - - [Field ("NSTextEffectAttributeName", "AppKit")] - public static NSString TextEffect { - get { - if (NSStringAttributeKey._TextEffect == null) { - NSStringAttributeKey._TextEffect = Dlfcn.GetStringConstant (_AppKitHandle, "NSTextEffectAttributeName"); - } - return NSStringAttributeKey._TextEffect; - } - } - - public static NSString ToolTip - { - get { return NSAttributedString.ToolTipAttributeName; } - } - - public static NSString UnderlineColor - { - get { return NSAttributedString.UnderlineColorAttributeName; } - } - - public static NSString UnderlineStyle - { - get { return NSAttributedString.UnderlineStyleAttributeName; } - } - - public static NSString VerticalGlyphForm - { - get { return NSAttributedString.VerticalGlyphFormAttributeName; } - } - - public static NSString WritingDirection - { - get { return NSAttributedString.WritingDirectionAttributeName; } - } - } -} @@ -35,16 +35,12 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GtkOnWindowsTest", "TestApp EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Gtk3Test", "TestApps\Gtk3Test\Gtk3Test.csproj", "{22524E1F-A94D-4204-AD90-A5FFE73970EC}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MacTest", "TestApps\MacTest\MacTest.csproj", "{F4E4C87B-5E0A-4AEF-B4DF-888948C41E4A}"
-EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Xwt.Gtk.Mac", "Xwt.Gtk.Mac\Xwt.Gtk.Mac.csproj", "{E95833C9-90AA-4366-9262-0A1BED148249}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Xwt.Gtk.Windows", "Xwt.Gtk.Windows\Xwt.Gtk.Windows.csproj", "{252117CA-0ABB-4F36-BFC8-DE23A8089BB9}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Xwt.Gtk3", "Xwt.Gtk\Xwt.Gtk3.csproj", "{3B25FD1F-CEBA-4450-8893-DC330FDB56A7}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Xwt.Mac", "Xwt.Mac\Xwt.Mac.csproj", "{5F8E0511-7210-487F-90A1-EC3E74467617}"
-EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -157,27 +153,6 @@ Global {5CFB1ABA-0CD0-45B9-ABC5-8A32096C0687}.Win-Debug|Any CPU.ActiveCfg = Debug|Any CPU
{5CFB1ABA-0CD0-45B9-ABC5-8A32096C0687}.XamMac-Debug|Any CPU.ActiveCfg = Debug|Any CPU
{5CFB1ABA-0CD0-45B9-ABC5-8A32096C0687}.XamMac-Debug|Any CPU.Build.0 = Debug|Any CPU
- {5F8E0511-7210-487F-90A1-EC3E74467617}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {5F8E0511-7210-487F-90A1-EC3E74467617}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {5F8E0511-7210-487F-90A1-EC3E74467617}.Debug|x86.ActiveCfg = Debug|Any CPU
- {5F8E0511-7210-487F-90A1-EC3E74467617}.Debug|x86.Build.0 = Debug|Any CPU
- {5F8E0511-7210-487F-90A1-EC3E74467617}.Linux-Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {5F8E0511-7210-487F-90A1-EC3E74467617}.Linux-Debug|Any CPU.Build.0 = Debug|Any CPU
- {5F8E0511-7210-487F-90A1-EC3E74467617}.Linux-Debug|x86.ActiveCfg = Debug|Any CPU
- {5F8E0511-7210-487F-90A1-EC3E74467617}.Linux-Debug|x86.Build.0 = Debug|Any CPU
- {5F8E0511-7210-487F-90A1-EC3E74467617}.Mac-Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {5F8E0511-7210-487F-90A1-EC3E74467617}.Mac-Debug|Any CPU.Build.0 = Debug|Any CPU
- {5F8E0511-7210-487F-90A1-EC3E74467617}.Mac-Debug|x86.ActiveCfg = Debug|Any CPU
- {5F8E0511-7210-487F-90A1-EC3E74467617}.Mac-Debug|x86.Build.0 = Debug|Any CPU
- {5F8E0511-7210-487F-90A1-EC3E74467617}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {5F8E0511-7210-487F-90A1-EC3E74467617}.Release|Any CPU.Build.0 = Release|Any CPU
- {5F8E0511-7210-487F-90A1-EC3E74467617}.Release|x86.ActiveCfg = Release|Any CPU
- {5F8E0511-7210-487F-90A1-EC3E74467617}.Release|x86.Build.0 = Release|Any CPU
- {5F8E0511-7210-487F-90A1-EC3E74467617}.Win-Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {5F8E0511-7210-487F-90A1-EC3E74467617}.Win-Debug|x86.ActiveCfg = Debug|Any CPU
- {5F8E0511-7210-487F-90A1-EC3E74467617}.Win-Debug|x86.Build.0 = Debug|Any CPU
- {5F8E0511-7210-487F-90A1-EC3E74467617}.XamMac-Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {5F8E0511-7210-487F-90A1-EC3E74467617}.XamMac-Debug|Any CPU.Build.0 = Debug|Any CPU
{88C04B85-B69B-47B4-AB9F-64F6DD4E0897}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{88C04B85-B69B-47B4-AB9F-64F6DD4E0897}.Debug|Any CPU.Build.0 = Debug|Any CPU
{88C04B85-B69B-47B4-AB9F-64F6DD4E0897}.Mac-Debug|Any CPU.ActiveCfg = Debug|Any CPU
@@ -284,27 +259,6 @@ Global {E95833C9-90AA-4366-9262-0A1BED148249}.Win-Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E95833C9-90AA-4366-9262-0A1BED148249}.XamMac-Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E95833C9-90AA-4366-9262-0A1BED148249}.XamMac-Debug|Any CPU.Build.0 = Debug|Any CPU
- {F4E4C87B-5E0A-4AEF-B4DF-888948C41E4A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {F4E4C87B-5E0A-4AEF-B4DF-888948C41E4A}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {F4E4C87B-5E0A-4AEF-B4DF-888948C41E4A}.Debug|x86.ActiveCfg = Debug|Any CPU
- {F4E4C87B-5E0A-4AEF-B4DF-888948C41E4A}.Debug|x86.Build.0 = Debug|Any CPU
- {F4E4C87B-5E0A-4AEF-B4DF-888948C41E4A}.Linux-Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {F4E4C87B-5E0A-4AEF-B4DF-888948C41E4A}.Linux-Debug|Any CPU.Build.0 = Debug|Any CPU
- {F4E4C87B-5E0A-4AEF-B4DF-888948C41E4A}.Linux-Debug|x86.ActiveCfg = Debug|Any CPU
- {F4E4C87B-5E0A-4AEF-B4DF-888948C41E4A}.Linux-Debug|x86.Build.0 = Debug|Any CPU
- {F4E4C87B-5E0A-4AEF-B4DF-888948C41E4A}.Mac-Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {F4E4C87B-5E0A-4AEF-B4DF-888948C41E4A}.Mac-Debug|Any CPU.Build.0 = Debug|Any CPU
- {F4E4C87B-5E0A-4AEF-B4DF-888948C41E4A}.Mac-Debug|x86.ActiveCfg = Debug|Any CPU
- {F4E4C87B-5E0A-4AEF-B4DF-888948C41E4A}.Mac-Debug|x86.Build.0 = Debug|Any CPU
- {F4E4C87B-5E0A-4AEF-B4DF-888948C41E4A}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {F4E4C87B-5E0A-4AEF-B4DF-888948C41E4A}.Release|Any CPU.Build.0 = Release|Any CPU
- {F4E4C87B-5E0A-4AEF-B4DF-888948C41E4A}.Release|x86.ActiveCfg = Release|Any CPU
- {F4E4C87B-5E0A-4AEF-B4DF-888948C41E4A}.Release|x86.Build.0 = Release|Any CPU
- {F4E4C87B-5E0A-4AEF-B4DF-888948C41E4A}.Win-Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {F4E4C87B-5E0A-4AEF-B4DF-888948C41E4A}.Win-Debug|x86.ActiveCfg = Debug|Any CPU
- {F4E4C87B-5E0A-4AEF-B4DF-888948C41E4A}.Win-Debug|x86.Build.0 = Debug|Any CPU
- {F4E4C87B-5E0A-4AEF-B4DF-888948C41E4A}.XamMac-Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {F4E4C87B-5E0A-4AEF-B4DF-888948C41E4A}.XamMac-Debug|Any CPU.Build.0 = Debug|Any CPU
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{BC764278-4141-483C-8643-2EA8C40373B2} = {164E1FED-7688-4AE9-B19B-012F8784F9DD}
@@ -318,7 +272,6 @@ Global {88C04B85-B69B-47B4-AB9F-64F6DD4E0897} = {83D74DDF-581E-4E2A-AE02-F4047A5B96C7}
{C1DF0C90-0C4C-4AB5-A45C-A1805587A844} = {83D74DDF-581E-4E2A-AE02-F4047A5B96C7}
{22524E1F-A94D-4204-AD90-A5FFE73970EC} = {83D74DDF-581E-4E2A-AE02-F4047A5B96C7}
- {F4E4C87B-5E0A-4AEF-B4DF-888948C41E4A} = {83D74DDF-581E-4E2A-AE02-F4047A5B96C7}
EndGlobalSection
GlobalSection(MonoDevelopProperties) = preSolution
Policies = $0
|