Updated the C and .Net bindings according to the previous modifications

This commit is contained in:
Laurent Gomila 2011-04-04 23:37:20 +02:00
parent 10ebd94ee7
commit 6676d77ea1
10 changed files with 11 additions and 43 deletions

View file

@ -242,16 +242,6 @@ namespace SFML
get {return myImage;}
}
////////////////////////////////////////////////////////////
/// <summary>
/// Tell whether or not the system supports render images
/// </summary>
////////////////////////////////////////////////////////////
public static bool IsAvailable
{
get {return sfRenderImage_IsAvailable();}
}
////////////////////////////////////////////////////////////
/// <summary>
/// Provide a string describing the object
@ -340,9 +330,6 @@ namespace SFML
[DllImport("csfml-graphics-2", CallingConvention = CallingConvention.Cdecl), SuppressUnmanagedCodeSecurity]
static extern IntPtr sfRenderImage_GetImage(IntPtr This);
[DllImport("csfml-graphics-2", CallingConvention = CallingConvention.Cdecl), SuppressUnmanagedCodeSecurity]
static extern bool sfRenderImage_IsAvailable();
#endregion
}
}

View file

@ -25,7 +25,7 @@ namespace SFML
/// <param name="title">Title of the window</param>
////////////////////////////////////////////////////////////
public RenderWindow(VideoMode mode, string title) :
this(mode, title, Styles.Default, new ContextSettings(24, 8))
this(mode, title, Styles.Default, new ContextSettings(0, 0))
{
}
@ -38,7 +38,7 @@ namespace SFML
/// <param name="style">Window style (Resize | Close by default)</param>
////////////////////////////////////////////////////////////
public RenderWindow(VideoMode mode, string title, Styles style) :
this(mode, title, style, new ContextSettings(24, 8))
this(mode, title, style, new ContextSettings(0, 0))
{
}
@ -64,7 +64,7 @@ namespace SFML
/// <param name="handle">Platform-specific handle of the control</param>
////////////////////////////////////////////////////////////
public RenderWindow(IntPtr handle) :
this(handle, new ContextSettings(24, 8))
this(handle, new ContextSettings(0, 0))
{
}

View file

@ -50,7 +50,7 @@ namespace SFML
/// <param name="title">Title of the window</param>
////////////////////////////////////////////////////////////
public Window(VideoMode mode, string title) :
this(mode, title, Styles.Default, new ContextSettings(24, 8))
this(mode, title, Styles.Default, new ContextSettings(0, 0))
{
}
@ -63,7 +63,7 @@ namespace SFML
/// <param name="style">Window style (Resize | Close by default)</param>
////////////////////////////////////////////////////////////
public Window(VideoMode mode, string title, Styles style) :
this(mode, title, style, new ContextSettings(24, 8))
this(mode, title, style, new ContextSettings(0, 0))
{
}
@ -89,7 +89,7 @@ namespace SFML
/// <param name="handle">Platform-specific handle of the control</param>
////////////////////////////////////////////////////////////
public Window(IntPtr handle) :
this(handle, new ContextSettings(24, 8))
this(handle, new ContextSettings(0, 0))
{
}