aboutsummaryrefslogtreecommitdiff
path: root/src/Container.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Container.cc')
-rw-r--r--src/Container.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/Container.cc b/src/Container.cc
index 5e7cb7d..aec5aba 100644
--- a/src/Container.cc
+++ b/src/Container.cc
@@ -502,6 +502,14 @@ void Container::parentMoved() {
502 (*it)->parentMoved(); 502 (*it)->parentMoved();
503} 503}
504 504
505void Container::invalidateBackground() {
506 FbTk::FbWindow::invalidateBackground();
507 ItemList::iterator it = m_item_list.begin();
508 ItemList::iterator it_end = m_item_list.end();
509 for (; it != it_end; ++it)
510 (*it)->invalidateBackground();
511}
512
505void Container::clear() { 513void Container::clear() {
506 ItemList::iterator it = m_item_list.begin(); 514 ItemList::iterator it = m_item_list.begin();
507 ItemList::iterator it_end = m_item_list.end(); 515 ItemList::iterator it_end = m_item_list.end();
@@ -514,6 +522,8 @@ void Container::setOrientation(FbTk::Orientation orient) {
514 if (m_orientation == orient) 522 if (m_orientation == orient)
515 return; 523 return;
516 524
525 FbTk::FbWindow::invalidateBackground();
526
517 ItemList::iterator it = m_item_list.begin(); 527 ItemList::iterator it = m_item_list.begin();
518 ItemList::iterator it_end = m_item_list.end(); 528 ItemList::iterator it_end = m_item_list.end();
519 for (; it != it_end; ++it) 529 for (; it != it_end; ++it)