diff options
author | Jacek Antonelli | 2009-04-30 13:04:20 -0500 |
---|---|---|
committer | Jacek Antonelli | 2009-04-30 13:07:16 -0500 |
commit | ca8149ca6d157eb4b5fc8ba0e5ba3a6e56f72e7e (patch) | |
tree | 8348301d0ac44a524f1819b777686bf086907d76 /linden/indra/newview/llfloaterclothing.h | |
parent | Second Life viewer sources 1.22.11 (diff) | |
download | meta-impy-ca8149ca6d157eb4b5fc8ba0e5ba3a6e56f72e7e.zip meta-impy-ca8149ca6d157eb4b5fc8ba0e5ba3a6e56f72e7e.tar.gz meta-impy-ca8149ca6d157eb4b5fc8ba0e5ba3a6e56f72e7e.tar.bz2 meta-impy-ca8149ca6d157eb4b5fc8ba0e5ba3a6e56f72e7e.tar.xz |
Second Life viewer sources 1.23.0-RC
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llcharacter/llbvhconsts.h (renamed from linden/indra/newview/llfloaterclothing.h) | 62 |
1 files changed, 20 insertions, 42 deletions
diff --git a/linden/indra/newview/llfloaterclothing.h b/linden/indra/llcharacter/llbvhconsts.h index a4e9648..d5876aa 100644 --- a/linden/indra/newview/llfloaterclothing.h +++ b/linden/indra/llcharacter/llbvhconsts.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /** | 1 | /** |
2 | * @file llfloaterclothing.h | 2 | * @file llbvhconsts.h |
3 | * @brief Read-only list of wearables from your inventory. | 3 | * @brief Consts and types useful to BVH files and LindenLabAnimation format. |
4 | * | 4 | * |
5 | * $LicenseInfo:firstyear=2004&license=viewergpl$ | 5 | * $LicenseInfo:firstyear=2004&license=viewergpl$ |
6 | * | 6 | * |
@@ -17,7 +17,8 @@ | |||
17 | * There are special exceptions to the terms and conditions of the GPL as | 17 | * There are special exceptions to the terms and conditions of the GPL as |
18 | * it is applied to this Source Code. View the full text of the exception | 18 | * it is applied to this Source Code. View the full text of the exception |
19 | * in the file doc/FLOSS-exception.txt in this software distribution, or | 19 | * in the file doc/FLOSS-exception.txt in this software distribution, or |
20 | * online at http://secondlifegrid.net/programs/open_source/licensing/flossexception | 20 | * online at |
21 | * http://secondlifegrid.net/programs/open_source/licensing/flossexception | ||
21 | * | 22 | * |
22 | * By copying, modifying or distributing this software, you acknowledge | 23 | * By copying, modifying or distributing this software, you acknowledge |
23 | * that you have read and understood your obligations described above, | 24 | * that you have read and understood your obligations described above, |
@@ -29,46 +30,23 @@ | |||
29 | * $/LicenseInfo$ | 30 | * $/LicenseInfo$ |
30 | */ | 31 | */ |
31 | 32 | ||
32 | #ifndef LL_LLFLOATERCLOTHING_H | 33 | #ifndef LL_LLBVHCONSTS_H |
33 | #define LL_LLFLOATERCLOTHING_H | 34 | #define LL_LLBVHCONSTS_H |
34 | 35 | ||
35 | #include "llfloater.h" | 36 | const F32 MAX_ANIM_DURATION = 30.f; |
36 | 37 | ||
37 | class LLScrollableContainerView; | 38 | typedef enum e_constraint_type |
38 | class LLView; | 39 | { |
39 | class LLButton; | 40 | CONSTRAINT_TYPE_POINT, |
40 | class LLLineEditor; | 41 | CONSTRAINT_TYPE_PLANE, |
41 | class LLComboBox; | 42 | NUM_CONSTRAINT_TYPES |
42 | class LLScrollListCtrl; | 43 | } EConstraintType; |
43 | class LLFloaterClothingObserver; | ||
44 | 44 | ||
45 | class LLFloaterClothing | 45 | typedef enum e_constraint_target_type |
46 | : public LLFloater | 46 | { |
47 | { | 47 | CONSTRAINT_TARGET_TYPE_BODY, |
48 | public: | 48 | CONSTRAINT_TARGET_TYPE_GROUND, |
49 | LLFloaterClothing(); | 49 | NUM_CONSTRAINT_TARGET_TYPES |
50 | virtual ~LLFloaterClothing(); | 50 | } EConstraintTargetType; |
51 | 51 | ||
52 | virtual void onClose(bool app_quitting); | 52 | #endif // LL_LLBVHCONSTS_H |
53 | |||
54 | static void show(void* unused = NULL); | ||
55 | static void toggleVisibility(); | ||
56 | static void refreshAll(); | ||
57 | |||
58 | private: | ||
59 | void buildClothingList(); | ||
60 | |||
61 | static void onClickWear(void* data); | ||
62 | static void onClickTakeOff(void* data); | ||
63 | static void onCommitList(LLUICtrl* ctrl, void* data); | ||
64 | |||
65 | private: | ||
66 | LLUUID mSelectedID; | ||
67 | BOOL mAllowSelection; | ||
68 | |||
69 | static LLFloaterClothing* sInstance; | ||
70 | static LLFloaterClothingObserver* sObserver; | ||
71 | }; | ||
72 | |||
73 | |||
74 | #endif | ||