summaryrefslogtreecommitdiff
path: root/src/gui/window.h
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2009-03-10 12:09:53 -0600
committerIra Rice <irarice@gmail.com>2009-03-10 12:09:53 -0600
commit0540c611b48fd8dee14066b13755138192b7084b (patch)
tree6772eda38f08a77af7717c8f4747aab77061cfcf /src/gui/window.h
parent9b259c3d502795b2bbbfbe6a275cb503b1fc78b1 (diff)
downloadmana-client-0540c611b48fd8dee14066b13755138192b7084b.tar.gz
mana-client-0540c611b48fd8dee14066b13755138192b7084b.tar.bz2
mana-client-0540c611b48fd8dee14066b13755138192b7084b.tar.xz
mana-client-0540c611b48fd8dee14066b13755138192b7084b.zip
Allow for offsets for the enumerated position version of
setLocationRelativeTo as well. Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/gui/window.h')
-rw-r--r--src/gui/window.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/window.h b/src/gui/window.h
index c24bde76..4fc6c862 100644
--- a/src/gui/window.h
+++ b/src/gui/window.h
@@ -92,7 +92,8 @@ class Window : public gcn::Window, gcn::WidgetListener
/**
* Sets the location relative to the given enumerated position.
*/
- void setLocationRelativeTo(ImageRect::ImagePosition position);
+ void setLocationRelativeTo(ImageRect::ImagePosition position,
+ int offsetX = 0, int offsetY = 0);
/**
* Sets whether or not the window can be resized.