aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfirstuse.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:44:46 -0500
committerJacek Antonelli2008-08-15 23:44:46 -0500
commit38d6d37f2d982fa959e9e8a4a3f7e1ccfad7b5d4 (patch)
treeadca584755d22ca041a2dbfc35d4eca01f70b32c /linden/indra/newview/llfirstuse.h
parentREADME.txt (diff)
downloadmeta-impy-38d6d37f2d982fa959e9e8a4a3f7e1ccfad7b5d4.zip
meta-impy-38d6d37f2d982fa959e9e8a4a3f7e1ccfad7b5d4.tar.gz
meta-impy-38d6d37f2d982fa959e9e8a4a3f7e1ccfad7b5d4.tar.bz2
meta-impy-38d6d37f2d982fa959e9e8a4a3f7e1ccfad7b5d4.tar.xz
Second Life viewer sources 1.13.2.12
Diffstat (limited to 'linden/indra/newview/llfirstuse.h')
-rw-r--r--linden/indra/newview/llfirstuse.h102
1 files changed, 102 insertions, 0 deletions
diff --git a/linden/indra/newview/llfirstuse.h b/linden/indra/newview/llfirstuse.h
new file mode 100644
index 0000000..86992cb
--- /dev/null
+++ b/linden/indra/newview/llfirstuse.h
@@ -0,0 +1,102 @@
1/**
2 * @file llfirstuse.h
3 * @brief Methods that spawn "first-use" dialogs.
4 *
5 * Copyright (c) 2003-2007, Linden Research, Inc.
6 *
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
9 * ("GPL"), unless you have obtained a separate licensing agreement
10 * ("Other License"), formally executed by you and Linden Lab. Terms of
11 * the GPL can be found in doc/GPL-license.txt in this distribution, or
12 * online at http://secondlife.com/developers/opensource/gplv2
13 *
14 * There are special exceptions to the terms and conditions of the GPL as
15 * it is applied to this Source Code. View the full text of the exception
16 * in the file doc/FLOSS-exception.txt in this software distribution, or
17 * online at http://secondlife.com/developers/opensource/flossexception
18 *
19 * By copying, modifying or distributing this software, you acknowledge
20 * that you have read and understood your obligations described above,
21 * and agree to abide by those obligations.
22 *
23 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
24 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
25 * COMPLETENESS OR PERFORMANCE.
26 */
27
28#ifndef LL_LLFIRSTUSE_H
29#define LL_LLFIRSTUSE_H
30
31#include <vector>
32#include "llstring.h"
33
34/*
351. On first use of 'sit here', explain how to get up and rotate view.
36
372. On first use of map, explain dbl-click = telport, how hubs/beacons work,
38click-drag to move map
39
403. First use of pie 'Go To', explain other ways to move around
41
424. First use of 'Create' or 'Edit', explain build toolbar, that you can create
43things if build enabled, edit things you own, and that you can ESC to exit it.
44
455. First use of 'Talk to' explain difference between that and regular chat,
46reduced range, how to leave conversation, arrow keys to orbit.
47
486. First lft-click that does nothing (land,object): Explain that rgt-click
49gives menu, lft-click interacts or moves if physical
50
517. On first receipt of money (not rez/derez) explain that objects or people may
52give you money, and how to give someone or something money ('Pay...').
53
548. After first teleporting and being sent to nearest hub, a dialog explaining
55how to find and move toward the beacon.
56
579. On first accept/auto-accept permissions, explain that some objects may be
58activated by entering mouselook 'M', or may override your movement keys with
59other functions.
60
6110. FIrst use of 'wear' or drag object from inventory onto self: 'You can
62attach objects to your body by dragging ontl yourelf of rgt-clk->wear from
63object or from inventory.
64
6511. FIrst time you run the client on a system without QuickTime installed.
66
6712. First time you create a flexible object.
68*/
69
70class LLFirstUse
71{
72public:
73 // Add a config variable to be reset on resetFirstUse()
74 static void addConfigVariable(const LLString& var);
75
76 // Sets all controls back to show the dialogs.
77 static void disableFirstUse();
78
79 // These methods are called each time the appropriate action is
80 // taken. The functions themselves handle only showing the dialog
81 // the first time, or subsequent times if the user wishes.
82 static void useBalanceIncrease(S32 delta);
83 static void useBalanceDecrease(S32 delta);
84 static void useSit();
85 static void useMap();
86 static void useGoTo();
87 static void useBuild();
88 static void useLeftClickNoHit();
89 static void useTeleport();
90 static void useOverrideKeys();
91 static void useAttach();
92 static void useAppearance();
93 static void useInventory();
94 static void useSandbox();
95 static void useFlexible();
96
97protected:
98 static std::set<LLString> sConfigVariables;
99};
100
101#endif
102// EOF