diff options
author | Jacek Antonelli | 2009-11-19 04:19:06 -0600 |
---|---|---|
committer | Jacek Antonelli | 2009-11-19 04:19:06 -0600 |
commit | 1d443b7a94ed6f9ef1d408caef72fcbc0b1ee427 (patch) | |
tree | e09ccbc010e326a48fd91ba15b58afd7fb836b3f /linden/indra/newview/llfloaterfonttest.cpp | |
parent | Fixed minor formatting issue in MANIFESTO.txt. (diff) | |
parent | Fixed CMake setting errors (diff) | |
download | meta-impy-1d443b7a94ed6f9ef1d408caef72fcbc0b1ee427.zip meta-impy-1d443b7a94ed6f9ef1d408caef72fcbc0b1ee427.tar.gz meta-impy-1d443b7a94ed6f9ef1d408caef72fcbc0b1ee427.tar.bz2 meta-impy-1d443b7a94ed6f9ef1d408caef72fcbc0b1ee427.tar.xz |
Merge remote branch 'mccabe/1.3.0-next' into next
Conflicts:
linden/indra/cmake/00-Common.cmake
linden/indra/newview/skins/default/xui/de/floater_about.xml
linden/indra/newview/skins/default/xui/fr/floater_about.xml
linden/indra/newview/skins/default/xui/ja/floater_about.xml
linden/indra/newview/skins/default/xui/ko/floater_about.xml
linden/indra/newview/skins/default/xui/zh/floater_about.xml
linden/install.xml
Diffstat (limited to 'linden/indra/newview/llfloaterfonttest.cpp')
-rw-r--r-- | linden/indra/newview/llfloaterfonttest.cpp | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/linden/indra/newview/llfloaterfonttest.cpp b/linden/indra/newview/llfloaterfonttest.cpp new file mode 100644 index 0000000..96d1f01 --- /dev/null +++ b/linden/indra/newview/llfloaterfonttest.cpp | |||
@@ -0,0 +1,66 @@ | |||
1 | /** | ||
2 | * @file llfloaterfonttest.cpp | ||
3 | * @author Brad Payne | ||
4 | * @brief LLFloaterFontTest class implementation | ||
5 | * | ||
6 | * $LicenseInfo:firstyear=2008&license=viewergpl$ | ||
7 | * | ||
8 | * Copyright (c) 2008-2009, Linden Research, Inc. | ||
9 | * | ||
10 | * Second Life Viewer Source Code | ||
11 | * The source code in this file ("Source Code") is provided by Linden Lab | ||
12 | * to you under the terms of the GNU General Public License, version 2.0 | ||
13 | * ("GPL"), unless you have obtained a separate licensing agreement | ||
14 | * ("Other License"), formally executed by you and Linden Lab. Terms of | ||
15 | * the GPL can be found in doc/GPL-license.txt in this distribution, or | ||
16 | * online at http://secondlifegrid.net/programs/open_source/licensing/gplv2 | ||
17 | * | ||
18 | * There are special exceptions to the terms and conditions of the GPL as | ||
19 | * it is applied to this Source Code. View the full text of the exception | ||
20 | * in the file doc/FLOSS-exception.txt in this software distribution, or | ||
21 | * online at | ||
22 | * http://secondlifegrid.net/programs/open_source/licensing/flossexception | ||
23 | * | ||
24 | * By copying, modifying or distributing this software, you acknowledge | ||
25 | * that you have read and understood your obligations described above, | ||
26 | * and agree to abide by those obligations. | ||
27 | * | ||
28 | * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO | ||
29 | * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, | ||
30 | * COMPLETENESS OR PERFORMANCE. | ||
31 | * $/LicenseInfo$ | ||
32 | */ | ||
33 | |||
34 | /** | ||
35 | * Floater that appears when buying an object, giving a preview | ||
36 | * of its contents and their permissions. | ||
37 | */ | ||
38 | |||
39 | #include "llviewerprecompiledheaders.h" | ||
40 | |||
41 | #include "llfloaterfonttest.h" | ||
42 | #include "lluictrlfactory.h" | ||
43 | |||
44 | |||
45 | LLFloaterFontTest* LLFloaterFontTest::sInstance = NULL; | ||
46 | |||
47 | LLFloaterFontTest::LLFloaterFontTest() | ||
48 | : LLFloater(std::string("floater_font_test"), LLRect(0,500,700,0), std::string("Font Test")) | ||
49 | { | ||
50 | LLUICtrlFactory::getInstance()->buildFloater(this, "floater_font_test.xml"); | ||
51 | } | ||
52 | |||
53 | LLFloaterFontTest::~LLFloaterFontTest() | ||
54 | { | ||
55 | sInstance = NULL; | ||
56 | } | ||
57 | |||
58 | // static | ||
59 | void LLFloaterFontTest::show(void *unused) | ||
60 | { | ||
61 | if (!sInstance) | ||
62 | sInstance = new LLFloaterFontTest(); | ||
63 | |||
64 | sInstance->open(); /*Flawfinder: ignore*/ | ||
65 | sInstance->setFocus(TRUE); | ||
66 | } | ||