25 #ifndef SFML_RENDERWINDOW_HPP 26 #define SFML_RENDERWINDOW_HPP 31 #include <SFML/Graphics/Image.hpp> 32 #include <SFML/Graphics/RenderTarget.hpp> 33 #include <SFML/Window/Window.hpp> 87 virtual unsigned int GetWidth()
const;
95 virtual unsigned int GetHeight()
const;
103 Image Capture()
const;
115 sf::Vector2f ConvertCoords(
unsigned int WindowX,
unsigned int WindowY,
const View* TargetView = NULL)
const;
123 virtual void OnCreate();
129 virtual bool Activate(
bool Active);
135 #endif // SFML_RENDERWINDOW_HPP Titlebar + resizable border + maximize button.
This class defines a view (position, size, etc.) ; you can consider it as a 2D camera.
Structure defining the creation settings of windows.
Simple wrapper for sf::Window that allows easy 2D rendering.
VideoMode defines a video mode (width, height, bpp, frequency) and provides static functions for gett...
Image is the low-level class for loading and manipulating images.
Window is a rendering window ; it can create a new window or connect to an existing one...
Base class for all render targets (window, image, ...)