eWindow::~eWindow()
{
getDesktop()->removeRootWidget(this);
+ m_child->destruct();
}
void eWindow::setTitle(const std::string &string)
event(evtTitleChanged);
}
+std::string eWindow::getTitle() const
+{
+ return m_title;
+}
+
void eWindow::setFlag(int flags)
{
m_flags |= flags;
}
return 0;
}
+ case evtTitleChanged:
+ /* m_visible_region contains, in contrast to m_visible_with_childs,
+ only the decoration. though repainting the whole decoration is bad,
+ repainting the whole window is even worse. */
+ invalidate(m_visible_region);
+ break;
default:
break;
}