AppleWin/source/frontends/sdl/renderer/sdlrendererframe.h
Andrea Odetti 3b917e93be common2: add namespace and reformat everything with space over tabs.
This makes it "possible" to use other editors (than emacs).

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-02-25 16:04:50 +00:00

24 lines
413 B
C++

#pragma once
#include "frontends/sdl/sdlframe.h"
namespace common2
{
class EmulatorOptions;
}
class SDLRendererFrame : public SDLFrame
{
public:
SDLRendererFrame(const common2::EmulatorOptions & options);
void UpdateTexture() override;
void RenderPresent() override;
private:
SDL_Rect myRect;
int myPitch;
std::shared_ptr<SDL_Renderer> myRenderer;
std::shared_ptr<SDL_Texture> myTexture;
};