diff options
author | Jacek Antonelli | 2008-08-15 23:44:54 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:44:54 -0500 |
commit | b2afb8800bb033a04bb3ecdf0363068d56648ef1 (patch) | |
tree | 3568129b5bbddb47cd39d622b4137a8fbff4abaf /linden/indra/newview/llframestatview.cpp | |
parent | Second Life viewer sources 1.14.0.1 (diff) | |
download | meta-impy-b2afb8800bb033a04bb3ecdf0363068d56648ef1.zip meta-impy-b2afb8800bb033a04bb3ecdf0363068d56648ef1.tar.gz meta-impy-b2afb8800bb033a04bb3ecdf0363068d56648ef1.tar.bz2 meta-impy-b2afb8800bb033a04bb3ecdf0363068d56648ef1.tar.xz |
Second Life viewer sources 1.15.0.2
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llframestatview.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/linden/indra/newview/llframestatview.cpp b/linden/indra/newview/llframestatview.cpp index e0c1cc7..af9162d 100644 --- a/linden/indra/newview/llframestatview.cpp +++ b/linden/indra/newview/llframestatview.cpp | |||
@@ -4,6 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Copyright (c) 2001-2007, Linden Research, Inc. | 5 | * Copyright (c) 2001-2007, Linden Research, Inc. |
6 | * | 6 | * |
7 | * Second Life Viewer Source Code | ||
7 | * The source code in this file ("Source Code") is provided by Linden Lab | 8 | * 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 | * 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 | * ("GPL"), unless you have obtained a separate licensing agreement |
@@ -215,7 +216,7 @@ void LLFrameStatView::draw() | |||
215 | right = left + 1; | 216 | right = left + 1; |
216 | gl_rect_2d(left, top, right, bottom, LLColor4(1.f, 1.f, 1.f, 0.2f)); | 217 | gl_rect_2d(left, top, right, bottom, LLColor4(1.f, 1.f, 1.f, 0.2f)); |
217 | 218 | ||
218 | snprintf(tick_label, sizeof(tick_label), "%.2f", tick_value); /* Flawfinder: ignore */ | 219 | snprintf(tick_label, sizeof(tick_label), "%.2f", tick_value); /* Flawfinder: ignore */ |
219 | // draw labels for the tick marks | 220 | // draw labels for the tick marks |
220 | LLFontGL::sMonospace->renderUTF8(tick_label, 0, left, bottom, | 221 | LLFontGL::sMonospace->renderUTF8(tick_label, 0, left, bottom, |
221 | LLColor4(1.f, 1.f, 1.f, 0.5f), | 222 | LLColor4(1.f, 1.f, 1.f, 0.5f), |
@@ -265,7 +266,7 @@ void LLFrameStatView::draw() | |||
265 | right = left + 1; | 266 | right = left + 1; |
266 | gl_rect_2d(left, top, right, bottom, LLColor4(1.f, 1.f, 1.f, 0.25f)); | 267 | gl_rect_2d(left, top, right, bottom, LLColor4(1.f, 1.f, 1.f, 0.25f)); |
267 | 268 | ||
268 | snprintf(tick_label, sizeof(tick_label), "%.2f", tick_value); /* Flawfinder: ignore */ | 269 | snprintf(tick_label, sizeof(tick_label), "%.2f", tick_value); /* Flawfinder: ignore */ |
269 | // draw labels for the tick marks | 270 | // draw labels for the tick marks |
270 | LLFontGL::sMonospace->renderUTF8(tick_label, 0, left, bottom, | 271 | LLFontGL::sMonospace->renderUTF8(tick_label, 0, left, bottom, |
271 | LLColor4(1.f, 1.f, 1.f, 0.5f), | 272 | LLColor4(1.f, 1.f, 1.f, 0.5f), |
@@ -290,7 +291,7 @@ void LLFrameStatView::draw() | |||
290 | right = left + 1; | 291 | right = left + 1; |
291 | gl_rect_2d(left, top, right, bottom, LLColor4(1.f, 1.f, 1.f, 0.25f)); | 292 | gl_rect_2d(left, top, right, bottom, LLColor4(1.f, 1.f, 1.f, 0.25f)); |
292 | 293 | ||
293 | snprintf(tick_label, sizeof(tick_label), "%.2f", tick_value); /* Flawfinder: ignore */ | 294 | snprintf(tick_label, sizeof(tick_label), "%.2f", tick_value); /* Flawfinder: ignore */ |
294 | // draw labels for the tick marks | 295 | // draw labels for the tick marks |
295 | LLFontGL::sMonospace->renderUTF8(tick_label, 0, left, bottom, | 296 | LLFontGL::sMonospace->renderUTF8(tick_label, 0, left, bottom, |
296 | LLColor4(1.f, 1.f, 1.f, 0.5f), | 297 | LLColor4(1.f, 1.f, 1.f, 0.5f), |