aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llpaneldebug.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-09-06 18:24:57 -0500
committerJacek Antonelli2008-09-06 18:25:07 -0500
commit798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch)
tree1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/newview/llpaneldebug.cpp
parentSecond Life viewer sources 1.20.15 (diff)
downloadmeta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.zip
meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.gz
meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.bz2
meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.xz
Second Life viewer sources 1.21.0-RC
Diffstat (limited to 'linden/indra/newview/llpaneldebug.cpp')
-rw-r--r--linden/indra/newview/llpaneldebug.cpp66
1 files changed, 32 insertions, 34 deletions
diff --git a/linden/indra/newview/llpaneldebug.cpp b/linden/indra/newview/llpaneldebug.cpp
index dce0235..9d3b865 100644
--- a/linden/indra/newview/llpaneldebug.cpp
+++ b/linden/indra/newview/llpaneldebug.cpp
@@ -94,50 +94,48 @@ LLPanelDebug::LLPanelDebug(const std::string& name, const LLRect& rect)
94 94
95 S32 cur_y = rect.getHeight() - TOP_PAD; 95 S32 cur_y = rect.getHeight() - TOP_PAD;
96 96
97 sliderctrl = new LLSliderCtrl( 97 sliderctrl = new LLSliderCtrl(std::string("Drop Shadow Floater"),
98 "Drop Shadow Floater", 98 LLRect( LEFT, cur_y, RIGHT, cur_y - SLIDERCTRL_HEIGHT ),
99 LLRect( LEFT, cur_y, RIGHT, cur_y - SLIDERCTRL_HEIGHT ), 99 std::string("Drop Shadow Floater"),
100 "Drop Shadow Floater", 100 font,
101 font, 101 LABEL_OFFSET,
102 LABEL_OFFSET, 102 RULER2 + SPINCTRL_DEFAULT_LABEL_WIDTH + SPINCTRL_BTN_WIDTH,
103 RULER2 + SPINCTRL_DEFAULT_LABEL_WIDTH + SPINCTRL_BTN_WIDTH, 103 TRUE,
104 TRUE, 104 TRUE,
105 TRUE, 105 FALSE,
106 FALSE, 106 NULL, NULL,
107 NULL, NULL, 107 (F32)gSavedSettings.getS32("DropShadowFloater"),
108 (F32)gSavedSettings.getS32("DropShadowFloater"), 108 0.f, 10.f, 1.0f,
109 0.f, 10.f, 1.0f, 109 std::string("DropShadowFloater"));
110 "DropShadowFloater");
111 sliderctrl->setFollowsTop(); 110 sliderctrl->setFollowsTop();
112 sliderctrl->setFollowsLeft(); 111 sliderctrl->setFollowsLeft();
113 addChild(sliderctrl); 112 addChild(sliderctrl);
114 cur_y -= VPAD + SLIDERCTRL_HEIGHT; 113 cur_y -= VPAD + SLIDERCTRL_HEIGHT;
115 114
116 sliderctrl = new LLSliderCtrl( 115 sliderctrl = new LLSliderCtrl(std::string("Drop Shadow Button"),
117 "Drop Shadow Button", 116 LLRect( LEFT, cur_y, RIGHT, cur_y - SLIDERCTRL_HEIGHT ),
118 LLRect( LEFT, cur_y, RIGHT, cur_y - SLIDERCTRL_HEIGHT ), 117 std::string("Drop Shadow Button"),
119 "Drop Shadow Button", 118 font,
120 font, 119 LABEL_OFFSET,
121 LABEL_OFFSET, 120 RULER2 + SPINCTRL_DEFAULT_LABEL_WIDTH + SPINCTRL_BTN_WIDTH,
122 RULER2 + SPINCTRL_DEFAULT_LABEL_WIDTH + SPINCTRL_BTN_WIDTH, 121 TRUE,
123 TRUE, 122 TRUE,
124 TRUE, 123 FALSE,
125 FALSE, 124 NULL, NULL,
126 NULL, NULL, 125 (F32)gSavedSettings.getS32("DropShadowButton"),
127 (F32)gSavedSettings.getS32("DropShadowButton"), 126 0.f, 10.f, 1.0f,
128 0.f, 10.f, 1.0f, 127 std::string("DropShadowButton"));
129 "DropShadowButton");
130 sliderctrl->setFollowsTop(); 128 sliderctrl->setFollowsTop();
131 sliderctrl->setFollowsLeft(); 129 sliderctrl->setFollowsLeft();
132 addChild(sliderctrl); 130 addChild(sliderctrl);
133 cur_y -= VPAD + SLIDERCTRL_HEIGHT; 131 cur_y -= VPAD + SLIDERCTRL_HEIGHT;
134 132
135 check = new LLCheckboxCtrl("left click", 133 check = new LLCheckboxCtrl(std::string("left click"),
136 LLRect(LEFT, cur_y, RIGHT, cur_y - 20), 134 LLRect(LEFT, cur_y, RIGHT, cur_y - 20),
137 "Left Click Shows Menu Unless Interactive", 135 std::string("Left Click Shows Menu Unless Interactive"),
138 font, 136 font,
139 NULL, NULL, 137 NULL, NULL,
140 gSavedSettings.getBOOL("LeftClickShowMenu")); 138 gSavedSettings.getBOOL("LeftClickShowMenu"));
141 check->setFollows(FOLLOWS_LEFT|FOLLOWS_TOP); 139 check->setFollows(FOLLOWS_LEFT|FOLLOWS_TOP);
142 addChild(check); 140 addChild(check);
143 mLeftClickCheck = check; 141 mLeftClickCheck = check;