+void eWidget::setTransparent(int transp)
+{
+ if (isTransparent() != transp)
+ {
+ if (transp)
+ m_vis |= wVisTransparent;
+ else
+ m_vis &=~wVisTransparent;
+ recalcClipRegionsWhenVisible();
+ }
+}
+
+ePoint eWidget::getAbsolutePosition()
+{
+ eWidget *root = this;
+ ePoint abspos = position();
+
+ while (root && !root->m_desktop)
+ {
+ root = root->m_parent;
+ ASSERT(root);
+ abspos += root->position();
+ }
+
+ return abspos;
+}
+