diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-06-26 19:57:10 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-06-26 19:57:10 (GMT) |
| commit | ab6fed71d74371e2d38372eae71ee26a7ef214df (patch) | |
| tree | 4f139ad5501bb66dcc9c4770d1ceb7be6e159284 /src/interface/Textblock.h | |
| parent | e26cb8ce2f69b81442194bd2310cfc3ea6bb6f5f (diff) | |
| download | powder-ab6fed71d74371e2d38372eae71ee26a7ef214df.zip powder-ab6fed71d74371e2d38372eae71ee26a7ef214df.tar.gz | |
Replace textblock with new multiline label - with text selection!!!!111!!!one!!
Diffstat (limited to 'src/interface/Textblock.h')
| -rw-r--r-- | src/interface/Textblock.h | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/src/interface/Textblock.h b/src/interface/Textblock.h deleted file mode 100644 index 7a94c77..0000000 --- a/src/interface/Textblock.h +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Textblock.h - * - * Created on: Jan 29, 2012 - * Author: Simon - */ - -#ifndef TEXTBLOCK_H_ -#define TEXTBLOCK_H_ - -#include <vector> -#include <string> -#include <sstream> -#include "Label.h" - -namespace ui -{ - -class Textblock: public ui::Label -{ - bool autoHeight; - void updateMultiline(); - std::string textLines; -public: - Textblock(Point position, Point size, std::string textboxText); - virtual void TextPosition() {} - virtual void SetText(std::string text); - virtual std::string GetDisplayText() { return textLines; } - virtual void Draw(const Point& screenPos); - virtual ~Textblock(); -}; -} - -#endif /* TEXTBLOCK_H_ */ |
