mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-03 19:01:13 +02:00
CTextBox: add signal handler into scroll methodes
Origin commit data
------------------
Branch: ni/coolstream
Commit: 35a08fc5dd
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-01-17 (Sun, 17 Jan 2016)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -685,6 +685,7 @@ void CTextBox::scrollPageDown(const int pages)
|
||||
m_nCurrentLine = m_nCurrentPage * m_nLinesPerPage;
|
||||
if (oldCurrentLine != m_nCurrentLine)
|
||||
refresh();
|
||||
OnAfterScrollPage();
|
||||
}
|
||||
|
||||
void CTextBox::scrollPageUp(const int pages)
|
||||
@@ -708,6 +709,7 @@ void CTextBox::scrollPageUp(const int pages)
|
||||
m_nCurrentLine = m_nCurrentPage * m_nLinesPerPage;
|
||||
if (oldCurrentLine != m_nCurrentLine)
|
||||
refresh();
|
||||
OnAfterScrollPage();
|
||||
}
|
||||
|
||||
void CTextBox::refresh(void)
|
||||
|
Reference in New Issue
Block a user