+void eWidget::clearBackgroundColor()
+{
+ m_have_background_color = 0;
+}
+
+void eWidget::setZPosition(int z)
+{
+ m_z_position = z;
+ if (!m_parent)
+ return;
+ m_parent->m_childs.remove(this);
+ insertIntoParent(); /* now at the new Z position */
+}
+
+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;
+}
+