summaryrefslogtreecommitdiff
path: root/indra/llui
diff options
context:
space:
mode:
authorRichard Linden <none@none>2011-04-01 18:23:13 -0700
committerRichard Linden <none@none>2011-04-01 18:23:13 -0700
commit80efbeead1d59b64b615f8a33cb0966cf7fef9f1 (patch)
treede2ce8d48ba15af62a15800355bf7d51aab659b0 /indra/llui
parent1664c9dc678f7aca9c2bbf38d28e00550e03c4dd (diff)
parent81ae3c5fc984a5175f1bd0fc277f8493dc895d94 (diff)
merge
Diffstat (limited to 'indra/llui')
-rw-r--r--indra/llui/lliconctrl.h1
-rw-r--r--indra/llui/llmenugl.cpp3
2 files changed, 1 insertions, 3 deletions
diff --git a/indra/llui/lliconctrl.h b/indra/llui/lliconctrl.h
index e9bdab2d47..669e126266 100644
--- a/indra/llui/lliconctrl.h
+++ b/indra/llui/lliconctrl.h
@@ -69,6 +69,7 @@ public:
void setColor(const LLColor4& color) { mColor = color; }
void setImage(LLPointer<LLUIImage> image) { mImagep = image; }
+ const LLPointer<LLUIImage> getImage() { return mImagep; }
private:
void setIconImageDrawSize() ;
diff --git a/indra/llui/llmenugl.cpp b/indra/llui/llmenugl.cpp
index f0374de98f..8de9c769e2 100644
--- a/indra/llui/llmenugl.cpp
+++ b/indra/llui/llmenugl.cpp
@@ -3105,9 +3105,6 @@ void LLMenuGL::showPopup(LLView* spawning_view, LLMenuGL* menu, S32 x, S32 y)
CURSOR_HEIGHT + MOUSE_CURSOR_PADDING * 2);
menu->translateIntoRectWithExclusion( menu_region_rect, mouse_rect, FALSE );
menu->getParent()->sendChildToFront(menu);
-
-
-
}
///============================================================================