aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llhudview.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llhudview.cpp13
1 files changed, 9 insertions, 4 deletions
diff --git a/linden/indra/newview/llhudview.cpp b/linden/indra/newview/llhudview.cpp
index 198514c..afcdd73 100644
--- a/linden/indra/newview/llhudview.cpp
+++ b/linden/indra/newview/llhudview.cpp
@@ -48,14 +48,19 @@
48#include "lltracker.h" 48#include "lltracker.h"
49#include "llviewercamera.h" 49#include "llviewercamera.h"
50#include "llui.h" 50#include "llui.h"
51#include "lluictrlfactory.h"
51 52
52LLHUDView *gHUDView = NULL; 53LLHUDView *gHUDView = NULL;
53 54
54const S32 HUD_ARROW_SIZE = 32; 55const S32 HUD_ARROW_SIZE = 32;
55 56
56LLHUDView::LLHUDView() 57
57: LLPanel() 58
58{ } 59LLHUDView::LLHUDView(const LLRect& r)
60{
61 LLUICtrlFactory::getInstance()->buildPanel(this, "panel_hud.xml");
62 userSetShape(r);
63}
59 64
60LLHUDView::~LLHUDView() 65LLHUDView::~LLHUDView()
61{ } 66{ }
@@ -64,6 +69,7 @@ LLHUDView::~LLHUDView()
64void LLHUDView::draw() 69void LLHUDView::draw()
65{ 70{
66 LLTracker::drawHUDArrow(); 71 LLTracker::drawHUDArrow();
72 LLView::draw();
67} 73}
68 74
69 75
@@ -89,4 +95,3 @@ BOOL LLHUDView::handleMouseDown(S32 x, S32 y, MASK mask)
89 } 95 }
90 return LLView::handleMouseDown(x, y, mask); 96 return LLView::handleMouseDown(x, y, mask);
91} 97}
92