mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-01 09:51:22 +02:00
CComponentsText: Add function getTextLinesAutoHeight()
- Function is used for determine the number of lines in a text box in AUTO_HIGH mode. Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -133,6 +133,9 @@ class CComponentsText : public CComponentsItem, public CBox
|
||||
|
||||
///gets the embedded CTextBox object, so it's possible to get access directly to its methods and properties
|
||||
virtual CTextBox* getCTextBoxObject() { return ct_textbox; };
|
||||
|
||||
///returns count of lines from a text box page
|
||||
virtual int getTextLinesAutoHeight(const int& textMaxHeight, const int& textWidth, const int& mode);
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user