rendering invisible elements too

This commit is contained in:
Peter Schojer
2008-07-21 10:28:08 +00:00
parent d4f2be3fd2
commit 53f989634b

View File

@@ -114,7 +114,7 @@ std::string Control::getToolTip() const
void Control::renderHead(const RenderContext& context, std::ostream& str) const void Control::renderHead(const RenderContext& context, std::ostream& str) const
{ {
if (isVisible()) //also render invisible stuff if (isVisible())
{ {
_pCell->renderHead(context, str); _pCell->renderHead(context, str);
} }
@@ -123,7 +123,7 @@ void Control::renderHead(const RenderContext& context, std::ostream& str) const
void Control::renderBody(const RenderContext& context, std::ostream& str) const void Control::renderBody(const RenderContext& context, std::ostream& str) const
{ {
if (isVisible()) //also render invisible stuff if (isVisible())
{ {
_pCell->renderBody(context, str); _pCell->renderBody(context, str);
} }