fix bug
This commit is contained in:
parent
25316d3f4b
commit
62533695db
@ -1,13 +0,0 @@
|
|||||||
<Page
|
|
||||||
x:Class="enginecustom.Translate"
|
|
||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
||||||
xmlns:local="using:enginecustom"
|
|
||||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
||||||
mc:Ignorable="d">
|
|
||||||
|
|
||||||
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
|
|
||||||
<Button x:Name="Button" Click="ClickHandler">Click Me</Button>
|
|
||||||
</StackPanel>
|
|
||||||
</Page>
|
|
@ -49,10 +49,6 @@
|
|||||||
<ClCompile Include="textureclass.cpp" />
|
<ClCompile Include="textureclass.cpp" />
|
||||||
<ClCompile Include="textureshaderclass.cpp" />
|
<ClCompile Include="textureshaderclass.cpp" />
|
||||||
<ClCompile Include="Timerclass.cpp" />
|
<ClCompile Include="Timerclass.cpp" />
|
||||||
<ClCompile Include="translate.cpp">
|
|
||||||
<DependentUpon>translate.vs</DependentUpon>
|
|
||||||
<SubType>Code</SubType>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="translateshaderclass.cpp" />
|
<ClCompile Include="translateshaderclass.cpp" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
@ -84,10 +80,6 @@
|
|||||||
<ClInclude Include="textureclass.h" />
|
<ClInclude Include="textureclass.h" />
|
||||||
<ClInclude Include="textureshaderclass.h" />
|
<ClInclude Include="textureshaderclass.h" />
|
||||||
<ClInclude Include="Timerclass.h" />
|
<ClInclude Include="Timerclass.h" />
|
||||||
<ClInclude Include="translate.h">
|
|
||||||
<DependentUpon>translate.vs</DependentUpon>
|
|
||||||
<SubType>Code</SubType>
|
|
||||||
</ClInclude>
|
|
||||||
<ClInclude Include="translateshaderclass.h" />
|
<ClInclude Include="translateshaderclass.h" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
@ -153,11 +145,6 @@
|
|||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
</Midl>
|
</Midl>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
|
||||||
<Page Include="Translate.xaml">
|
|
||||||
<SubType>Designer</SubType>
|
|
||||||
</Page>
|
|
||||||
</ItemGroup>
|
|
||||||
<PropertyGroup Label="Globals">
|
<PropertyGroup Label="Globals">
|
||||||
<VCProjectVersion>17.0</VCProjectVersion>
|
<VCProjectVersion>17.0</VCProjectVersion>
|
||||||
<Keyword>Win32Proj</Keyword>
|
<Keyword>Win32Proj</Keyword>
|
||||||
|
@ -114,6 +114,9 @@
|
|||||||
<ClCompile Include="rendertextureclass.cpp">
|
<ClCompile Include="rendertextureclass.cpp">
|
||||||
<Filter>Fichiers sources</Filter>
|
<Filter>Fichiers sources</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
<ClCompile Include="translateshaderclass.cpp">
|
||||||
|
<Filter>Fichiers sources</Filter>
|
||||||
|
</ClCompile>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClInclude Include="applicationclass.h">
|
<ClInclude Include="applicationclass.h">
|
||||||
@ -200,6 +203,9 @@
|
|||||||
<ClInclude Include="rendertextureclass.h">
|
<ClInclude Include="rendertextureclass.h">
|
||||||
<Filter>Fichiers d%27en-tête</Filter>
|
<Filter>Fichiers d%27en-tête</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
|
<ClInclude Include="translateshaderclass.h">
|
||||||
|
<Filter>Fichiers d%27en-tête</Filter>
|
||||||
|
</ClInclude>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Image Include="font01.tga">
|
<Image Include="font01.tga">
|
||||||
@ -304,4 +310,8 @@
|
|||||||
<Filter>assets</Filter>
|
<Filter>assets</Filter>
|
||||||
</Text>
|
</Text>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Midl Include="translate.ps" />
|
||||||
|
<Midl Include="translate.vs" />
|
||||||
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
@ -1,18 +0,0 @@
|
|||||||
#include "pch.h"
|
|
||||||
#include "Translate.h"
|
|
||||||
#if __has_include("Translate.g.cpp")
|
|
||||||
#include "Translate.g.cpp"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
namespace winrt::enginecustom::implementation
|
|
||||||
{
|
|
||||||
int32_t Translate::MyProperty()
|
|
||||||
{
|
|
||||||
throw hresult_not_implemented();
|
|
||||||
}
|
|
||||||
|
|
||||||
void Translate::MyProperty(int32_t /*value*/)
|
|
||||||
{
|
|
||||||
throw hresult_not_implemented();
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,21 +0,0 @@
|
|||||||
#pragma once
|
|
||||||
|
|
||||||
#include "Translate.g.h"
|
|
||||||
|
|
||||||
namespace winrt::enginecustom::implementation
|
|
||||||
{
|
|
||||||
struct Translate : TranslateT<Translate>
|
|
||||||
{
|
|
||||||
Translate() = default;
|
|
||||||
|
|
||||||
int32_t MyProperty();
|
|
||||||
void MyProperty(int32_t value);
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
namespace winrt::enginecustom::factory_implementation
|
|
||||||
{
|
|
||||||
struct Translate : TranslateT<Translate, implementation::Translate>
|
|
||||||
{
|
|
||||||
};
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user