summaryrefslogtreecommitdiff
path: root/plugins/MirandaG15/LCDFramework/src/CLCDLabel.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MirandaG15/LCDFramework/src/CLCDLabel.h')
-rw-r--r--plugins/MirandaG15/LCDFramework/src/CLCDLabel.h52
1 files changed, 0 insertions, 52 deletions
diff --git a/plugins/MirandaG15/LCDFramework/src/CLCDLabel.h b/plugins/MirandaG15/LCDFramework/src/CLCDLabel.h
deleted file mode 100644
index b2bcc5bc3b..0000000000
--- a/plugins/MirandaG15/LCDFramework/src/CLCDLabel.h
+++ /dev/null
@@ -1,52 +0,0 @@
-#ifndef _CLCDLABEL_H_
-#define _CLCDLABEL_H_
-
-#include "CLCDTextObject.h"
-
-class CLCDLabel : public CLCDTextObject
-{
-public:
- // constructor
- CLCDLabel();
- // destructor
- ~CLCDLabel();
-
- // initializes the label
- bool Initialize();
- // deinitializes the label
- bool Shutdown();
-
- // update the label
- bool Update();
- // draw the label
- bool Draw(CLCDGfx *pGfx);
-
- // sets the label's text
- void SetText(tstring strText);
-
- // sets the cutoff mode
- void SetCutOff(bool bEnable);
-
- // sets the wordwrap mode
- void SetWordWrap(bool bEnable);
-
-private:
- // updates the cutoff index
- void UpdateCutOffIndex();
- // called when the labels size has changed
- void OnSizeChanged(SIZE OldSize);
- // called when the labels font has changed
- void OnFontChanged();
-
- bool m_bWordWrap;
-
- bool m_bCutOff;
- int m_iCutOffIndex;
- tstring m_strText;
- tstring m_strCutOff;
- int m_iLineCount;
-
- vector<tstring> m_vLines;
-};
-
-#endif \ No newline at end of file