1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 14:57:35 +00:00

Make the widgets code build on macOS.

Funny, I haven't looked at this code in a few weeks and there's so much to change!
This commit is contained in:
Andreas Kling 2018-12-02 23:41:10 +01:00
parent 85b886c2e0
commit dd502bb54e
3 changed files with 19 additions and 13 deletions

View file

@ -7,8 +7,8 @@ class AbstractScreen : public Object {
public:
virtual ~AbstractScreen();
unsigned width() const { return m_width; }
unsigned height() const { return m_height; }
int width() const { return m_width; }
int height() const { return m_height; }
static AbstractScreen& the();
@ -18,7 +18,7 @@ protected:
AbstractScreen(unsigned width, unsigned height);
private:
unsigned m_width { 0 };
unsigned m_height { 0 };
int m_width { 0 };
int m_height { 0 };
};