event(evtTitleChanged);
}
+std::string eWindow::getTitle() const
+{
+ return m_title;
+}
+
void eWindow::setFlag(int flags)
{
m_flags |= flags;
style->handleNewSize(this, new_size, offset);
}
} else
- {
m_child->resize(new_size);
- }
break;
}
case evtPaint:
}
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;
}