diff options
| author | jacob1 <jfu614@gmail.com> | 2013-06-09 21:13:57 (GMT) |
|---|---|---|
| committer | jacob1 <jfu614@gmail.com> | 2013-06-09 21:13:57 (GMT) |
| commit | 52ec8f438b6ce3373c9258cbde402b4caef92b1e (patch) | |
| tree | f72ab1060435d30ed7781f463dbfb05bbcb50d91 /src/gui/interface/CopyTextButton.h | |
| parent | a6ee8e2af156e42fa3b5311afa4d3144d1566ca0 (diff) | |
| download | powder-52ec8f438b6ce3373c9258cbde402b4caef92b1e.zip powder-52ec8f438b6ce3373c9258cbde402b4caef92b1e.tar.gz | |
add the single saveID copytext button into the save preview too
Diffstat (limited to 'src/gui/interface/CopyTextButton.h')
| -rw-r--r-- | src/gui/interface/CopyTextButton.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/gui/interface/CopyTextButton.h b/src/gui/interface/CopyTextButton.h new file mode 100644 index 0000000..39e4280 --- /dev/null +++ b/src/gui/interface/CopyTextButton.h @@ -0,0 +1,22 @@ +#ifndef COPYTEXTBUTTON_H +#define COPYTEXTBUTTON_H + +#include "Button.h" +#include "Label.h" + +namespace ui +{ +class CopyTextButton : public Button +{ + ui::Label *copyTextLabel; +public: + CopyTextButton(Point position, Point size, std::string buttonText, Label *copyTextLabel_); + + virtual void OnMouseClick(int x, int y, unsigned int button); + + virtual void OnMouseEnter(int x, int y); + virtual void OnMouseLeave(int x, int y); +}; +} +#endif /* COPYTEXTBUTTON_H */ + |
