mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
CTextBox: fix repaint of background of textbox on scroll and changed text
suplement to ca22cb9241
This commit is contained in:
@@ -115,12 +115,15 @@ class CTextBox
|
||||
void reSizeMainFrameWidth(int maxTextWidth);
|
||||
void reSizeMainFrameHeight(int maxTextHeight);
|
||||
int getFontTextHeight();
|
||||
bool hasChanged(int* x, int* y, int* dx, int* dy);
|
||||
void reInitToCompareVar(int* x, int* y, int* dx, int* dy);
|
||||
|
||||
/* Variables */
|
||||
std::string m_cText, m_old_cText;
|
||||
std::vector<std::string> m_cLineArray;
|
||||
|
||||
int m_old_x, m_old_y, m_old_dx, m_old_dy, m_old_nBgRadius, m_old_nBgRadiusType, m_old_nMode;
|
||||
bool m_has_scrolled;
|
||||
fb_pixel_t m_old_textBackgroundColor;
|
||||
|
||||
bool m_showTextFrame;
|
||||
|
Reference in New Issue
Block a user