mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-30 13:19:47 +00:00
23 lines
365 B
C++
23 lines
365 B
C++
#pragma once
|
|
|
|
#include "WSScreen.h"
|
|
#include <Widgets/Color.h>
|
|
|
|
class GraphicsBitmap;
|
|
|
|
class WSFrameBuffer final : public WSScreen {
|
|
public:
|
|
WSFrameBuffer(RGBA32*, unsigned width, unsigned height);
|
|
~WSFrameBuffer();
|
|
|
|
static WSFrameBuffer& the();
|
|
|
|
RGBA32* scanline(int y);
|
|
|
|
static void initialize();
|
|
|
|
private:
|
|
RGBA32* m_data { nullptr };
|
|
};
|
|
|