mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
CComponentsText: rename getCCItemTextBoxInst -> getCTextBoxObject
This name should be more plausible
Origin commit data
------------------
Branch: ni/coolstream
Commit: 6b68259ac6
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-03-21 (Thu, 21 Mar 2013)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -202,7 +202,8 @@ class CComponentsText : public CComponentsItem
|
||||
virtual void setText(neutrino_locale_t locale_text, const int mode = ~CTextBox::AUTO_WIDTH, Font* font_text = NULL);
|
||||
virtual void removeLineBreaks(std::string& str);
|
||||
|
||||
CTextBox* getCCItemTextBoxInst() { return ct_textbox; };
|
||||
//get a Text Box object, so it's possible to get access directly to its methods
|
||||
CTextBox* getCTextBoxObject() { return ct_textbox; };
|
||||
};
|
||||
|
||||
class CComponentsLabel : public CComponentsText
|
||||
|
@@ -290,7 +290,7 @@ void CImageInfo::ScrollLic(bool scrollDown)
|
||||
{
|
||||
if (cc_lic && (cc_lic->cctext)) {
|
||||
//get the textbox instance from infobox object and use CTexBbox scroll methods
|
||||
CTextBox* ctb = cc_lic->cctext->getCCItemTextBoxInst();
|
||||
CTextBox* ctb = cc_lic->cctext->getCTextBoxObject();
|
||||
if (ctb) {
|
||||
ctb->enableBackgroundPaint(true);
|
||||
if (scrollDown)
|
||||
|
Reference in New Issue
Block a user