From e9c042d06004659fb61a9992c38d1359164d3b66 Mon Sep 17 00:00:00 2001 From: LaurentGom Date: Sun, 18 Oct 2009 08:03:58 +0000 Subject: [PATCH] Added RenderImage::Display() to CSFML and SFML.Net git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1243 4e206d99-4929-0410-ac5d-dfc041789085 --- CSFML/build/VC2008/csfml-graphics-d.def | 1 + CSFML/build/VC2008/csfml-graphics.def | 1 + CSFML/include/SFML/Graphics/RenderImage.h | 10 +++++++++- CSFML/src/SFML/Graphics/RenderImage.cpp | 12 +++++++++--- dotnet/extlibs/csfml-audio.dll | Bin 48640 -> 48640 bytes dotnet/extlibs/csfml-graphics.dll | Bin 1169920 -> 1169920 bytes dotnet/extlibs/csfml-window.dll | Bin 45568 -> 45568 bytes dotnet/src/Graphics/RenderImage.cs | 13 +++++++++++++ 8 files changed, 33 insertions(+), 4 deletions(-) diff --git a/CSFML/build/VC2008/csfml-graphics-d.def b/CSFML/build/VC2008/csfml-graphics-d.def index c46662c9..bd8aca5b 100644 --- a/CSFML/build/VC2008/csfml-graphics-d.def +++ b/CSFML/build/VC2008/csfml-graphics-d.def @@ -172,6 +172,7 @@ EXPORTS sfRenderImage_GetHeight sfRenderImage_SetActive sfRenderImage_Flush + sfRenderImage_Display sfRenderImage_DrawPostFX sfRenderImage_DrawSprite sfRenderImage_DrawShape diff --git a/CSFML/build/VC2008/csfml-graphics.def b/CSFML/build/VC2008/csfml-graphics.def index d5a93a5b..4460d253 100644 --- a/CSFML/build/VC2008/csfml-graphics.def +++ b/CSFML/build/VC2008/csfml-graphics.def @@ -172,6 +172,7 @@ EXPORTS sfRenderImage_GetHeight sfRenderImage_SetActive sfRenderImage_Flush + sfRenderImage_Display sfRenderImage_DrawPostFX sfRenderImage_DrawSprite sfRenderImage_DrawShape diff --git a/CSFML/include/SFML/Graphics/RenderImage.h b/CSFML/include/SFML/Graphics/RenderImage.h index 6478edc1..fd2bd2ce 100644 --- a/CSFML/include/SFML/Graphics/RenderImage.h +++ b/CSFML/include/SFML/Graphics/RenderImage.h @@ -96,11 +96,19 @@ CSFML_API sfBool sfRenderImage_SetActive(sfRenderImage* renderImage, sfBool acti /// You don't need to call this function if you're not /// dealing with OpenGL directly. /// -/// \param Renderimage : Renderwindow object +/// \param Renderimage : Renderimage object /// //////////////////////////////////////////////////////////// CSFML_API void sfRenderImage_Flush(sfRenderImage* renderImage); +//////////////////////////////////////////////////////////// +/// Update the contents of the target image +/// +/// \param renderImage : Renderimage object +/// +//////////////////////////////////////////////////////////// +CSFML_API void sfRenderImage_Display(sfRenderImage* renderImage); + //////////////////////////////////////////////////////////// /// Draw something on a renderimage /// diff --git a/CSFML/src/SFML/Graphics/RenderImage.cpp b/CSFML/src/SFML/Graphics/RenderImage.cpp index f158f9d5..657b375b 100644 --- a/CSFML/src/SFML/Graphics/RenderImage.cpp +++ b/CSFML/src/SFML/Graphics/RenderImage.cpp @@ -99,9 +99,6 @@ sfBool sfRenderImage_SetActive(sfRenderImage* renderImage, sfBool active) /// /// You don't need to call this function if you're not /// dealing with OpenGL directly. -/// -/// \param Renderimage : Renderwindow object -/// //////////////////////////////////////////////////////////// void sfRenderImage_Flush(sfRenderImage* renderImage) { @@ -109,6 +106,15 @@ void sfRenderImage_Flush(sfRenderImage* renderImage) } +//////////////////////////////////////////////////////////// +/// Update the contents of the target image +//////////////////////////////////////////////////////////// +void sfRenderImage_Display(sfRenderImage* renderImage) +{ + CSFML_CALL(renderImage, Display()) +} + + //////////////////////////////////////////////////////////// /// Draw something on a renderimage //////////////////////////////////////////////////////////// diff --git a/dotnet/extlibs/csfml-audio.dll b/dotnet/extlibs/csfml-audio.dll index 30d42053ab5b848f41f3c3fc089885f9c8136ae4..a13fc46dd9e45018df93868ab3086bd4040aaf93 100644 GIT binary patch delta 49 zcmZqp!_@GHX#pd%-sxMDnHhbVwwG@XV!TuW;%`(P~2v=KVc;c3jSR|9yQv-+A`>Jvusl{@6XtDQ>^dLm6{^&4U&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/Graphics/RenderImage.cs b/dotnet/src/Graphics/RenderImage.cs index 646406dc..2618801f 100644 --- a/dotnet/src/Graphics/RenderImage.cs +++ b/dotnet/src/Graphics/RenderImage.cs @@ -211,6 +211,16 @@ namespace SFML sfRenderImage_Flush(This); } + //////////////////////////////////////////////////////////// + /// + /// Update the contents of the target image + /// + //////////////////////////////////////////////////////////// + public void Display() + { + sfRenderImage_Display(This); + } + //////////////////////////////////////////////////////////// /// /// Target image of the render image @@ -280,6 +290,9 @@ namespace SFML [DllImport("csfml-graphics"), SuppressUnmanagedCodeSecurity] static extern bool sfRenderImage_Flush(IntPtr This); + [DllImport("csfml-graphics"), SuppressUnmanagedCodeSecurity] + static extern bool sfRenderImage_Display(IntPtr This); + [DllImport("csfml-graphics"), SuppressUnmanagedCodeSecurity] static extern void sfRenderImage_SetView(IntPtr This, IntPtr View);