aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloatersettingsdebug.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llfloatersettingsdebug.h (renamed from linden/indra/newview/head.h)52
1 files changed, 25 insertions, 27 deletions
diff --git a/linden/indra/newview/head.h b/linden/indra/newview/llfloatersettingsdebug.h
index 7bb8fd1..7aba482 100644
--- a/linden/indra/newview/head.h
+++ b/linden/indra/newview/llfloatersettingsdebug.h
@@ -1,10 +1,10 @@
1/** 1/**
2 * @file head.h 2 * @file llfloatersettingsdebug.h
3 * @brief Head class definition 3 * @brief floater for debugging internal viewer settings
4 * 4 *
5 * $LicenseInfo:firstyear=2000&license=viewergpl$ 5 * $LicenseInfo:firstyear=2001&license=viewergpl$
6 * 6 *
7 * Copyright (c) 2000-2008, Linden Research, Inc. 7 * Copyright (c) 2001-2008, Linden Research, Inc.
8 * 8 *
9 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
10 * The source code in this file ("Source Code") is provided by Linden Lab 10 * The source code in this file ("Source Code") is provided by Linden Lab
@@ -29,35 +29,33 @@
29 * $/LicenseInfo$ 29 * $/LicenseInfo$
30 */ 30 */
31 31
32// description of a class that models the motion of a human head. 32#ifndef LLFLOATERDEBUGSETTINGS_H
33// The physics isn't quite right, but it will suffice for right now. 33#define LLFLOATERDEBUGSETTINGS_H
34 34
35#ifndef LL_HEAD_H 35#include "llcontrol.h"
36#define LL_HEAD_H 36#include "llfloater.h"
37#include "lltexteditor.h"
37 38
38class Head { 39class LLFloaterSettingsDebug : public LLFloater
39 public: 40{
41public:
42 LLFloaterSettingsDebug();
43 virtual ~LLFloaterSettingsDebug();
40 44
41 Head(); 45 virtual BOOL postBuild();
42 Head(F32 m, F32 r); 46 virtual void draw();
43 47
44 F32 setMass(F32 m); 48 void updateControl(LLControlVariable* control);
45 F32 setRadius(F32 r);
46 49
47 F32 getMass(); 50 static void show(void*);
48 F32 getRadius(); 51 static void onSettingSelect(LLUICtrl* ctrl, void* user_data);
49 F32 getInertia(); 52 static void onCommitSettings(LLUICtrl* ctrl, void* user_data);
53 static void onClickDefault(void* user_data);
50 54
51 void propagate(F32 horizontal_force, F32 vertical_force, F32 dt); 55protected:
52 56 static LLFloaterSettingsDebug* sInstance;
53 F32 phi, theta; // azimuth and elevation 57 LLTextEditor* mComment;
54 //struct timeval t;
55 //struct timezone tz;
56
57 private:
58 F32 mass, radius, inertia;
59}; 58};
60 59
61#endif 60#endif //LLFLOATERDEBUGSETTINGS_H
62
63 61