Removed sfFont_Create() from CSFML
Removed sfText_GetWidth() and sfFont_GetHeight() declarations from SFML.Net (these functions don't exist) git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1294 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
642c4fecfa
commit
acfc296150
@ -32,14 +32,6 @@
|
|||||||
#include <SFML/Graphics/Types.h>
|
#include <SFML/Graphics/Types.h>
|
||||||
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
|
||||||
/// Create a new empty font
|
|
||||||
///
|
|
||||||
/// \return A new sfFont object, or NULL if it failed
|
|
||||||
///
|
|
||||||
////////////////////////////////////////////////////////////
|
|
||||||
CSFML_API sfFont* sfFont_Create();
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
/// Create a new font from a file
|
/// Create a new font from a file
|
||||||
///
|
///
|
||||||
|
@ -30,15 +30,6 @@
|
|||||||
#include <SFML/Internal.h>
|
#include <SFML/Internal.h>
|
||||||
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
|
||||||
/// Create a new empty font
|
|
||||||
////////////////////////////////////////////////////////////
|
|
||||||
sfFont* sfFont_Create()
|
|
||||||
{
|
|
||||||
return new sfFont;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
/// Create a new font from a file
|
/// Create a new font from a file
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
@ -124,7 +124,6 @@ EXPORTS
|
|||||||
sfSprite_GetWidth
|
sfSprite_GetWidth
|
||||||
sfSprite_GetHeight
|
sfSprite_GetHeight
|
||||||
sfSprite_GetPixel
|
sfSprite_GetPixel
|
||||||
sfFont_Create
|
|
||||||
sfFont_CreateFromFile
|
sfFont_CreateFromFile
|
||||||
sfFont_CreateFromMemory
|
sfFont_CreateFromMemory
|
||||||
sfFont_Destroy
|
sfFont_Destroy
|
||||||
|
@ -124,7 +124,6 @@ EXPORTS
|
|||||||
sfSprite_GetWidth
|
sfSprite_GetWidth
|
||||||
sfSprite_GetHeight
|
sfSprite_GetHeight
|
||||||
sfSprite_GetPixel
|
sfSprite_GetPixel
|
||||||
sfFont_Create
|
|
||||||
sfFont_CreateFromFile
|
sfFont_CreateFromFile
|
||||||
sfFont_CreateFromMemory
|
sfFont_CreateFromMemory
|
||||||
sfFont_Destroy
|
sfFont_Destroy
|
||||||
|
@ -187,9 +187,6 @@ namespace SFML
|
|||||||
private static Font ourDefaultFont = null;
|
private static Font ourDefaultFont = null;
|
||||||
|
|
||||||
#region Imports
|
#region Imports
|
||||||
[DllImport("csfml-graphics"), SuppressUnmanagedCodeSecurity]
|
|
||||||
static extern IntPtr sfFont_Create();
|
|
||||||
|
|
||||||
[DllImport("csfml-graphics"), SuppressUnmanagedCodeSecurity]
|
[DllImport("csfml-graphics"), SuppressUnmanagedCodeSecurity]
|
||||||
static extern IntPtr sfFont_CreateFromFile(string Filename, uint CharSize, IntPtr Charset);
|
static extern IntPtr sfFont_CreateFromFile(string Filename, uint CharSize, IntPtr Charset);
|
||||||
|
|
||||||
|
@ -369,12 +369,6 @@ namespace SFML
|
|||||||
[DllImport("csfml-graphics"), SuppressUnmanagedCodeSecurity]
|
[DllImport("csfml-graphics"), SuppressUnmanagedCodeSecurity]
|
||||||
static extern void sfRenderImage_DrawTextWithShader(IntPtr This, IntPtr String, IntPtr Shader);
|
static extern void sfRenderImage_DrawTextWithShader(IntPtr This, IntPtr String, IntPtr Shader);
|
||||||
|
|
||||||
[DllImport("csfml-graphics"), SuppressUnmanagedCodeSecurity]
|
|
||||||
static extern float sfText_GetWidth(IntPtr This);
|
|
||||||
|
|
||||||
[DllImport("csfml-graphics"), SuppressUnmanagedCodeSecurity]
|
|
||||||
static extern float sfText_GetHeight(IntPtr This);
|
|
||||||
|
|
||||||
[DllImport("csfml-graphics", CharSet = CharSet.Ansi), SuppressUnmanagedCodeSecurity]
|
[DllImport("csfml-graphics", CharSet = CharSet.Ansi), SuppressUnmanagedCodeSecurity]
|
||||||
static extern void sfText_SetString(IntPtr This, string Text);
|
static extern void sfText_SetString(IntPtr This, string Text);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user