CComponentsText: try to use an inherited version of CBox class

It's a partial solution to use full functionality for size handling
of CTextBox in CComponentsText.


Origin commit data
------------------
Commit: a6c43a62bd
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-07-12 (Fri, 12 Jul 2013)
This commit is contained in:
2013-07-12 09:25:13 +02:00
parent e341b576f5
commit 510240d2b8
3 changed files with 20 additions and 20 deletions

View File

@@ -38,13 +38,11 @@ Handling of text parts based up CTextBox attributes and methodes.
CComponentsText provides a interface to the embedded CTextBox object.
*/
class CComponentsText : public CComponentsItem
class CComponentsText : public CComponentsItem, public CBox
{
protected:
///object: CTextBox object
CTextBox * ct_textbox;
///object: CBox object
CBox * ct_box;
///object: Fontrenderer object
Font * ct_font;