diff options
author | McCabe Maxsted | 2011-06-23 20:47:21 -0700 |
---|---|---|
committer | McCabe Maxsted | 2011-06-23 20:47:21 -0700 |
commit | c96afda71bd39e69e1b26849ac5e956d0fd97072 (patch) | |
tree | 96ae96e4f54e3951759b856bacdd09e740118f5f /linden/indra/newview/floaterdice.h | |
parent | Updated Imp's easter egg chat commands with the new website urls (diff) | |
download | meta-impy-c96afda71bd39e69e1b26849ac5e956d0fd97072.zip meta-impy-c96afda71bd39e69e1b26849ac5e956d0fd97072.tar.gz meta-impy-c96afda71bd39e69e1b26849ac5e956d0fd97072.tar.bz2 meta-impy-c96afda71bd39e69e1b26849ac5e956d0fd97072.tar.xz |
Created new window for inworld dice rolling in advanced > UI. Todo: add button for 'rocks fall, everybody dies'
Diffstat (limited to 'linden/indra/newview/floaterdice.h')
-rw-r--r-- | linden/indra/newview/floaterdice.h | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/linden/indra/newview/floaterdice.h b/linden/indra/newview/floaterdice.h new file mode 100644 index 0000000..57a664b --- /dev/null +++ b/linden/indra/newview/floaterdice.h | |||
@@ -0,0 +1,50 @@ | |||
1 | /** | ||
2 | * @file floaterdice.h | ||
3 | * @brief Dice window for Imprudence | ||
4 | * | ||
5 | * $LicenseInfo:firstyear=2009&license=viewergpl$ | ||
6 | * | ||
7 | * Copyright (c) 2011, 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 floaterdice_h | ||
32 | #define floaterdice_h | ||
33 | |||
34 | #include "llfloater.h" | ||
35 | |||
36 | class FloaterDice : public LLFloater, public LLFloaterSingleton<FloaterDice> | ||
37 | { | ||
38 | public: | ||
39 | |||
40 | FloaterDice(const LLSD& seed); | ||
41 | virtual ~FloaterDice(); | ||
42 | BOOL postBuild(); | ||
43 | |||
44 | private: | ||
45 | |||
46 | static void onClickRoll(void* data); | ||
47 | virtual BOOL handleKeyHere(KEY key, MASK mask); | ||
48 | }; | ||
49 | |||
50 | #endif //floaterdice_h | ||