aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llui/llctrlselectioninterface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/llui/llctrlselectioninterface.cpp')
-rw-r--r--linden/indra/llui/llctrlselectioninterface.cpp88
1 files changed, 44 insertions, 44 deletions
diff --git a/linden/indra/llui/llctrlselectioninterface.cpp b/linden/indra/llui/llctrlselectioninterface.cpp
index 5478d61..446eb63 100644
--- a/linden/indra/llui/llctrlselectioninterface.cpp
+++ b/linden/indra/llui/llctrlselectioninterface.cpp
@@ -1,8 +1,8 @@
1/** 1/**
2 * @file llctrlselectioninterface.cpp 2 * @file llctrlselectioninterface.cpp
3 * @brief Programmatic selection of items in a list. 3 * @brief Programmatic selection of items in a list.
4 * 4 *
5 * Copyright (c) 2006-2007, Linden Research, Inc. 5 * Copyright (c) 2006-2007, Linden Research, Inc.
6 * 6 *
7 * The source code in this file ("Source Code") is provided by Linden Lab 7 * The source code in this file ("Source Code") is provided by Linden Lab
8 * to you under the terms of the GNU General Public License, version 2.0 8 * to you under the terms of the GNU General Public License, version 2.0
@@ -22,42 +22,42 @@
22 * 22 *
23 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 23 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
24 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 24 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
25 * COMPLETENESS OR PERFORMANCE. 25 * COMPLETENESS OR PERFORMANCE.
26 */ 26 */
27 27
28#include "llctrlselectioninterface.h" 28#include "llctrlselectioninterface.h"
29 29
30#include "llsd.h" 30#include "llsd.h"
31 31
32// virtual 32// virtual
33LLCtrlSelectionInterface::~LLCtrlSelectionInterface() 33LLCtrlSelectionInterface::~LLCtrlSelectionInterface()
34{ } 34{ }
35 35
36BOOL LLCtrlSelectionInterface::selectByValue(LLSD value) 36BOOL LLCtrlSelectionInterface::selectByValue(LLSD value)
37{ 37{
38 return setSelectedByValue(value, TRUE); 38 return setSelectedByValue(value, TRUE);
39} 39}
40 40
41BOOL LLCtrlSelectionInterface::deselectByValue(LLSD value) 41BOOL LLCtrlSelectionInterface::deselectByValue(LLSD value)
42{ 42{
43 return setSelectedByValue(value, FALSE); 43 return setSelectedByValue(value, FALSE);
44} 44}
45 45
46 46
47// virtual 47// virtual
48LLCtrlListInterface::~LLCtrlListInterface() 48LLCtrlListInterface::~LLCtrlListInterface()
49{ } 49{ }
50 50
51LLScrollListItem* LLCtrlListInterface::addSimpleElement(const LLString& value) 51LLScrollListItem* LLCtrlListInterface::addSimpleElement(const LLString& value)
52{ 52{
53 return addSimpleElement(value, ADD_BOTTOM, LLSD()); 53 return addSimpleElement(value, ADD_BOTTOM, LLSD());
54} 54}
55 55
56LLScrollListItem* LLCtrlListInterface::addSimpleElement(const LLString& value, EAddPosition pos) 56LLScrollListItem* LLCtrlListInterface::addSimpleElement(const LLString& value, EAddPosition pos)
57{ 57{
58 return addSimpleElement(value, pos, LLSD()); 58 return addSimpleElement(value, pos, LLSD());
59} 59}
60 60
61// virtual 61// virtual
62LLCtrlScrollInterface::~LLCtrlScrollInterface() 62LLCtrlScrollInterface::~LLCtrlScrollInterface()
63{ } 63{ }