Browse Source

projektversion aktualisiert

Kolja Strohm 5 years ago
parent
commit
1c773b441c
3 changed files with 8 additions and 7 deletions
  1. 0 0
      Fertig/x32/.keep
  2. 5 4
      Schrift Editor/Schrift Editor.vcxproj
  3. 3 3
      Schrift Editor/Start.cpp

+ 0 - 0
Fertig/x32/.keep


+ 5 - 4
Schrift Editor/Schrift Editor.vcxproj

@@ -22,33 +22,34 @@
     <ProjectGuid>{4F035EAE-1BD7-42E6-AABF-423FE12580D7}</ProjectGuid>
     <Keyword>Win32Proj</Keyword>
     <RootNamespace>SchriftEditor</RootNamespace>
+    <WindowsTargetPlatformVersion>10.0.16299.0</WindowsTargetPlatformVersion>
   </PropertyGroup>
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
     <ConfigurationType>Application</ConfigurationType>
     <UseDebugLibraries>true</UseDebugLibraries>
     <CharacterSet>Unicode</CharacterSet>
-    <PlatformToolset>v141</PlatformToolset>
+    <PlatformToolset>v142</PlatformToolset>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
     <ConfigurationType>Application</ConfigurationType>
     <UseDebugLibraries>true</UseDebugLibraries>
     <CharacterSet>MultiByte</CharacterSet>
-    <PlatformToolset>v141</PlatformToolset>
+    <PlatformToolset>v142</PlatformToolset>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
     <ConfigurationType>Application</ConfigurationType>
     <UseDebugLibraries>false</UseDebugLibraries>
     <WholeProgramOptimization>true</WholeProgramOptimization>
     <CharacterSet>MultiByte</CharacterSet>
-    <PlatformToolset>v141</PlatformToolset>
+    <PlatformToolset>v142</PlatformToolset>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
     <ConfigurationType>Application</ConfigurationType>
     <UseDebugLibraries>false</UseDebugLibraries>
     <WholeProgramOptimization>true</WholeProgramOptimization>
     <CharacterSet>MultiByte</CharacterSet>
-    <PlatformToolset>v141</PlatformToolset>
+    <PlatformToolset>v142</PlatformToolset>
   </PropertyGroup>
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
   <ImportGroup Label="ExtensionSettings">

+ 3 - 3
Schrift Editor/Start.cpp

@@ -311,7 +311,7 @@ void editzeichen( Text *txt )
 		for( int i = 0; i < editZ->getBreite() * editZ->getHeight(); i++ )
 		{
 			for( int i1 = 0; i1 < 100; i1++ )
-				rObj->alphaPixel( ( ( i * 10 ) % ( editZ->getBreite() * 10 ) ) + ( i1 % 10 ), ( ( ( i * 10 ) / ( editZ->getBreite() * 10 ) ) * 10 ) + ( i1 / 10 ), fc | ( ( Buffer[ i ] - a2 ) << 24 ) );
+				rObj->alphaPixel2D( ( ( i * 10 ) % ( editZ->getBreite() * 10 ) ) + ( i1 % 10 ), ( ( ( i * 10 ) / ( editZ->getBreite() * 10 ) ) * 10 ) + ( i1 / 10 ), fc | ( ( Buffer[ i ] - a2 ) << 24 ) );
 			screen->render();
 		}
 		screen->render();
@@ -424,7 +424,7 @@ bool editFMaus( void *p, void *fenster, MausEreignis me )
 				rObj->fillRegion( x * 10, y * 10, 10, 10, bgF );
 				screen->render();
 				for( int i1 = 0; i1 < 100; i1++ )
-					rObj->alphaPixel( ( x * 10 ) + ( i1 % 10 ), ( y * 10 ) + ( i1 / 10 ), fc | ( alpha << 24 ) );
+					rObj->alphaPixel2D( ( x * 10 ) + ( i1 % 10 ), ( y * 10 ) + ( i1 / 10 ), fc | ( alpha << 24 ) );
 				rObj->release();
 				screen->render();
 				screen->release();
@@ -452,7 +452,7 @@ void draw()
 		for( int i = 0; i < editZ->getBreite() * editZ->getHeight(); i++ )
 		{
 			for( int i1 = 0; i1 < 100; i1++ )
-				rObj->alphaPixel( ( ( i * 10 ) % b ) + ( i1 % 10 ), ( ( ( i * 10 ) / b ) * 10 ) + ( i1 / 10 ), fc | ( Buffer[ i ] << 24 ) );
+				rObj->alphaPixel2D( ( ( i * 10 ) % b ) + ( i1 % 10 ), ( ( ( i * 10 ) / b ) * 10 ) + ( i1 / 10 ), fc | ( Buffer[ i ] << 24 ) );
 		}
 		rObj->release();
 		screen->render();