diff options
| author | Simon 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) |
| commit | 40e5ce5d37cde6d923d9ca68efd0fe49e4940986 (patch) | |
| tree | 3447fd070de5764a19dad606b4323ae7a9b92148 /src/interface/Component.h | |
| parent | c7dd248ae3b3b71617ade8a1bbe3a28f25d3d03a (diff) | |
| download | powder-40e5ce5d37cde6d923d9ca68efd0fe49e4940986.zip powder-40e5ce5d37cde6d923d9ca68efd0fe49e4940986.tar.gz | |
Fix context menu position #65
Diffstat (limited to 'src/interface/Component.h')
| -rw-r--r-- | src/interface/Component.h | 2 |
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) |
