FS#162 - Add a function to retrieve the system specific handle of a window

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1530 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
LaurentGom 2010-07-15 21:13:55 +00:00
parent 028c4d5a96
commit ef8a2700fe
26 changed files with 104 additions and 21 deletions

View file

@ -279,7 +279,7 @@ public :
void Bind() const;
////////////////////////////////////////////////////////////
/// \brief Bind the shader (deactivate it)
/// \brief Unbind the shader (deactivate it)
///
/// This function is normally for internal use only, unless
/// you want to use the shader with a custom OpenGL rendering

View file

@ -277,9 +277,9 @@ private :
///
/// // Create a sprite
/// sf::Sprite sprite;
/// text.SetImage(image);
/// text.SetSubRect(sf::IntRect(10, 10, 50, 30));
/// text.Resize(100, 60);
/// sprite.SetImage(image);
/// sprite.SetSubRect(sf::IntRect(10, 10, 50, 30));
/// sprite.Resize(100, 60);
///
/// // Display it
/// window.Draw(sprite); // window is a sf::RenderWindow

View file

@ -144,13 +144,6 @@ public :
/// \brief Reset the view to the given rectangle
///
/// Note that this function resets the rotation angle to 0.
/// It is a function provided for convenience, equivalent to the
/// following calls:
/// \code
/// view.SetCenter(rectangle.GetCenter());
/// view.SetSize(rectangle.GetSize());
/// view.SetRotation(0);
/// \endcode
///
/// \param rectangle Rectangle defining the zone to display
///