Rose
Classes | Namespaces | Typedefs
Renderer.h File Reference
#include <memory>
#include <stack>
#include <SDL.h>
#include "Color.h"
#include "ScreenMetrics.h"
#include "Utilities.h"
#include "Types.h"
Include dependency graph for Renderer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  rose::sdl::RenderFlip
 A Widget manipulator to indicate if and how rendering a texture should be flipped. More...
 
class  rose::sdl::WindowDestroy
 A functor to destroy an SDL_Window in a std::unique_ptr (rose::sdl::Window). More...
 
class  rose::sdl::Renderer
 Written as a workaround for an issue in the SDL2 Library. More...
 
class  rose::sdl::Renderer::RendererDestroy
 A functor to destroy an SDL_Renderer. More...
 
class  rose::sdl::RenderTargetGuardException
 Thrown by RenderTargetGuard on errors. More...
 
class  rose::sdl::RenderTargetGuard
 Store the current render target replacing it with a new render target. More...
 
class  rose::sdl::DrawColorGuardException
 Thrown by DrawColorGuard on errors. More...
 
class  rose::sdl::DrawColorGuard
 Store the current draw color replacing it with a new draw color. More...
 
class  rose::sdl::ClipRectangleGuard
 Store the current clip rectangle replacing it with a new clip rectangle. More...
 

Namespaces

 rose::sdl
 Class and functions that are used to access the SDL2 api.
 

Typedefs

using rose::sdl::Window = std::unique_ptr< SDL_Window, WindowDestroy >
 An SDL_Window unique pointer.
 

Detailed Description

Author
Richard Buckley richa.nosp@m.rd.b.nosp@m.uckle.nosp@m.y@ie.nosp@m.ee.or.nosp@m.g
Version
1.0
Date
2021-01-20