diff options
author | McCabe Maxsted | 2010-08-01 22:33:02 -0700 |
---|---|---|
committer | Jacek Antonelli | 2010-08-02 00:44:41 -0500 |
commit | 51ccaa26f80b2c896f622b5da19e9b6e8032643c (patch) | |
tree | eeb6dfc63581f9f750dadc645aa33c3eec311690 /linden/indra/newview/floatergriddefault.h | |
parent | Added loading kdu debugging info to the log (diff) | |
download | meta-impy-51ccaa26f80b2c896f622b5da19e9b6e8032643c.zip meta-impy-51ccaa26f80b2c896f622b5da19e9b6e8032643c.tar.gz meta-impy-51ccaa26f80b2c896f622b5da19e9b6e8032643c.tar.bz2 meta-impy-51ccaa26f80b2c896f622b5da19e9b6e8032643c.tar.xz |
Added first use grid selector for selecting the default grid when Imprudence is first run
Diffstat (limited to 'linden/indra/newview/floatergriddefault.h')
-rw-r--r-- | linden/indra/newview/floatergriddefault.h | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/linden/indra/newview/floatergriddefault.h b/linden/indra/newview/floatergriddefault.h new file mode 100644 index 0000000..009e23f --- /dev/null +++ b/linden/indra/newview/floatergriddefault.h | |||
@@ -0,0 +1,49 @@ | |||
1 | /** | ||
2 | * @file floatergriddefault.h | ||
3 | * @brief prompts user to set the default grid on first use | ||
4 | * | ||
5 | * $LicenseInfo:firstyear=2009&license=viewergpl$ | ||
6 | * | ||
7 | * Copyright (c) 2010, McCabe Maxsted | ||
8 | * | ||
9 | * Imprudence Viewer Source Code | ||
10 | * The source code in this file ("Source Code") is provided to you | ||
11 | * under the terms of the GNU General Public License, version 2.0 | ||
12 | * ("GPL"). Terms of the GPL can be found in doc/GPL-license.txt in | ||
13 | * this distribution, or online at | ||
14 | * http://secondlifegrid.net/programs/open_source/licensing/gplv2 | ||
15 | * | ||
16 | * There are special exceptions to the terms and conditions of the GPL as | ||
17 | * it is applied to this Source Code. View the full text of the exception | ||
18 | * in the file doc/FLOSS-exception.txt in this software distribution, or | ||
19 | * online at http://secondlifegrid.net/programs/open_source/licensing/flossexception | ||
20 | * | ||
21 | * By copying, modifying or distributing this software, you acknowledge | ||
22 | * that you have read and understood your obligations described above, | ||
23 | * and agree to abide by those obligations. | ||
24 | * | ||
25 | * ALL SOURCE CODE IS PROVIDED "AS IS." THE AUTHOR MAKES NO | ||
26 | * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, | ||
27 | * COMPLETENESS OR PERFORMANCE. | ||
28 | * $/LicenseInfo$ | ||
29 | */ | ||
30 | |||
31 | #ifndef FLOATERGRIDDEFAULT_H | ||
32 | #define FLOATERGRIDDEFAULT_H | ||
33 | |||
34 | #include "llfloater.h" | ||
35 | |||
36 | class FloaterGridDefault : public LLFloater, public LLFloaterSingleton<FloaterGridDefault> | ||
37 | { | ||
38 | public: | ||
39 | FloaterGridDefault(const LLSD& key); | ||
40 | ~FloaterGridDefault(); | ||
41 | |||
42 | /*virtual*/ BOOL postBuild(); | ||
43 | |||
44 | private: | ||
45 | static void onClickOK(void* userdata); | ||
46 | static void onClickCancel(void* userdata); | ||
47 | }; | ||
48 | |||
49 | #endif // FLOATERGRIDDEFAULT_H | ||