mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-10 07:08:28 +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>
Origin commit data
------------------
Branch: ni/coolstream
Commit: ad630c5acb
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-10-23 (Wed, 23 Oct 2013)
Origin message was:
------------------
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 was generated by Migit
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