summaryrefslogtreecommitdiff
path: root/libs/dgl/ImageSwitch.hpp
diff options
context:
space:
mode:
authorDamien Zammit <damien@zamaudio.com>2015-02-17 11:59:35 +1100
committerDamien Zammit <damien@zamaudio.com>2015-02-17 11:59:35 +1100
commit78883fa7f7ea9d85477a27ed3c569a899ee305fb (patch)
treef1add63ce6f3af86340d7e4c93092776b5479b14 /libs/dgl/ImageSwitch.hpp
parentaf7a094a0c0e8b658736d77361a2d8d2f99b0006 (diff)
parent8da011deb152227714196f61eab26e1af37a2890 (diff)
Merge pull request #24 from falkTX/master
Update DPF, inital file-browser for ZamSFZ
Diffstat (limited to 'libs/dgl/ImageSwitch.hpp')
-rw-r--r--libs/dgl/ImageSwitch.hpp8
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;