diff options
author | David Athay <ko2fan@gmail.com> | 2007-03-20 21:53:25 +0000 |
---|---|---|
committer | David Athay <ko2fan@gmail.com> | 2007-03-20 21:53:25 +0000 |
commit | 70da45eca47e5d7c429b49f5c8ec02a5e2bfb47f (patch) | |
tree | 52abfd1c4653f01d455582cfae501f5002c3620d /src/gui/viewport.h | |
parent | 8a49edf2371fddba894a8b0a4f05083f63475840 (diff) | |
download | mana-70da45eca47e5d7c429b49f5c8ec02a5e2bfb47f.tar.gz mana-70da45eca47e5d7c429b49f5c8ec02a5e2bfb47f.tar.bz2 mana-70da45eca47e5d7c429b49f5c8ec02a5e2bfb47f.tar.xz mana-70da45eca47e5d7c429b49f5c8ec02a5e2bfb47f.zip |
Tweaked the target cursor and name drawing.
Diffstat (limited to 'src/gui/viewport.h')
-rw-r--r-- | src/gui/viewport.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/gui/viewport.h b/src/gui/viewport.h index 45863228..6bb82d7f 100644 --- a/src/gui/viewport.h +++ b/src/gui/viewport.h @@ -35,6 +35,7 @@ class Being; class FloorItem; class Item; class PopupMenu; +class Graphics; class SimpleAnimation; /** @@ -138,6 +139,18 @@ class Viewport : public WindowContainer, public gcn::MouseListener, * TODO Find some way to get rid of Being here */ void showPopup(int x, int y, Being *being); + + /** + * Draws range based target cursor + */ + void + drawTargetCursor(Graphics *graphics); + + /** + * Draws target name + */ + void + drawTargetName(Graphics *graphics); Map *mMap; /**< The current map. */ |