mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
- textbox: add clear() function
This commit is contained in:
@@ -836,6 +836,16 @@ void CTextBox::hide (void)
|
||||
frameBuffer = NULL;
|
||||
}
|
||||
|
||||
void CTextBox::clear(void)
|
||||
{
|
||||
//TRACE("[CTextBox] %s Line %d\r\n", __FUNCTION__, __LINE__);
|
||||
if (frameBuffer == NULL)
|
||||
return;
|
||||
|
||||
std::string clear(" ");
|
||||
setText(&clear);
|
||||
}
|
||||
|
||||
bool CTextBox::clearScreenBuffer()
|
||||
{
|
||||
if(m_bgpixbuf){
|
||||
|
Reference in New Issue
Block a user