mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
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.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user