mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 00:41:09 +02:00
CComponentsInfoBox: move define of x_text onto paint()
Origin commit data
------------------
Branch: ni/coolstream
Commit: e80a254daa
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-10-23 (Tue, 23 Oct 2012)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -248,7 +248,7 @@ class CComponentsInfoBox : public CComponentsItem
|
||||
private:
|
||||
const char* text;
|
||||
int text_mode; //see textbox.h for possible modes
|
||||
int x_offset;
|
||||
int x_text, x_offset;
|
||||
Font* font;
|
||||
CBox * box;
|
||||
CTextBox * textbox;
|
||||
@@ -277,9 +277,9 @@ class CComponentsInfoBox : public CComponentsItem
|
||||
inline void setTextColor(fb_pixel_t color_text){ ibox_col_text = color_text;};
|
||||
inline void setSpaceOffset(const int offset){x_offset = offset;};
|
||||
inline void setPicture(const std::string& picture_name){pic_name = picture_name;};
|
||||
void removeLineBreaks(std::string& str);
|
||||
|
||||
void paint(bool do_save_bg = CC_SAVE_SCREEN_YES);
|
||||
void removeLineBreaks(std::string& str);
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user