aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llviewerwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llviewerwindow.h')
-rw-r--r--linden/indra/newview/llviewerwindow.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/linden/indra/newview/llviewerwindow.h b/linden/indra/newview/llviewerwindow.h
index 21df0d5..c83c57b 100644
--- a/linden/indra/newview/llviewerwindow.h
+++ b/linden/indra/newview/llviewerwindow.h
@@ -4,7 +4,7 @@
4 * 4 *
5 * $LicenseInfo:firstyear=2001&license=viewergpl$ 5 * $LicenseInfo:firstyear=2001&license=viewergpl$
6 * 6 *
7 * Copyright (c) 2001-2008, Linden Research, Inc. 7 * Copyright (c) 2001-2009, 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
@@ -310,9 +310,13 @@ public:
310 LLPickInfo pickImmediate(S32 x, S32 y, BOOL pick_transparent); 310 LLPickInfo pickImmediate(S32 x, S32 y, BOOL pick_transparent);
311 static void hoverPickCallback(const LLPickInfo& pick_info); 311 static void hoverPickCallback(const LLPickInfo& pick_info);
312 312
313 LLHUDIcon* cursorIntersectIcon(S32 mouse_x, S32 mouse_y, F32 depth,
314 LLVector3* intersection);
315
313 LLViewerObject* cursorIntersect(S32 mouse_x = -1, S32 mouse_y = -1, F32 depth = 512.f, 316 LLViewerObject* cursorIntersect(S32 mouse_x = -1, S32 mouse_y = -1, F32 depth = 512.f,
314 LLViewerObject *this_object = NULL, 317 LLViewerObject *this_object = NULL,
315 S32 this_face = -1, 318 S32 this_face = -1,
319 BOOL pick_transparent = FALSE,
316 S32* face_hit = NULL, 320 S32* face_hit = NULL,
317 LLVector3 *intersection = NULL, 321 LLVector3 *intersection = NULL,
318 LLVector2 *uv = NULL, 322 LLVector2 *uv = NULL,
@@ -340,6 +344,7 @@ public:
340 void toggleFullscreen(BOOL show_progress); 344 void toggleFullscreen(BOOL show_progress);
341 345
342 // handle shutting down GL and bringing it back up 346 // handle shutting down GL and bringing it back up
347 void requestResolutionUpdate(bool fullscreen_checked);
343 BOOL checkSettings(); 348 BOOL checkSettings();
344 void restartDisplay(BOOL show_progress_bar); 349 void restartDisplay(BOOL show_progress_bar);
345 BOOL changeDisplaySettings(BOOL fullscreen, LLCoordScreen size, BOOL disable_vsync, BOOL show_progress_bar); 350 BOOL changeDisplaySettings(BOOL fullscreen, LLCoordScreen size, BOOL disable_vsync, BOOL show_progress_bar);
@@ -421,6 +426,11 @@ protected:
421 std::string mInitAlert; // Window / GL initialization requires an alert 426 std::string mInitAlert; // Window / GL initialization requires an alert
422 427
423 class LLDebugText* mDebugText; // Internal class for debug text 428 class LLDebugText* mDebugText; // Internal class for debug text
429
430 bool mResDirty;
431 bool mStatesDirty;
432 bool mIsFullscreenChecked; // Did the user check the fullscreen checkbox in the display settings
433 U32 mCurrResolutionIndex;
424 434
425protected: 435protected:
426 static std::string sSnapshotBaseName; 436 static std::string sSnapshotBaseName;
@@ -473,6 +483,7 @@ extern LLVector3 gDebugRaycastIntersection;
473extern LLVector2 gDebugRaycastTexCoord; 483extern LLVector2 gDebugRaycastTexCoord;
474extern LLVector3 gDebugRaycastNormal; 484extern LLVector3 gDebugRaycastNormal;
475extern LLVector3 gDebugRaycastBinormal; 485extern LLVector3 gDebugRaycastBinormal;
486extern S32 gDebugRaycastFaceHit;
476 487
477extern S32 CHAT_BAR_HEIGHT; 488extern S32 CHAT_BAR_HEIGHT;
478 489