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:
parent
028c4d5a96
commit
ef8a2700fe
26 changed files with 104 additions and 21 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
///
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue