summaryrefslogtreecommitdiff
path: root/src/interface/Component.h
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-08-03 16:44:12 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-08-03 16:44:12 (GMT)
commit40e5ce5d37cde6d923d9ca68efd0fe49e4940986 (patch)
tree3447fd070de5764a19dad606b4323ae7a9b92148 /src/interface/Component.h
parentc7dd248ae3b3b71617ade8a1bbe3a28f25d3d03a (diff)
downloadpowder-40e5ce5d37cde6d923d9ca68efd0fe49e4940986.zip
powder-40e5ce5d37cde6d923d9ca68efd0fe49e4940986.tar.gz
Fix context menu position #65
Diffstat (limited to 'src/interface/Component.h')
-rw-r--r--src/interface/Component.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/interface/Component.h b/src/interface/Component.h
index 5ef672d..c034952 100644
--- a/src/interface/Component.h
+++ b/src/interface/Component.h
@@ -50,6 +50,8 @@ namespace ui
virtual void TextPosition(std::string);
void Refresh();
+
+ Point GetScreenPos();
/* See the parent of this component.
* If new_parent is NULL, this component will have no parent. (THIS DOES NOT delete THE COMPONENT. See XComponent::RemoveChild)