mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
CImageInfo: Scroll license text if text box too small
Origin commit data
------------------
Branch: ni/coolstream
Commit: 801a15df7c
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-03-20 (Wed, 20 Mar 2013)
Origin message was:
------------------
* CImageInfo: Scroll license text if text box too small
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -201,6 +201,8 @@ class CComponentsText : public CComponentsItem
|
||||
virtual void setText(const std::string& stext, const int mode = ~CTextBox::AUTO_WIDTH, Font* font_text = NULL);
|
||||
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; };
|
||||
};
|
||||
|
||||
class CComponentsLabel : public CComponentsText
|
||||
@@ -223,7 +225,6 @@ class CComponentsInfoBox : public CComponentsText
|
||||
{
|
||||
private:
|
||||
int x_text, x_offset;
|
||||
CComponentsText * cctext;
|
||||
CComponentsPicture * pic;
|
||||
std::string pic_default_name;
|
||||
|
||||
@@ -232,6 +233,8 @@ class CComponentsInfoBox : public CComponentsText
|
||||
std::string pic_name;
|
||||
|
||||
public:
|
||||
CComponentsText * cctext;
|
||||
|
||||
CComponentsInfoBox();
|
||||
CComponentsInfoBox( const int x_pos, const int y_pos, const int w, const int h,
|
||||
const char* info_text = NULL, const int mode = CTextBox::AUTO_WIDTH, Font* font_text = NULL,
|
||||
|
Reference in New Issue
Block a user