ladybird/Widgets/AbstractScreen.h

22 lines
381 B
C
Raw Normal View History

2018-10-10 15:12:38 +02:00
#pragma once
2018-10-10 16:49:36 +02:00
#include "Object.h"
class AbstractScreen : public Object {
2018-10-10 15:12:38 +02:00
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 };
};