mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 08:21:07 +02:00
CTextBox: fix repaint of background of textbox on scroll and changed text
suplement toc3ecec9612
Origin commit data ------------------ Commit:5c7e926a86
Author: Thilo Graf <dbt@novatux.de> Date: 2013-10-27 (Sun, 27 Oct 2013)
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