diff options
author | Jacek Antonelli | 2009-06-08 00:41:31 -0500 |
---|---|---|
committer | Jacek Antonelli | 2009-06-08 00:41:31 -0500 |
commit | 0e5df9bdf8d6b418bb6e25615e2ffc922d0f02aa (patch) | |
tree | 2c93d38e210832e737d09cff7561373d8d5453b2 /linden/indra/newview/llviewerwindow.h | |
parent | Imprudence 1.1.0 released. (diff) | |
parent | Updated Imprudence to be based on SL 1.22.11. (ChangeLog Entry) (diff) | |
download | meta-impy-0e5df9bdf8d6b418bb6e25615e2ffc922d0f02aa.zip meta-impy-0e5df9bdf8d6b418bb6e25615e2ffc922d0f02aa.tar.gz meta-impy-0e5df9bdf8d6b418bb6e25615e2ffc922d0f02aa.tar.bz2 meta-impy-0e5df9bdf8d6b418bb6e25615e2ffc922d0f02aa.tar.xz |
Merge branch 'sl-base-1.22' into next
Conflicts:
linden/indra/newview/English.lproj/InfoPlist.strings
linden/indra/newview/skins/default/xui/en-us/panel_chat_bar.xml
Diffstat (limited to 'linden/indra/newview/llviewerwindow.h')
-rw-r--r-- | linden/indra/newview/llviewerwindow.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/linden/indra/newview/llviewerwindow.h b/linden/indra/newview/llviewerwindow.h index d562d0f..ab2dd4e 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, |
@@ -342,6 +346,7 @@ public: | |||
342 | static void toggleFullscreenCallback(S32 option, void *userdata); | 346 | static void toggleFullscreenCallback(S32 option, void *userdata); |
343 | 347 | ||
344 | // handle shutting down GL and bringing it back up | 348 | // handle shutting down GL and bringing it back up |
349 | void requestResolutionUpdate(bool fullscreen_checked); | ||
345 | BOOL checkSettings(); | 350 | BOOL checkSettings(); |
346 | void restartDisplay(BOOL show_progress_bar); | 351 | void restartDisplay(BOOL show_progress_bar); |
347 | BOOL changeDisplaySettings(BOOL fullscreen, LLCoordScreen size, BOOL disable_vsync, BOOL show_progress_bar); | 352 | BOOL changeDisplaySettings(BOOL fullscreen, LLCoordScreen size, BOOL disable_vsync, BOOL show_progress_bar); |
@@ -423,6 +428,11 @@ protected: | |||
423 | std::string mInitAlert; // Window / GL initialization requires an alert | 428 | std::string mInitAlert; // Window / GL initialization requires an alert |
424 | 429 | ||
425 | class LLDebugText* mDebugText; // Internal class for debug text | 430 | class LLDebugText* mDebugText; // Internal class for debug text |
431 | |||
432 | bool mResDirty; | ||
433 | bool mStatesDirty; | ||
434 | bool mIsFullscreenChecked; // Did the user check the fullscreen checkbox in the display settings | ||
435 | U32 mCurrResolutionIndex; | ||
426 | 436 | ||
427 | protected: | 437 | protected: |
428 | static std::string sSnapshotBaseName; | 438 | static std::string sSnapshotBaseName; |
@@ -475,6 +485,7 @@ extern LLVector3 gDebugRaycastIntersection; | |||
475 | extern LLVector2 gDebugRaycastTexCoord; | 485 | extern LLVector2 gDebugRaycastTexCoord; |
476 | extern LLVector3 gDebugRaycastNormal; | 486 | extern LLVector3 gDebugRaycastNormal; |
477 | extern LLVector3 gDebugRaycastBinormal; | 487 | extern LLVector3 gDebugRaycastBinormal; |
488 | extern S32 gDebugRaycastFaceHit; | ||
478 | 489 | ||
479 | extern S32 CHAT_BAR_HEIGHT; | 490 | extern S32 CHAT_BAR_HEIGHT; |
480 | 491 | ||