summaryrefslogtreecommitdiff
path: root/recmenuitem.h
diff options
context:
space:
mode:
Diffstat (limited to 'recmenuitem.h')
-rw-r--r--recmenuitem.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/recmenuitem.h b/recmenuitem.h
index a98e21d..4af307a 100644
--- a/recmenuitem.h
+++ b/recmenuitem.h
@@ -175,12 +175,18 @@ public:
// --- cRecMenuItemInfo -------------------------------------------------------
class cRecMenuItemInfo : public cRecMenuItem {
private:
+ int numLines;
cString text;
+ std::string line1;
+ std::string line2;
+ std::string line3;
+ std::string line4;
cTextWrapper wrapper;
int border;
const cFont *fontInfo;
public:
cRecMenuItemInfo(const char *text, bool largeFont = false);
+ cRecMenuItemInfo(std::string line1, int numLines = 1, std::string line2 = "", std::string line3 = "", std::string line4 = "", int width = 80, bool largeFont = false);
virtual ~cRecMenuItemInfo(void);
void setBackground(void);
void CalculateHeight(int textWidth);