From 70da45eca47e5d7c429b49f5c8ec02a5e2bfb47f Mon Sep 17 00:00:00 2001 From: David Athay Date: Tue, 20 Mar 2007 21:53:25 +0000 Subject: Tweaked the target cursor and name drawing. --- src/gui/viewport.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/gui/viewport.h') 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. */ -- cgit v1.2.3-70-g09d2