diff options
Diffstat (limited to 'libs/dgl/ImageSwitch.hpp')
-rw-r--r-- | libs/dgl/ImageSwitch.hpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/libs/dgl/ImageSwitch.hpp b/libs/dgl/ImageSwitch.hpp index bb963ac..172d61c 100644 --- a/libs/dgl/ImageSwitch.hpp +++ b/libs/dgl/ImageSwitch.hpp @@ -34,14 +34,11 @@ public: virtual void imageSwitchClicked(ImageSwitch* imageButton, bool down) = 0; }; - explicit ImageSwitch(Window& parent, const Image& imageNormal, const Image& imageDown, int id = 0) noexcept; - explicit ImageSwitch(Widget* widget, const Image& imageNormal, const Image& imageDown, int id = 0) noexcept; + explicit ImageSwitch(Window& parent, const Image& imageNormal, const Image& imageDown) noexcept; + explicit ImageSwitch(Widget* widget, const Image& imageNormal, const Image& imageDown) noexcept; explicit ImageSwitch(const ImageSwitch& imageSwitch) noexcept; ImageSwitch& operator=(const ImageSwitch& imageSwitch) noexcept; - int getId() const noexcept; - void setId(int id) noexcept; - bool isDown() const noexcept; void setDown(bool down) noexcept; @@ -55,7 +52,6 @@ private: Image fImageNormal; Image fImageDown; bool fIsDown; - int fId; Callback* fCallback; |