Skip to content
This repository has been archived by the owner on Mar 11, 2021. It is now read-only.

Commit

Permalink
Merge pull request #280 from mono/textfield
Browse files Browse the repository at this point in the history
CCTextField implemenation
  • Loading branch information
kjpou1 committed Aug 7, 2015
2 parents 9cee316 + 5aa8810 commit 816ff87
Show file tree
Hide file tree
Showing 64 changed files with 5,460 additions and 248 deletions.
3 changes: 3 additions & 0 deletions TestWin8Phone/TestWin8Phone.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -1208,6 +1208,9 @@
<Compile Include="..\tests\tests\classes\tests\SpriteTest\SpriteZVertex.cs">
<Link>classes\tests\SpriteTest\SpriteZVertex</Link>
</Compile>
<Compile Include="..\tests\tests\classes\tests\TextInputTest\CustomIME\UppercaseIMEKeyboardImpl.cs">
<Link>classes\tests\TextInputTest\UppercaseIMEKeyboardImpl.cs</Link>
</Compile>
<Compile Include="..\tests\tests\classes\tests\TextInputTest\TextInputTest.cs">
<Link>classes\tests\TextInputTest\TextInputTest</Link>
</Compile>
Expand Down
6 changes: 4 additions & 2 deletions src/CocosSharp.Android.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -298,10 +298,9 @@
<Compile Include="textures\CCTexture2D.cs" />
<Compile Include="textures\CCTextureAtlas.cs" />
<Compile Include="textures\CCTextureCache.cs" />
<Compile Include="text_input_node\CCIMEKeyboardEventArgs.cs" />
<Compile Include="text_input_node\CCIMEKeyboardNotificationInfo.cs" />
<Compile Include="text_input_node\CCTextFieldTTF.cs" />
<Compile Include="text_input_node\ICCIMEDelegate.cs" />
<Compile Include="text_input_node\ICCTextFieldDelegate.cs" />
<Compile Include="tileMap_parallax_nodes\CCParallaxNode.cs" />
<Compile Include="tileMap_parallax_nodes\CCPointObject.cs" />
<Compile Include="support\Converters\CCPointConverter.cs" />
Expand Down Expand Up @@ -354,6 +353,8 @@
<Compile Include="Renderer\RenderCommands\CCQuadCommand.cs" />
<Compile Include="Renderer\RenderCommands\CCRenderCommand.cs" />
<Compile Include="misc_nodes\CCGeometryNode.cs" />
<Compile Include="platform\Keyboard\Android\IMEKeyboardImpl.cs" />
<Compile Include="text_input_node\CCTextField.cs" />
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Novell\Novell.MonoDroid.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Expand Down Expand Up @@ -385,4 +386,5 @@
<ItemGroup />
<ItemGroup />
<ItemGroup />
<ItemGroup />
</Project>
4 changes: 4 additions & 0 deletions src/CocosSharp.MacOS.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,9 @@
<Compile Include="Renderer\RenderCommands\CCCustomCommand.cs" />
<Compile Include="misc_nodes\CCGeometryNode.cs" />
<Compile Include="denshion\CCEffectPlayer.MonoGame.cs" />
<Compile Include="text_input_node\CCTextField.cs" />
<Compile Include="text_input_node\CCIMEKeyboardEventArgs.cs" />
<Compile Include="Platform\Keyboard\MacOSX\IMEKeyboardImpl.cs" />
</ItemGroup>
<ItemGroup>
<Folder Include="support\Converters\" />
Expand All @@ -426,6 +429,7 @@
<Folder Include="physics\" />
<Folder Include="Renderer\" />
<Folder Include="Renderer\RenderCommands\" />
<Folder Include="Platform\Keyboard\" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\MonoGame\ThirdParty\Lidgren.Network\Lidgren.Network.MacOS.csproj">
Expand Down
5 changes: 3 additions & 2 deletions src/CocosSharp.WP8.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@
<Compile Include="misc_nodes\CCGeometryNode.cs" />
<Compile Include="misc_nodes\CCNodeGrid.cs" />
<Compile Include="particle_nodes\CCParticleSystemCache.cs" />
<Compile Include="platform\Keyboard\Windows\IMEKeyboardImpl.cs" />
<Compile Include="Renderer\CCRenderer.cs" />
<Compile Include="Renderer\RenderCommands\CCCustomCommand.cs" />
<Compile Include="Renderer\RenderCommands\CCQuadCommand.cs" />
Expand Down Expand Up @@ -414,10 +415,10 @@
<Compile Include="textures\CCTextureAtlas.cs" />
<Compile Include="textures\CCTextureCache.cs" />
<Compile Include="textures\CCTexture2D.cs" />
<Compile Include="text_input_node\CCIMEKeyboardEventArgs.cs" />
<Compile Include="text_input_node\CCTextField.cs" />
<Compile Include="text_input_node\ICCIMEDelegate.cs" />
<Compile Include="text_input_node\CCIMEKeyboardNotificationInfo.cs" />
<Compile Include="text_input_node\CCTextFieldTTF.cs" />
<Compile Include="text_input_node\ICCTextFieldDelegate.cs" />
<Compile Include="tileMap_parallax_nodes\CCParallaxNode.cs" />
<Compile Include="tileMap_parallax_nodes\CCPointObject.cs" />
<Compile Include="tileMap_parallax_nodes\CCTileLayerInfo.cs" />
Expand Down
9 changes: 3 additions & 6 deletions src/CocosSharp.WinRT.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,9 @@
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<ItemGroup>
<Compile Include="platform\Keyboard\Windows\WinRT\IMEKeyboardImpl.cs" />
<Compile Include="text_input_node\CCIMEKeyboardEventArgs.cs" />
<Compile Include="text_input_node\CCTextField.cs" />
<None Include="label_nodes\CCLabel-Gdi.cs" />
<Compile Include="actions\action\CCAmplitudeAction.cs" />
<Compile Include="events\CCEvent.cs" />
Expand Down Expand Up @@ -888,15 +891,9 @@
<Compile Include=".\text_input_node\CCIMEKeyboardNotificationInfo.cs">
<LogicalName>text_input_node\CCIMEKeyboardNotificationInfo</LogicalName>
</Compile>
<Compile Include=".\text_input_node\CCTextFieldTTF.cs">
<LogicalName>text_input_node\CCTextFieldTTF </LogicalName>
</Compile>
<Compile Include=".\text_input_node\ICCIMEDelegate.cs">
<LogicalName>text_input_node\ICCIMEDelegate</LogicalName>
</Compile>
<Compile Include=".\text_input_node\ICCTextFieldDelegate.cs">
<LogicalName>text_input_node\ICCTextFieldDelegate</LogicalName>
</Compile>
<Compile Include=".\tileMap_parallax_nodes\CCParallaxNode.cs">
<LogicalName>tileMap_parallax_nodes\CCParallaxNode</LogicalName>
</Compile>
Expand Down
6 changes: 4 additions & 2 deletions src/CocosSharp.WindowsDX.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@
<Compile Include="physics\chipmunk\*.cs" Condition=" '$(Configuration)' == 'DebugPhysics' Or '$(Configuration)' == 'ReleasePhysics' " />
<Compile Include="physics\extensions\*.cs" Condition=" '$(Configuration)' == 'DebugPhysics' Or '$(Configuration)' == 'ReleasePhysics' " />
<Compile Include="platform\CCArrayPool.cs" />
<Compile Include="platform\Keyboard\Windows\IMEKeyboardImpl.cs" />
<Compile Include="Renderer\CCRenderer.cs" />
<Compile Include="Renderer\RenderCommands\CCCustomCommand.cs" />
<Compile Include="Renderer\RenderCommands\CCQuadCommand.cs" />
Expand Down Expand Up @@ -458,10 +459,10 @@
<Compile Include="textures\CCTextureAtlas.cs" />
<Compile Include="textures\CCTextureCache.cs" />
<Compile Include="textures\CCTexture2D.cs" />
<Compile Include="text_input_node\CCIMEKeyboardEventArgs.cs" />
<Compile Include="text_input_node\CCTextField.cs" />
<Compile Include="text_input_node\ICCIMEDelegate.cs" />
<Compile Include="text_input_node\CCIMEKeyboardNotificationInfo.cs" />
<Compile Include="text_input_node\CCTextFieldTTF.cs" />
<Compile Include="text_input_node\ICCTextFieldDelegate.cs" />
<Compile Include="tileMap_parallax_nodes\CCParallaxNode.cs" />
<Compile Include="tileMap_parallax_nodes\CCPointObject.cs" />
<Compile Include="tileMap_parallax_nodes\CCTileLayerInfo.cs" />
Expand Down Expand Up @@ -497,6 +498,7 @@
<Name>ChipmunkSharp.Win32</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
Expand Down
5 changes: 3 additions & 2 deletions src/CocosSharp.WindowsGL.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@
<Compile Include="label_nodes\CCTextLayout.cs" />
<Compile Include="misc_nodes\CCGeometryNode.cs" />
<Compile Include="misc_nodes\CCNodeGrid.cs" />
<Compile Include="platform\Keyboard\Windows\IMEKeyboardImpl.cs" />
<Compile Include="Renderer\CCRenderer.cs" />
<Compile Include="Renderer\RenderCommands\CCCustomCommand.cs" />
<Compile Include="Renderer\RenderCommands\CCQuadCommand.cs" />
Expand Down Expand Up @@ -404,10 +405,10 @@
<Compile Include="textures\CCTextureAtlas.cs" />
<Compile Include="textures\CCTextureCache.cs" />
<Compile Include="textures\CCTexture2D.cs" />
<Compile Include="text_input_node\CCIMEKeyboardEventArgs.cs" />
<Compile Include="text_input_node\CCTextField.cs" />
<Compile Include="text_input_node\ICCIMEDelegate.cs" />
<Compile Include="text_input_node\CCIMEKeyboardNotificationInfo.cs" />
<Compile Include="text_input_node\CCTextFieldTTF.cs" />
<Compile Include="text_input_node\ICCTextFieldDelegate.cs" />
<Compile Include="tileMap_parallax_nodes\CCParallaxNode.cs" />
<Compile Include="tileMap_parallax_nodes\CCPointObject.cs" />
<Compile Include="tileMap_parallax_nodes\CCTileLayerInfo.cs" />
Expand Down
6 changes: 4 additions & 2 deletions src/CocosSharp.WindowsPhone81.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -399,10 +399,11 @@
<Compile Include="textures\CCTextureAtlas.cs" />
<Compile Include="textures\CCTextureCache.cs" />
<Compile Include="textures\CCTexture2D.cs" />
<Compile Include="text_input_node\CCIMEKeyboardEventArgs.cs" />
<Compile Include="text_input_node\CCTextField.cs" />
<Compile Include="text_input_node\ICCIMEDelegate.cs" />
<Compile Include="text_input_node\CCIMEKeyboardNotificationInfo.cs" />
<Compile Include="text_input_node\CCTextFieldTTF.cs" />
<Compile Include="text_input_node\ICCTextFieldDelegate.cs" />
<Compile Include="platform\Keyboard\Windows\wp81\IMEKeyboardImpl.cs" />
<Compile Include="tileMap_parallax_nodes\CCParallaxNode.cs" />
<Compile Include="tileMap_parallax_nodes\CCPointObject.cs" />
<Compile Include="tileMap_parallax_nodes\CCTileLayerInfo.cs" />
Expand All @@ -418,6 +419,7 @@
<Compile Include="Win8IOExtensions.cs" />
<Compile Include="Win8StoreIOUtility.cs" />
</ItemGroup>
<ItemGroup />
<PropertyGroup Condition=" '$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' &lt; '12.0' ">
<VisualStudioVersion>12.0</VisualStudioVersion>
</PropertyGroup>
Expand Down
6 changes: 4 additions & 2 deletions src/CocosSharp.iOS.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -311,9 +311,7 @@
<Compile Include="textures\CCTextureAtlas.cs" />
<Compile Include="textures\CCTextureCache.cs" />
<Compile Include="text_input_node\CCIMEKeyboardNotificationInfo.cs" />
<Compile Include="text_input_node\CCTextFieldTTF.cs" />
<Compile Include="text_input_node\ICCIMEDelegate.cs" />
<Compile Include="text_input_node\ICCTextFieldDelegate.cs" />
<Compile Include="tileMap_parallax_nodes\CCParallaxNode.cs" />
<Compile Include="tileMap_parallax_nodes\CCPointObject.cs" />
<Compile Include="Platform\CCFocusManager.cs" />
Expand Down Expand Up @@ -401,6 +399,9 @@
<Compile Include="Renderer\RenderCommands\CCRenderCommand.cs" />
<Compile Include="misc_nodes\CCGeometryNode.cs" />
<Compile Include="denshion\CCEffectPlayer.MonoGame.cs" />
<Compile Include="text_input_node\CCTextField.cs" />
<Compile Include="Platform\Keyboard\IOS\IMEKeyboardImpl.cs" />
<Compile Include="text_input_node\CCIMEKeyboardEventArgs.cs" />
</ItemGroup>
<ItemGroup />
<ItemGroup />
Expand All @@ -425,4 +426,5 @@
</ItemGroup>
<ItemGroup />
<ItemGroup />
<ItemGroup />
</Project>
Loading

0 comments on commit 816ff87

Please sign in to comment.