From 180361cda94f612d3ebfd2c460c24b457fae64d3 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Thu, 10 Dec 2015 18:32:14 +0100 Subject: Change position types and add size change notifier. --- plugingui/window.h | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'plugingui/window.h') diff --git a/plugingui/window.h b/plugingui/window.h index 7701ad9..1fffbb6 100644 --- a/plugingui/window.h +++ b/plugingui/window.h @@ -46,10 +46,6 @@ public: // From Widget: void resize(int width, int height) override; void move(size_t x, size_t y) override; - size_t x() override; - size_t y() override; - size_t width() override; - size_t height() override; size_t windowX() override; size_t windowY() override; void show() override; @@ -79,10 +75,7 @@ protected: void beginPaint(); void endPaint(); - // From Widget: - void repaintEvent(RepaintEvent* repaintEvent) override; - - // For the NativweWindow + // For the NativeWindow friend class NativeWindowX11; friend class NativeWindowWin32; friend class NativeWindowPugl; @@ -97,9 +90,6 @@ protected: NativeWindow* native{nullptr}; EventHandler* eventhandler{nullptr}; - Image back{":bg.png"}; - Image logo{":logo.png"}; - size_t maxRefcount{0}; }; -- cgit v1.2.3