25#ifndef SFML_RENDERWINDOW_HPP
26#define SFML_RENDERWINDOW_HPP
123 virtual void OnCreate();
129 virtual bool Activate(
bool Active);
Abstract base class for every object that can be drawn into a render window.
Image is the low-level class for loading and manipulating images.
RenderTarget()
Default constructor.
sf::Vector2f ConvertCoords(unsigned int WindowX, unsigned int WindowY, const View *TargetView=NULL) const
Convert a point in window coordinates into view coordinates.
virtual ~RenderWindow()
Destructor.
virtual unsigned int GetWidth() const
Get the width of the rendering region of the window.
RenderWindow()
Default constructor.
Image Capture() const
Save the content of the window to an image.
RenderWindow(WindowHandle Handle, const WindowSettings &Params=WindowSettings())
Construct the window from an existing control.
RenderWindow(VideoMode Mode, const std::string &Title, unsigned long WindowStyle=Style::Resize|Style::Close, const WindowSettings &Params=WindowSettings())
Construct the window.
virtual unsigned int GetHeight() const
Get the height of the rendering region of the window.
VideoMode defines a video mode (width, height, bpp, frequency) and provides static functions for gett...
This class defines a view (position, size, etc.) ; you can consider it as a 2D camera.
Window()
Default constructor.
@ Resize
Titlebar + resizable border + maximize button.
@ Close
Titlebar + close button.
Vector2< float > Vector2f
Structure defining the creation settings of windows.