mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
21 lines
381 B
C++
21 lines
381 B
C++
#pragma once
|
|
|
|
#include "Object.h"
|
|
|
|
class AbstractScreen : public Object {
|
|
public:
|
|
virtual ~AbstractScreen();
|
|
|
|
unsigned width() const { return m_width; }
|
|
unsigned height() const { return m_height; }
|
|
|
|
static AbstractScreen& the();
|
|
|
|
protected:
|
|
AbstractScreen(unsigned width, unsigned height);
|
|
|
|
private:
|
|
unsigned m_width { 0 };
|
|
unsigned m_height { 0 };
|
|
};
|
|
|