LLViewerWindow Class Reference

#include <llviewerwindow.h>

Inheritance diagram for LLViewerWindow:

Inheritance graph
[legend]
Collaboration diagram for LLViewerWindow:

Collaboration graph
[legend]

List of all members.

Public Types

enum  e_snapshot_type { SNAPSHOT_TYPE_COLOR, SNAPSHOT_TYPE_DEPTH, SNAPSHOT_TYPE_OBJECT_ID }
typedef enum
LLViewerWindow::e_snapshot_type 
ESnapshotType

Public Member Functions

 LLViewerWindow (char *title, char *name, S32 x, S32 y, S32 width, S32 height, BOOL fullscreen, BOOL ignore_pixel_depth)
virtual ~LLViewerWindow ()
void initGLDefaults ()
void initBase ()
void adjustRectanglesForFirstUse (const LLRect &full_window)
void initWorldUI ()
BOOL handleTranslatedKeyDown (KEY key, MASK mask, BOOL repeated)
BOOL handleTranslatedKeyUp (KEY key, MASK mask)
void handleScanKey (KEY key, BOOL key_down, BOOL key_up, BOOL key_level)
BOOL handleUnicodeChar (llwchar uni_char, MASK mask)
BOOL handleMouseDown (LLWindow *window, LLCoordGL pos, MASK mask)
BOOL handleMouseUp (LLWindow *window, LLCoordGL pos, MASK mask)
BOOL handleCloseRequest (LLWindow *window)
void handleQuit (LLWindow *window)
BOOL handleRightMouseDown (LLWindow *window, LLCoordGL pos, MASK mask)
BOOL handleRightMouseUp (LLWindow *window, LLCoordGL pos, MASK mask)
BOOL handleMiddleMouseDown (LLWindow *window, LLCoordGL pos, MASK mask)
BOOL handleMiddleMouseUp (LLWindow *window, LLCoordGL pos, MASK mask)
void handleMouseMove (LLWindow *window, LLCoordGL pos, MASK mask)
void handleMouseLeave (LLWindow *window)
void handleResize (LLWindow *window, S32 x, S32 y)
void handleFocus (LLWindow *window)
void handleFocusLost (LLWindow *window)
BOOL handleActivate (LLWindow *window, BOOL activated)
BOOL handleActivateApp (LLWindow *window, BOOL activating)
void handleMenuSelect (LLWindow *window, S32 menu_item)
BOOL handlePaint (LLWindow *window, S32 x, S32 y, S32 width, S32 height)
void handleScrollWheel (LLWindow *window, S32 clicks)
BOOL handleDoubleClick (LLWindow *window, LLCoordGL pos, MASK mask)
void handleWindowBlock (LLWindow *window)
void handleWindowUnblock (LLWindow *window)
void handleDataCopy (LLWindow *window, S32 data_type, void *data)
BOOL handleTimerEvent (LLWindow *window)
BOOL handleDeviceChange (LLWindow *window)
LLViewgetRootView () const
const LLRectgetWindowRect () const
S32 getWindowDisplayHeight () const
S32 getWindowDisplayWidth () const
const LLRectgetVirtualWindowRect () const
S32 getWindowHeight () const
S32 getWindowWidth () const
LLWindowgetWindow () const
void * getPlatformWindow () const
void focusClient () const
LLCoordGL getLastMouse () const
S32 getLastMouseX () const
S32 getLastMouseY () const
LLCoordGL getCurrentMouse () const
S32 getCurrentMouseX () const
S32 getCurrentMouseY () const
S32 getCurrentMouseDX () const
S32 getCurrentMouseDY () const
LLCoordGL getCurrentMouseDelta () const
LLStatgetMouseVelocityStat ()
BOOL getLeftMouseDown () const
BOOL getRightMouseDown () const
LLUICtrlgetTopCtrl () const
BOOL hasTopCtrl (LLView *view) const
void setupViewport (S32 x_offset=0, S32 y_offset=0)
void setup3DRender ()
void setup2DRender ()
BOOL isPickPending ()
LLVector3 mouseDirectionGlobal (const S32 x, const S32 y) const
LLVector3 mouseDirectionCamera (const S32 x, const S32 y) const
BOOL getActive () const
void getTargetWindow (BOOL &fullscreen, S32 &width, S32 &height) const
const LLStringgetInitAlert ()
void saveLastMouse (const LLCoordGL &point)
void setCursor (ECursorType c)
void showCursor ()
void hideCursor ()
void moveCursorToCenter ()
void setShowProgress (const BOOL show)
BOOL getShowProgress () const
void moveProgressViewToFront ()
void setProgressString (const LLString &string)
void setProgressPercent (const F32 percent)
void setProgressMessage (const LLString &msg)
void setProgressCancelButtonVisible (BOOL b, const LLString &label)
LLProgressViewgetProgressView () const
void updateObjectUnderCursor ()
BOOL handlePerFrameHover ()
BOOL handleKey (KEY key, MASK mask)
void handleScrollWheel (S32 clicks)
void setNormalControlsVisible (BOOL visible)
void setMenuBackgroundColor (bool god_mode=false, bool dev_grid=false)
void setKeyboardFocus (LLUICtrl *new_focus)
LLUICtrlgetKeyboardFocus ()
BOOL hasKeyboardFocus (const LLUICtrl *possible_focus) const
BOOL childHasKeyboardFocus (const LLView *parent) const
void setMouseCapture (LLMouseHandler *new_captor)
LLMouseHandlergetMouseCaptor () const
void setTopCtrl (LLUICtrl *new_top)
void reshape (S32 width, S32 height)
void sendShapeToSim ()
void draw ()
void updateDebugText ()
void drawDebugText ()
BOOL saveSnapshot (const LLString &filename, S32 image_width, S32 image_height, BOOL show_ui=TRUE, BOOL do_rebuild=FALSE, ESnapshotType type=SNAPSHOT_TYPE_COLOR)
BOOL rawSnapshot (LLImageRaw *raw, S32 image_width, S32 image_height, BOOL keep_window_aspect=TRUE, BOOL is_texture=FALSE, BOOL show_ui=TRUE, BOOL do_rebuild=FALSE, ESnapshotType type=SNAPSHOT_TYPE_COLOR, S32 max_size=MAX_IMAGE_SIZE)
BOOL thumbnailSnapshot (LLImageRaw *raw, S32 preview_width, S32 preview_height, BOOL show_ui, BOOL do_rebuild, ESnapshotType type)
BOOL saveImageNumbered (LLImageRaw *raw, const LLString &extension=LLString())
void playSnapshotAnimAndSound ()
void renderSelections (BOOL for_gl_pick, BOOL pick_parcel_walls, BOOL for_hud)
void performPick ()
void hitObjectOrLandGlobalAsync (S32 x, S32 y_from_bot, MASK mask, void(*callback)(S32 x, S32 y, MASK mask), BOOL pick_transparent=FALSE, BOOL pick_parcel_walls=FALSE)
void hitObjectOrLandGlobalImmediate (S32 x, S32 y, void(*callback)(S32 x, S32 y, MASK mask), BOOL pick_transparent)
void hitUIElementAsync (S32 x, S32 y_from_bot, MASK mask, void(*callback)(S32 x, S32 y, MASK mask))
void hitUIElementImmediate (S32 x, S32 y, void(*callback)(S32 x, S32 y, MASK mask))
LLViewerObjectgetObjectUnderCursor (const F32 depth=16.0f)
LLViewerObjectlastObjectHit ()
LLViewerObjectlastNonFloraObjectHit ()
const LLVector3dlastObjectHitOffset ()
const LLVector3dlastNonFloraObjectHitOffset ()
BOOL mousePointOnLandGlobal (const S32 x, const S32 y, LLVector3d *land_pos_global)
BOOL mousePointOnPlaneGlobal (LLVector3d &point, const S32 x, const S32 y, const LLVector3d &plane_point, const LLVector3 &plane_normal)
LLVector3d clickPointInWorldGlobal (const S32 x, const S32 y_from_bot, LLViewerObject *clicked_object) const
BOOL clickPointOnSurfaceGlobal (const S32 x, const S32 y, LLViewerObject *objectp, LLVector3d &point_global) const
void dumpState ()
void toggleFullscreen (BOOL show_progress)
BOOL checkSettings ()
void restartDisplay (BOOL show_progress_bar)
BOOL changeDisplaySettings (BOOL fullscreen, LLCoordScreen size, BOOL disable_vsync, BOOL show_progress_bar)
BOOL getIgnoreDestroyWindow ()
F32 getDisplayAspectRatio () const
const LLVector2getDisplayScale () const
void calcDisplayScale ()
void drawPickBuffer () const
LLAlertDialogalertXml (const std::string &xml_filename, LLAlertDialog::alert_callback_t callback=NULL, void *user_data=NULL)
LLAlertDialogalertXml (const std::string &xml_filename, const LLString::format_map_t &args, LLAlertDialog::alert_callback_t callback=NULL, void *user_data=NULL)
LLAlertDialogalertXmlEditText (const std::string &xml_filename, const LLString::format_map_t &args, LLAlertDialog::alert_callback_t callback, void *user_data, LLAlertDialog::alert_text_callback_t text_callback, void *text_data, const LLString::format_map_t &edit_args=LLString::format_map_t(), BOOL draw_asterixes=FALSE)

Static Public Member Functions

static void loadUserImage (void **cb_data, const LLUUID &uuid)
static void movieSize (S32 new_width, S32 new_height)
static bool alertCallback (S32 modal)

Public Attributes

LLWindowmWindow

Protected Attributes

BOOL mActive
BOOL mWantFullscreen
BOOL mShowFullscreenProgress
LLRect mWindowRect
LLRect mVirtualWindowRect
LLViewmRootView
LLVector2 mDisplayScale
LLCoordGL mCurrentMousePoint
LLCoordGL mLastMousePoint
LLCoordGL mCurrentMouseDelta
LLStat mMouseVelocityStat
BOOL mLeftMouseDown
BOOL mRightMouseDown
LLProgressViewmProgressView
LLTextBoxmToolTip
BOOL mToolTipBlocked
LLRect mToolTipStickyRect
BOOL mMouseInWindow
BOOL mFocusCycleMode
MASK mLastMask
LLToolmToolStored
BOOL mSuppressToolbox
BOOL mHideCursorPermanent
LLCoordGL mPickPoint
LLCoordGL mPickOffset
MASK mPickMask
BOOL mPickPending
void(* mPickCallback )(S32 x, S32 y, MASK mask)
LLString mOverlayTitle
BOOL mIgnoreActivate
U8mPickBuffer
LLString mInitAlert
class LLDebugTextmDebugText

Static Protected Attributes

static char sSnapshotBaseName [LL_MAX_PATH]
static char sSnapshotDir [LL_MAX_PATH]
static char sMovieBaseName [LL_MAX_PATH]

Private Member Functions

void switchToolByMask (MASK mask)
void destroyWindow ()
void drawMouselookInstructions ()
void stopGL (BOOL save_state=TRUE)
void restoreGL (const LLString &progress_message=LLString::null)
void initFonts (F32 zoom_factor=1.f)
void analyzeHit (S32 x, S32 y_from_bot, LLViewerObject *objectp, U32 te_offset, LLUUID *hit_object_id_p, S32 *hit_face_p, LLVector3d *hit_pos_p, BOOL *hit_land, F32 *hit_u_coord, F32 *hit_v_coord)


Detailed Description

Definition at line 65 of file llviewerwindow.h.


Member Typedef Documentation


Member Enumeration Documentation

Enumerator:
SNAPSHOT_TYPE_COLOR 
SNAPSHOT_TYPE_DEPTH 
SNAPSHOT_TYPE_OBJECT_ID 

Definition at line 222 of file llviewerwindow.h.


Constructor & Destructor Documentation

LLViewerWindow::LLViewerWindow ( char *  title,
char *  name,
S32  x,
S32  y,
S32  width,
S32  height,
BOOL  fullscreen,
BOOL  ignore_pixel_depth 
)

Definition at line 1493 of file llviewerwindow.cpp.

References alertCallback(), LLFeatureManager::applyRecommendedSettings(), LLWinDebug::checkExceptionHandler(), LLWindowManager::createWindow(), FALSE, LLControlVariable::firePropertyChanged(), LLAppViewer::forceExit(), gBumpImageList, LLControlGroup::getBOOL(), LLControlGroup::getControl(), LLControlGroup::getF32(), LLSingleton< LLFeatureManager >::getInstance(), LLWindow::getPixelAspectRatio(), LLControlGroup::getS32(), LLWindow::getSize(), LLControlGroup::getString(), LLControlGroup::getU32(), LLFeatureManager::getVersion(), getWindowHeight(), getWindowWidth(), gGLManager, gImageList, gNoRender, gSavedSettings, gShowOverlayTitle, LLBumpImageList::init(), LLViewerImageList::init(), LLFeatureManager::init(), LLViewerImage::initClass(), LLVertexBuffer::initClass(), LLFontManager::initClass(), initFonts(), LLAppViewer::instance(), LLFeatureManager::isSafe(), LL_DEBUGS, LL_ENDL, LL_WARNS, llendl, llmax(), llround(), llwarns, mCurrentMousePoint, mDebugText, mDisplayScale, LLGLManager::mHasVertexBufferObject, mInitAlert, mOverlayTitle, mPickBuffer, mRootView, LLVector2::mV, mVirtualWindowRect, mWindow, mWindowRect, LLCoord::mX, LLCoord::mY, NULL, PICK_DIAMETER, LLStringBase< char >::replaceChar(), LLRectBase< Type >::set(), LLControlGroup::setBOOL(), LLWindow::setCallbacks(), LLAlertDialog::setDisplayCallback(), LLFeatureManager::setGraphicsLevel(), LLUI::setScaleFactor(), LLControlGroup::setU32(), LLVector2::setVec(), sMovieBaseName, sSnapshotBaseName, sSnapshotDir, LLSplashScreen::update(), VX, and VY.

Here is the call graph for this function:

LLViewerWindow::~LLViewerWindow (  )  [virtual]


Member Function Documentation

void LLViewerWindow::initGLDefaults (  ) 

Definition at line 1639 of file llviewerwindow.cpp.

References LLGLImmediate::blendFunc(), gBox, gCone, gCylinder, gGL, gSphere, LLCylinder::prerender(), LLRenderSphere::prerender(), LLBox::prerender(), and LLCone::prerender().

Referenced by LLAppViewer::initWindow(), and restoreGL().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLViewerWindow::initBase (  ) 

void LLViewerWindow::adjustRectanglesForFirstUse ( const LLRect full_window  ) 

void LLViewerWindow::initWorldUI (  ) 

BOOL LLViewerWindow::handleTranslatedKeyDown ( KEY  key,
MASK  mask,
BOOL  repeated 
) [virtual]

BOOL LLViewerWindow::handleTranslatedKeyUp ( KEY  key,
MASK  mask 
) [virtual]

Reimplemented from LLWindowCallbacks.

Definition at line 1303 of file llviewerwindow.cpp.

References FALSE, gVoiceClient, and LLVoiceClient::keyUp().

Here is the call graph for this function:

void LLViewerWindow::handleScanKey ( KEY  key,
BOOL  key_down,
BOOL  key_up,
BOOL  key_level 
) [virtual]

Reimplemented from LLWindowCallbacks.

Definition at line 1312 of file llviewerwindow.cpp.

References LLSingleton< LLViewerJoystick >::getInstance(), gViewerKeyboard, LLViewerKeyboard::scanKey(), and LLViewerJoystick::setCameraNeedsUpdate().

Here is the call graph for this function:

BOOL LLViewerWindow::handleUnicodeChar ( llwchar  uni_char,
MASK  mask 
) [virtual]

BOOL LLViewerWindow::handleMouseDown ( LLWindow window,
LLCoordGL  pos,
MASK  mask 
) [virtual]

BOOL LLViewerWindow::handleMouseUp ( LLWindow window,
LLCoordGL  pos,
MASK  mask 
) [virtual]

BOOL LLViewerWindow::handleCloseRequest ( LLWindow window  )  [virtual]

Reimplemented from LLWindowCallbacks.

Definition at line 1206 of file llviewerwindow.cpp.

References FALSE, LLAppViewer::instance(), and LLAppViewer::userQuit().

Here is the call graph for this function:

void LLViewerWindow::handleQuit ( LLWindow window  )  [virtual]

Reimplemented from LLWindowCallbacks.

Definition at line 1215 of file llviewerwindow.cpp.

References LLAppViewer::forceQuit(), and LLAppViewer::instance().

Here is the call graph for this function:

BOOL LLViewerWindow::handleRightMouseDown ( LLWindow window,
LLCoordGL  pos,
MASK  mask 
) [virtual]

BOOL LLViewerWindow::handleRightMouseUp ( LLWindow window,
LLCoordGL  pos,
MASK  mask 
) [virtual]

BOOL LLViewerWindow::handleMiddleMouseDown ( LLWindow window,
LLCoordGL  pos,
MASK  mask 
) [virtual]

Reimplemented from LLWindowCallbacks.

Definition at line 1136 of file llviewerwindow.cpp.

References gVoiceClient, LLVoiceClient::middleMouseState(), and TRUE.

Here is the call graph for this function:

BOOL LLViewerWindow::handleMiddleMouseUp ( LLWindow window,
LLCoordGL  pos,
MASK  mask 
) [virtual]

Reimplemented from LLWindowCallbacks.

Definition at line 1144 of file llviewerwindow.cpp.

References gVoiceClient, LLVoiceClient::middleMouseState(), and TRUE.

Here is the call graph for this function:

void LLViewerWindow::handleMouseMove ( LLWindow window,
LLCoordGL  pos,
MASK  mask 
) [virtual]

void LLViewerWindow::handleMouseLeave ( LLWindow window  )  [virtual]

Reimplemented from LLWindowCallbacks.

Definition at line 1195 of file llviewerwindow.cpp.

References FALSE, LLFocusMgr::getMouseCapture(), gFocusMgr, llassert, mMouseInWindow, mToolTip, NULL, and LLView::setVisible().

Here is the call graph for this function:

void LLViewerWindow::handleResize ( LLWindow window,
S32  x,
S32  y 
) [virtual]

Reimplemented from LLWindowCallbacks.

Definition at line 1220 of file llviewerwindow.cpp.

References reshape().

Here is the call graph for this function:

void LLViewerWindow::handleFocus ( LLWindow window  )  [virtual]

void LLViewerWindow::handleFocusLost ( LLWindow window  )  [virtual]

BOOL LLViewerWindow::handleActivate ( LLWindow window,
BOOL  activated 
) [virtual]

BOOL LLViewerWindow::handleActivateApp ( LLWindow window,
BOOL  activating 
) [virtual]

Reimplemented from LLWindowCallbacks.

Definition at line 1377 of file llviewerwindow.cpp.

References FALSE, LLSingleton< LLViewerJoystick >::getInstance(), and LLViewerJoystick::setNeedsReset().

Here is the call graph for this function:

void LLViewerWindow::handleMenuSelect ( LLWindow window,
S32  menu_item 
) [virtual]

Reimplemented from LLWindowCallbacks.

Definition at line 1384 of file llviewerwindow.cpp.

BOOL LLViewerWindow::handlePaint ( LLWindow window,
S32  x,
S32  y,
S32  width,
S32  height 
) [virtual]

void LLViewerWindow::handleScrollWheel ( LLWindow window,
S32  clicks 
) [virtual]

Reimplemented from LLWindowCallbacks.

Definition at line 1436 of file llviewerwindow.cpp.

BOOL LLViewerWindow::handleDoubleClick ( LLWindow window,
LLCoordGL  pos,
MASK  mask 
) [virtual]

void LLViewerWindow::handleWindowBlock ( LLWindow window  )  [virtual]

Reimplemented from LLWindowCallbacks.

Definition at line 1441 of file llviewerwindow.cpp.

References send_agent_pause().

Here is the call graph for this function:

void LLViewerWindow::handleWindowUnblock ( LLWindow window  )  [virtual]

Reimplemented from LLWindowCallbacks.

Definition at line 1446 of file llviewerwindow.cpp.

References send_agent_resume().

Here is the call graph for this function:

void LLViewerWindow::handleDataCopy ( LLWindow window,
S32  data_type,
void *  data 
) [virtual]

Reimplemented from LLWindowCallbacks.

Definition at line 1451 of file llviewerwindow.cpp.

References LLWindow::bringToFront(), LLURLDispatcher::dispatch(), mWindow, and S32.

Here is the call graph for this function:

BOOL LLViewerWindow::handleTimerEvent ( LLWindow window  )  [virtual]

Reimplemented from LLWindowCallbacks.

Definition at line 1469 of file llviewerwindow.cpp.

References FALSE, LLSingleton< LLViewerJoystick >::getInstance(), TRUE, and LLViewerJoystick::updateStatus().

Here is the call graph for this function:

BOOL LLViewerWindow::handleDeviceChange ( LLWindow window  )  [virtual]

Reimplemented from LLWindowCallbacks.

Definition at line 1479 of file llviewerwindow.cpp.

References FALSE, LLSingleton< LLViewerJoystick >::getInstance(), LLViewerJoystick::init(), and TRUE.

Here is the call graph for this function:

LLView* LLViewerWindow::getRootView (  )  const [inline]

const LLRect& LLViewerWindow::getWindowRect (  )  const [inline]

Definition at line 119 of file llviewerwindow.h.

References mWindowRect.

Referenced by LLViewerCamera::projectPosAgentToScreen().

Here is the caller graph for this function:

S32 LLViewerWindow::getWindowDisplayHeight (  )  const

S32 LLViewerWindow::getWindowDisplayWidth (  )  const

const LLRect& LLViewerWindow::getVirtualWindowRect (  )  const [inline]

Definition at line 125 of file llviewerwindow.h.

References mVirtualWindowRect.

Referenced by LLHoverView::draw(), LLFastTimerView::draw(), LLDebugView::LLDebugView(), login_show(), and LLViewerCamera::projectPosAgentToScreenEdge().

Here is the caller graph for this function:

S32 LLViewerWindow::getWindowHeight (  )  const

S32 LLViewerWindow::getWindowWidth (  )  const

LLWindow* LLViewerWindow::getWindow ( void   )  const [inline]

void* LLViewerWindow::getPlatformWindow (  )  const [inline]

Definition at line 130 of file llviewerwindow.h.

References LLWindow::getPlatformWindow(), and mWindow.

Referenced by display(), idle_startup(), and LLViewerMedia::initClass().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLViewerWindow::focusClient (  )  const [inline]

Definition at line 131 of file llviewerwindow.h.

References LLWindow::focusClient(), and mWindow.

Referenced by LLWebBrowserCtrl::handleMouseUp(), and LLWebBrowserCtrl::onFocusLost().

Here is the call graph for this function:

Here is the caller graph for this function:

LLCoordGL LLViewerWindow::getLastMouse (  )  const [inline]

Definition at line 133 of file llviewerwindow.h.

References mLastMousePoint.

S32 LLViewerWindow::getLastMouseX (  )  const [inline]

Definition at line 134 of file llviewerwindow.h.

References mLastMousePoint, and LLCoord::mX.

S32 LLViewerWindow::getLastMouseY (  )  const [inline]

Definition at line 135 of file llviewerwindow.h.

References mLastMousePoint, and LLCoord::mY.

LLCoordGL LLViewerWindow::getCurrentMouse (  )  const [inline]

Definition at line 136 of file llviewerwindow.h.

References mCurrentMousePoint.

Referenced by LLAppViewer::idle(), LLHoverView::setHoverActive(), and LLDebugText::update().

Here is the caller graph for this function:

S32 LLViewerWindow::getCurrentMouseX (  )  const [inline]

Definition at line 137 of file llviewerwindow.h.

References mCurrentMousePoint, and LLCoord::mX.

Referenced by getObjectUnderCursor(), LLToolPie::pickAndShowMenu(), and LLHoverView::updateHover().

Here is the caller graph for this function:

S32 LLViewerWindow::getCurrentMouseY (  )  const [inline]

Definition at line 138 of file llviewerwindow.h.

References mCurrentMousePoint, and LLCoord::mY.

Referenced by getObjectUnderCursor(), LLToolPie::pickAndShowMenu(), and LLHoverView::updateHover().

Here is the caller graph for this function:

S32 LLViewerWindow::getCurrentMouseDX (  )  const [inline]

Definition at line 139 of file llviewerwindow.h.

References mCurrentMouseDelta, and LLCoord::mX.

Referenced by LLWorldMapView::handleHover(), LLToolGun::handleHover(), and LLToolCamera::handleHover().

Here is the caller graph for this function:

S32 LLViewerWindow::getCurrentMouseDY (  )  const [inline]

Definition at line 140 of file llviewerwindow.h.

References mCurrentMouseDelta, and LLCoord::mY.

Referenced by LLWorldMapView::handleHover(), LLToolGun::handleHover(), and LLToolCamera::handleHover().

Here is the caller graph for this function:

LLCoordGL LLViewerWindow::getCurrentMouseDelta (  )  const [inline]

Definition at line 141 of file llviewerwindow.h.

References mCurrentMouseDelta.

LLStat* LLViewerWindow::getMouseVelocityStat (  )  [inline]

Definition at line 142 of file llviewerwindow.h.

References mMouseVelocityStat.

Referenced by LLHoverView::updateHover(), and LLAgent::updateLookAt().

Here is the caller graph for this function:

BOOL LLViewerWindow::getLeftMouseDown (  )  const [inline]

BOOL LLViewerWindow::getRightMouseDown (  )  const [inline]

Definition at line 144 of file llviewerwindow.h.

References mRightMouseDown.

LLUICtrl * LLViewerWindow::getTopCtrl (  )  const

Definition at line 4733 of file llviewerwindow.cpp.

References LLFocusMgr::getTopCtrl(), and gFocusMgr.

Referenced by LLToolDragAndDrop::dragOrDrop().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLViewerWindow::hasTopCtrl ( LLView view  )  const

Definition at line 4738 of file llviewerwindow.cpp.

References LLFocusMgr::getTopCtrl(), and gFocusMgr.

Referenced by LLFolderView::deleteAllChildren(), and LLFolderView::~LLFolderView().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLViewerWindow::setupViewport ( S32  x_offset = 0,
S32  y_offset = 0 
)

void LLViewerWindow::setup3DRender (  ) 

void LLViewerWindow::setup2DRender (  ) 

Definition at line 4762 of file llviewerwindow.cpp.

References LLRectBase< Type >::getHeight(), LLRectBase< Type >::getWidth(), gl_state_for_2d(), and mWindowRect.

Referenced by display_startup(), hitUIElementAsync(), hud_render_text(), render_disconnected_background(), render_ui_2d(), render_ui_and_swap(), and LLManip::renderXYZ().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLViewerWindow::isPickPending (  )  [inline]

Definition at line 153 of file llviewerwindow.h.

References mPickPending.

LLVector3 LLViewerWindow::mouseDirectionGlobal ( const S32  x,
const S32  y 
) const

LLVector3 LLViewerWindow::mouseDirectionCamera ( const S32  x,
const S32  y 
) const

BOOL LLViewerWindow::getActive (  )  const [inline]

Definition at line 159 of file llviewerwindow.h.

References mActive.

Referenced by audio_update_volume(), display(), display_startup(), LLAppViewer::mainLoop(), and process_keystrokes_async().

Here is the caller graph for this function:

void LLViewerWindow::getTargetWindow ( BOOL fullscreen,
S32 width,
S32 height 
) const

Definition at line 4980 of file llviewerwindow.cpp.

References LLWindow::getFullscreen(), LLControlGroup::getS32(), getWindowDisplayHeight(), getWindowDisplayWidth(), gSavedSettings, mWantFullscreen, and mWindow.

Referenced by LLPanelDisplay::applyResolution(), and LLPanelDisplay::postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

const LLString& LLViewerWindow::getInitAlert (  )  [inline]

Definition at line 165 of file llviewerwindow.h.

References mInitAlert.

Referenced by idle_startup().

Here is the caller graph for this function:

void LLViewerWindow::saveLastMouse ( const LLCoordGL point  ) 

Definition at line 3137 of file llviewerwindow.cpp.

References getWindowHeight(), getWindowWidth(), mCurrentMousePoint, LLCoord::mX, and LLCoord::mY.

Referenced by handleMouseMove().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLViewerWindow::setCursor ( ECursorType  c  ) 

void LLViewerWindow::showCursor (  ) 

void LLViewerWindow::hideCursor (  ) 

void LLViewerWindow::moveCursorToCenter (  ) 

void LLViewerWindow::setShowProgress ( const BOOL  show  ) 

Definition at line 4790 of file llviewerwindow.cpp.

References mProgressView, and LLProgressView::setVisible().

Referenced by display(), idle_startup(), LLAppViewer::idleShutdown(), initBase(), and restoreGL().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLViewerWindow::getShowProgress (  )  const

Definition at line 4798 of file llviewerwindow.cpp.

References LLView::getVisible(), and mProgressView.

Referenced by LLAppViewer::mainLoop(), and process_keystrokes_async().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLViewerWindow::moveProgressViewToFront (  ) 

Definition at line 4804 of file llviewerwindow.cpp.

References LLView::addChild(), mProgressView, mRootView, and LLView::removeChild().

Referenced by idle_startup().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLViewerWindow::setProgressString ( const LLString string  ) 

Definition at line 4813 of file llviewerwindow.cpp.

References mProgressView, and LLProgressView::setText().

Referenced by display(), LLAppViewer::idleShutdown(), restoreGL(), and set_startup_status().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLViewerWindow::setProgressPercent ( const F32  percent  ) 

Definition at line 4829 of file llviewerwindow.cpp.

References mProgressView, and LLProgressView::setPercent().

Referenced by display(), LLAppViewer::idleShutdown(), and set_startup_status().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLViewerWindow::setProgressMessage ( const LLString msg  ) 

Definition at line 4821 of file llviewerwindow.cpp.

References mProgressView, and LLProgressView::setMessage().

Referenced by set_startup_status().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLViewerWindow::setProgressCancelButtonVisible ( BOOL  b,
const LLString label 
)

Definition at line 4837 of file llviewerwindow.cpp.

References mProgressView, and LLProgressView::setCancelButtonVisible().

Referenced by display(), idle_startup(), initBase(), process_teleport_progress(), and process_teleport_start().

Here is the call graph for this function:

Here is the caller graph for this function:

LLProgressView * LLViewerWindow::getProgressView (  )  const

Definition at line 4846 of file llviewerwindow.cpp.

References mProgressView.

void LLViewerWindow::updateObjectUnderCursor (  ) 

BOOL LLViewerWindow::handlePerFrameHover (  ) 

Definition at line 2737 of file llviewerwindow.cpp.

References LLModalDialog::activeCount(), LLStat::addValue(), ADJUST_VERTICAL_NO, LLHoverView::cancelHover(), CONSOLE_BOTTOM_PAD, LLKeyboard::currentKey(), LLKeyboard::currentMask(), LLSelectMgr::deselectUnused(), LLViewerParcelMgr::deselectUnused(), FALSE, LLUICtrl::findRootMostFocusRoot(), LLUICtrl::focusFirstItem(), gChatBar, gConsole, LLEditMenuHandler::gEditMenuHandler, LLToolMgr::getBaseTool(), LLControlGroup::getBOOL(), LLView::getChild(), LLToolMgr::getCurrentTool(), LLToolMgr::getCurrentToolset(), LLWindow::getCursorPosition(), LLFloaterView::getCycleMode(), LLFrameTimer::getElapsedTimeF32(), LLControlGroup::getF32(), LLRectBase< Type >::getHeight(), LLSingleton< LLViewerParcelMgr >::getInstance(), LLSingleton< LLSelectMgr >::getInstance(), LLSingleton< LLToolCompGun >::getInstance(), LLSingleton< LLToolDragAndDrop >::getInstance(), LLSingleton< LLToolCompInspect >::getInstance(), LLSingleton< LLToolPie >::getInstance(), LLSingleton< LLToolMgr >::getInstance(), LLUICtrl::getIsChrome(), LLFocusMgr::getKeyboardFocus(), LLView::getLocalBoundingRect(), LLFocusMgr::getMouseCapture(), LLMouseHandler::getName(), LLUICtrl::getParentUICtrl(), LLView::getRect(), LLFocusMgr::getTopCtrl(), LLView::getVisible(), LLRectBase< Type >::getWidth(), getWindowHeight(), getWindowWidth(), gFaceEditToolset, gFloaterTools, gFloaterView, gFocusMgr, gFrameIntervalSeconds, gHoverView, gHUDView, gKeyboard, gMouselookToolset, gNoRender, gNotifyBoxView, gOverlayBar, gPipeline, gSavedSettings, gSnapshotFloaterView, gToolBar, gToolNull, LLTool::handleHover(), LLView::handleHover(), LLMouseHandler::handleHover(), LLView::handleToolTip(), LLMouseHandler::handleToolTip(), LLUICtrl::hasTabStop(), LLFloaterView::highlightFocusedFloater(), LLUICtrl::isCtrl(), LLWindow::isCursorHidden(), LLView::isFocusRoot(), LLView::isInEnabledChain(), LLView::isInVisibleChain(), LLFloater::isMinimized(), LLRectBase< Type >::isNull(), LLMouseHandler::isView(), lldebugst, llendl, llinfos, llmin(), llround(), lltrunc(), LLView::localPointToOtherView(), LLVector2::magVec(), MASK_CONTROL, LLRectBase< Type >::mBottom, mCurrentMouseDelta, mCurrentMousePoint, mLastMousePoint, LLRectBase< Type >::mLeft, mMouseInWindow, mMouseVelocityStat, mRootView, mSuppressToolbox, mToolTip, mToolTipBlocked, mToolTipStickyRect, LLRectBase< Type >::mTop, LLVector2::mV, mWindow, mWindowRect, LLCoord::mX, LLCoord::mY, NULL, LLFloater::open(), LLView::pointInView(), LLOverlayBar::refresh(), LLChatBar::refresh(), LLToolBar::refresh(), LLFocusMgr::releaseFocusIfNeeded(), LLConsole::reshape(), LLView::reshape(), LLFloaterView::reshapeFloater(), LLTextBox::reshapeToFitText(), S32, LLView::screenPointToLocal(), LLMouseHandler::screenPointToLocal(), LLView::sDebugMouseHandling, LLCoord::set(), LLFloaterView::setCycleMode(), LLUICtrl::setFocus(), LLView::setOrigin(), LLView::setRect(), LLFloaterView::setSnapOffsetBottom(), LLVector2::setVec(), LLFloater::setVisible(), LLView::setVisible(), LLTextBox::setWrappedText(), LLUI::sGLScaleFactor, LLView::sMouseHandlerMessage, LLPipeline::sRenderProcessBeacons, LLUI::sShowXUINames, LLChatBar::startChat(), STATUS_BAR_HEIGHT, LLFloaterView::syncFloaterTabOrder(), LLView::translateIntoRect(), TRUE, LLHoverView::updateHover(), LLFloaterTools::updatePopup(), VX, and VY.

Referenced by LLAppViewer::idle(), and idle_startup().

Here is the caller graph for this function:

BOOL LLViewerWindow::handleKey ( KEY  key,
MASK  mask 
)

Definition at line 2398 of file llviewerwindow.cpp.

References LLHoverView::cancelHover(), LLFocusMgr::childHasKeyboardFocus(), FALSE, LLView::focusNextRoot(), LLView::focusPrevRoot(), gChatBar, LLControlGroup::getBOOL(), LLChatBar::getCurrentChat(), LLToolMgr::getCurrentTool(), LLMenuGL::getHighlightedItem(), LLSingleton< LLToolMgr >::getInstance(), LLFocusMgr::getKeyboardFocus(), LLMenuGL::getKeyboardMode(), LLFocusMgr::getKeystrokesOnly(), LLStartUp::getStartupState(), LLFocusMgr::getTopCtrl(), gFloaterView, gFocusMgr, gGestureList, gGestureManager, gHoverView, gLoginMenuBarView, gMenuBarView, gMenuHolder, gSavedSettings, LLMenuBarGL::handleAcceleratorKey(), LLTool::handleKey(), LLView::handleKey(), LLViewerMenuHolderGL::hideMenus(), LLChatBar::inputEditorHasFocus(), LLMenuItemGL::isActive(), KEY_DOWN, KEY_ESCAPE, KEY_HOME, KEY_LEFT, KEY_PAGE_DOWN, KEY_PAGE_UP, KEY_RIGHT, KEY_TAB, KEY_UP, MASK_ALT, MASK_CONTROL, MASK_NONE, MASK_SHIFT, mRootView, mToolTip, mToolTipBlocked, NULL, LLFloaterEditUI::processKeystroke(), LLPanelLogin::refreshLocation(), LLView::sEditingUI, LLControlGroup::setBOOL(), LLFloaterView::setCycleMode(), LLMenuGL::setKeyboardMode(), LLFocusMgr::setTopCtrl(), LLHoverView::setTyping(), LLView::setVisible(), STATE_LOGIN_CLEANUP, toggle_debug_menus(), LLGestureList::trigger(), trigger_hippo_bug(), LLGestureManager::triggerGesture(), and TRUE.

Referenced by LLViewerKeyboard::handleKey().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLViewerWindow::handleScrollWheel ( S32  clicks  ) 

void LLViewerWindow::setNormalControlsVisible ( BOOL  visible  ) 

Definition at line 2186 of file llviewerwindow.cpp.

References gAgent, LLAgent::getGodLevel(), gMenuBarView, GOD_NOT, gStatusBar, LLAppViewer::instance(), LLAppViewer::isInProductionGrid(), LLView::setEnabled(), setMenuBackgroundColor(), LLMenuGL::setVisible(), and LLView::setVisible().

Referenced by idle_startup(), and reset_login().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLViewerWindow::setMenuBackgroundColor ( bool  god_mode = false,
bool  dev_grid = false 
)

Definition at line 2211 of file llviewerwindow.cpp.

References gColors, LLControlGroup::getColor(), gMenuBarView, gStatusBar, LLAppViewer::instance(), LLPanel::setBackgroundColor(), and LLMenuGL::setBackgroundColor().

Referenced by init_menus(), LLPanelLogin::loadLoginPage(), set_god_level(), and setNormalControlsVisible().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLViewerWindow::setKeyboardFocus ( LLUICtrl new_focus  ) 

Definition at line 4683 of file llviewerwindow.cpp.

References gFocusMgr, and LLFocusMgr::setKeyboardFocus().

Referenced by LLAgent::changeCameraToCustomizeAvatar(), LLAgent::changeCameraToMouselook(), LLFolderView::draw(), LLFolderViewItem::handleHover(), and LLFolderView::handleKeyHere().

Here is the call graph for this function:

Here is the caller graph for this function:

LLUICtrl * LLViewerWindow::getKeyboardFocus (  ) 

Definition at line 4688 of file llviewerwindow.cpp.

References LLFocusMgr::getKeyboardFocus(), and gFocusMgr.

Here is the call graph for this function:

BOOL LLViewerWindow::hasKeyboardFocus ( const LLUICtrl possible_focus  )  const

Definition at line 4693 of file llviewerwindow.cpp.

References LLFocusMgr::getKeyboardFocus(), and gFocusMgr.

Referenced by LLFolderView::draw().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLViewerWindow::childHasKeyboardFocus ( const LLView parent  )  const

Definition at line 4698 of file llviewerwindow.cpp.

References LLFocusMgr::childHasKeyboardFocus(), and gFocusMgr.

Referenced by LLFolderView::handleKeyHere(), and LLFolderView::removeSelectedItems().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLViewerWindow::setMouseCapture ( LLMouseHandler new_captor  ) 

LLMouseHandler * LLViewerWindow::getMouseCaptor (  )  const

Definition at line 4708 of file llviewerwindow.cpp.

References LLFocusMgr::getMouseCapture(), and gFocusMgr.

Here is the call graph for this function:

void LLViewerWindow::setTopCtrl ( LLUICtrl new_top  ) 

void LLViewerWindow::reshape ( S32  width,
S32  height 
)

void LLViewerWindow::sendShapeToSim (  ) 

void LLViewerWindow::draw ( void   ) 

void LLViewerWindow::updateDebugText (  ) 

Definition at line 650 of file llviewerwindow.cpp.

References mDebugText, and LLDebugText::update().

Referenced by render_ui_and_swap().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLViewerWindow::drawDebugText (  ) 

Definition at line 2244 of file llviewerwindow.cpp.

References LLGLImmediate::color4f(), LLDebugText::draw(), LLGLImmediate::flush(), gGL, mDebugText, mDisplayScale, LLVector2::mV, LLGLImmediate::popMatrix(), LLGLImmediate::pushMatrix(), VX, and VY.

Referenced by render_ui_and_swap().

Here is the call graph for this function:

Here is the caller graph for this function:

static void LLViewerWindow::loadUserImage ( void **  cb_data,
const LLUUID uuid 
) [static]

void LLViewerWindow::movieSize ( S32  new_width,
S32  new_height 
) [static]

BOOL LLViewerWindow::saveSnapshot ( const LLString filename,
S32  image_width,
S32  image_height,
BOOL  show_ui = TRUE,
BOOL  do_rebuild = FALSE,
ESnapshotType  type = SNAPSHOT_TYPE_COLOR 
)

Definition at line 4210 of file llviewerwindow.cpp.

References FALSE, llendl, llinfos, llwarns, rawSnapshot(), and TRUE.

Referenced by process_alert_core(), and LLAppViewer::saveFinalSnapshot().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLViewerWindow::rawSnapshot ( LLImageRaw raw,
S32  image_width,
S32  image_height,
BOOL  keep_window_aspect = TRUE,
BOOL  is_texture = FALSE,
BOOL  show_ui = TRUE,
BOOL  do_rebuild = FALSE,
ESnapshotType  type = SNAPSHOT_TYPE_COLOR,
S32  max_size = MAX_IMAGE_SIZE 
)

Definition at line 4382 of file llviewerwindow.cpp.

References LLRenderTarget::allocate(), LLRenderTarget::bindTarget(), display(), F32_to_U8(), FALSE, LLRenderTarget::flush(), gDisplaySwapBuffers, LLControlGroup::getBOOL(), LLImageBase::getData(), LLCamera::getFar(), LLImageBase::getHeight(), LLRectBase< Type >::getHeight(), LLSingleton< LLViewerCamera >::getInstance(), LLCamera::getNear(), LLImageBase::getWidth(), LLRectBase< Type >::getWidth(), gGLManager, gObjectList, gPickTransparent, gPipeline, gSavedSettings, LLPipeline::hasRenderDebugFeatureMask(), i, initFonts(), LLImageBase::isBufferInvalid(), llabs(), llceil(), llclamp(), llfloor(), llmax(), llmin(), LLGLManager::mHasFramebufferObject, mWindowRect, LLPipeline::RENDER_DEBUG_FEATURE_UI, render_ui_and_swap(), render_ui_and_swap_if_needed(), LLViewerObjectList::renderObjectsForSelect(), LLPipeline::resetDrawOrders(), LLHUDText::reshape(), LLImageRaw::resize(), S32, LLImageRaw::scale(), send_agent_pause(), send_agent_resume(), LLRectBase< Type >::set(), setCursor(), setup3DRender(), setupViewport(), LLViewerCamera::setZoomParameters(), SNAPSHOT_TYPE_COLOR, SNAPSHOT_TYPE_DEPTH, SNAPSHOT_TYPE_OBJECT_ID, LLPipeline::sShowHUDAttachments, stop_glerror, LLPipeline::toggleRenderDebugFeature(), TRUE, UI_CURSOR_ARROW, and UI_CURSOR_WAIT.

Referenced by LLFileTakeSnapshotToDisk::handleEvent(), LLFloaterCustomize::onBtnSnapshot(), LLFloaterAuction::onClickSnapshot(), LLSnapshotLivePreview::onIdle(), saveSnapshot(), and LLFloaterReporter::takeScreenshot().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLViewerWindow::thumbnailSnapshot ( LLImageRaw raw,
S32  preview_width,
S32  preview_height,
BOOL  show_ui,
BOOL  do_rebuild,
ESnapshotType  type 
)

BOOL LLViewerWindow::saveImageNumbered ( LLImageRaw raw,
const LLString extension = LLString() 
)

void LLViewerWindow::playSnapshotAnimAndSound (  ) 

void LLViewerWindow::renderSelections ( BOOL  for_gl_pick,
BOOL  pick_parcel_walls,
BOOL  for_hud 
)

void LLViewerWindow::performPick (  ) 

void LLViewerWindow::hitObjectOrLandGlobalAsync ( S32  x,
S32  y_from_bot,
MASK  mask,
void(*)(S32 x, S32 y, MASK mask)  callback,
BOOL  pick_transparent = FALSE,
BOOL  pick_parcel_walls = FALSE 
)

Definition at line 3382 of file llviewerwindow.cpp.

References DEG_TO_RAD, LLWindow::delayInputProcessing(), FALSE, FOR_SELECTION, gDisplaySwapBuffers, LLSingleton< LLViewerCamera >::getInstance(), LLView::getVisible(), gFloaterTools, gGLViewport, gLastHitNonFloraObjectFace, gLastHitObjectFace, gLastHitParcelWall, gNoRender, gObjectList, gPickTransparent, gUseGLPick, llround(), mDisplayScale, mouseDirectionGlobal(), mPickCallback, mPickMask, mPickOffset, mPickPending, mPickPoint, LLVector2::mV, mWindow, PICK_DIAMETER, PICK_HALF_WIDTH, render_ui_and_swap_if_needed(), LLViewerObjectList::renderObjectsForSelect(), S32, LLCoord::set(), LLCamera::setAspect(), LLCamera::setFar(), LLCamera::setNear(), LLUUID::setNull(), LLCoordFrame::setOrigin(), LLCoordFrame::setOriginAndLookAt(), LLViewerCamera::setPerspective(), setupViewport(), LLCamera::setView(), LLDrawPoolAlpha::sShowDebugAlpha, stop_glerror, TRUE, LLViewerCamera::updateFrustumPlanes(), VX, VY, and LLVector3d::zeroVec().

Referenced by LLToolDragAndDrop::dragOrDrop3D(), LLToolPipette::handleHover(), LLToolPipette::handleMouseDown(), LLToolPie::handleMouseDown(), LLToolObjPicker::handleMouseDown(), LLToolIndividual::handleMouseDown(), LLToolGrab::handleMouseDown(), LLToolCamera::handleMouseDown(), LLToolFace::handleMouseDown(), LLToolCompRotate::handleMouseDown(), LLToolCompCreate::handleMouseDown(), LLToolCompScale::handleMouseDown(), LLToolCompTranslate::handleMouseDown(), LLToolCompInspect::handleMouseDown(), LLToolPie::handleRightMouseDown(), hitObjectOrLandGlobalImmediate(), and LLHoverView::updateHover().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLViewerWindow::hitObjectOrLandGlobalImmediate ( S32  x,
S32  y,
void(*)(S32 x, S32 y, MASK mask)  callback,
BOOL  pick_transparent 
)

Definition at line 3731 of file llviewerwindow.cpp.

References LLKeyboard::currentMask(), gKeyboard, gNoRender, hitObjectOrLandGlobalAsync(), NULL, performPick(), and TRUE.

Referenced by LLToolDragAndDrop::dragOrDrop3D(), and LLToolPlacer::raycastForNewObjPos().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLViewerWindow::hitUIElementAsync ( S32  x,
S32  y_from_bot,
MASK  mask,
void(*)(S32 x, S32 y, MASK mask)  callback 
)

void LLViewerWindow::hitUIElementImmediate ( S32  x,
S32  y,
void(*)(S32 x, S32 y, MASK mask)  callback 
)

Definition at line 3482 of file llviewerwindow.cpp.

References LLKeyboard::currentMask(), gKeyboard, gNoRender, hitUIElementAsync(), NULL, performPick(), and TRUE.

Here is the call graph for this function:

LLViewerObject * LLViewerWindow::getObjectUnderCursor ( const F32  depth = 16.0f  ) 

LLViewerObject * LLViewerWindow::lastObjectHit (  ) 

LLViewerObject * LLViewerWindow::lastNonFloraObjectHit (  ) 

Definition at line 4779 of file llviewerwindow.cpp.

References LLViewerObjectList::findObject(), and gObjectList.

Referenced by LLToolDragAndDrop::pickCallback().

Here is the call graph for this function:

Here is the caller graph for this function:

const LLVector3d & LLViewerWindow::lastObjectHitOffset (  ) 

Definition at line 4773 of file llviewerwindow.cpp.

Referenced by LLHoverView::pickCallback().

Here is the caller graph for this function:

const LLVector3d & LLViewerWindow::lastNonFloraObjectHitOffset (  ) 

Definition at line 4784 of file llviewerwindow.cpp.

Referenced by handle_sit_or_stand().

Here is the caller graph for this function:

BOOL LLViewerWindow::mousePointOnLandGlobal ( const S32  x,
const S32  y,
LLVector3d land_pos_global 
)

BOOL LLViewerWindow::mousePointOnPlaneGlobal ( LLVector3d point,
const S32  x,
const S32  y,
const LLVector3d plane_point,
const LLVector3 plane_normal 
)

Definition at line 3926 of file llviewerwindow.cpp.

References gAgent, LLAgent::getCameraPositionGlobal(), llabs(), LLVector3d::magVec(), mouseDirectionGlobal(), LLVector3d::normVec(), and LLVector3d::setVec().

Referenced by LLAgent::calcFocusOffset(), and LLManip::getMousePointOnPlaneGlobal().

Here is the call graph for this function:

Here is the caller graph for this function:

LLVector3d LLViewerWindow::clickPointInWorldGlobal ( const S32  x,
const S32  y_from_bot,
LLViewerObject clicked_object 
) const

Definition at line 3343 of file llviewerwindow.cpp.

References gAgent, LLAgent::getCameraPositionGlobal(), LLViewerObject::getPositionGlobal(), LLVector3d::magVec(), mouseDirectionGlobal(), and LLVector3d::setVec().

Referenced by clickPointOnSurfaceGlobal(), and LLToolGrab::handleHoverActive().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLViewerWindow::clickPointOnSurfaceGlobal ( const S32  x,
const S32  y,
LLViewerObject objectp,
LLVector3d point_global 
) const

Definition at line 3364 of file llviewerwindow.cpp.

References clickPointInWorldGlobal(), FALSE, LLViewerObject::getPositionGlobal(), llendl, and llinfos.

Here is the call graph for this function:

void LLViewerWindow::dumpState (  ) 

Definition at line 4851 of file llviewerwindow.cpp.

References LLWindow::getMinimized(), LLWindow::getVisible(), llendl, llinfos, mActive, mWindow, and S32.

Here is the call graph for this function:

void LLViewerWindow::toggleFullscreen ( BOOL  show_progress  ) 

Definition at line 4971 of file llviewerwindow.cpp.

References FALSE, LLWindow::getFullscreen(), mShowFullscreenProgress, mWantFullscreen, mWindow, and TRUE.

Referenced by LLViewFullscreen::handleEvent(), LLPanelLogin::handleKeyHere(), LLAppViewer::initWindow(), and load_url_local_file().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLViewerWindow::checkSettings (  ) 

void LLViewerWindow::restartDisplay ( BOOL  show_progress_bar  ) 

Definition at line 5037 of file llviewerwindow.cpp.

References llendl, llinfos, restoreGL(), and stopGL().

Referenced by LLFloaterHardwareSettings::apply().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLViewerWindow::changeDisplaySettings ( BOOL  fullscreen,
LLCoordScreen  size,
BOOL  disable_vsync,
BOOL  show_progress_bar 
)

BOOL LLViewerWindow::getIgnoreDestroyWindow (  )  [inline]

Definition at line 272 of file llviewerwindow.h.

References mIgnoreActivate.

F32 LLViewerWindow::getDisplayAspectRatio (  )  const

Definition at line 5188 of file llviewerwindow.cpp.

References LLControlGroup::getBOOL(), LLControlGroup::getF32(), LLWindow::getFullscreen(), LLWindow::getNativeAspectRatio(), gSavedSettings, and mWindow.

Referenced by LLPanelDisplay::applyResolution(), idle_startup(), LLAgent::init(), LLPanelDisplay::postBuild(), and reshape().

Here is the call graph for this function:

Here is the caller graph for this function:

const LLVector2& LLViewerWindow::getDisplayScale (  )  const [inline]

void LLViewerWindow::calcDisplayScale (  ) 

void LLViewerWindow::drawPickBuffer (  )  const

LLAlertDialog * LLViewerWindow::alertXml ( const std::string &  xml_filename,
LLAlertDialog::alert_callback_t  callback = NULL,
void *  user_data = NULL 
)

Definition at line 5313 of file llviewerwindow.cpp.

Referenced by LLPanelEstateInfo::accessAddCore(), LLPanelEstateInfo::accessAddCore3(), LLPanelEstateInfo::accessCoreConfirm(), LLPanelEstateInfo::accessRemoveCore(), LLPanelEstateInfo::accessRemoveCore2(), LLMuteList::add(), LLPanelEstateInfo::addAllowedGroup2(), LLToolBrushLand::alertNoTerraform(), LLPanelGroupMembersSubTab::apply(), LLPanelGroupGeneral::apply(), LLPanelGroup::apply(), LLFloaterCustomize::askToSaveAllIfDirty(), LLPanelGroupRoles::attemptTransition(), LLPanelGroup::attemptTransition(), auction_j2c_upload_done(), auction_tga_upload_done(), LLFloaterBuyCurrency::buyCurrency(), LLTaskInvFVBridge::buyItem(), LLFloaterBuyLand::buyLand(), callback_download_complete(), LLViewerParcelMgr::callbackDivideLand(), LLPanelClassified::callbackGotPriceForListing(), LLViewerParcelMgr::callbackJoinLand(), LLFloaterMute::callbackMuteByName(), LLScriptEdCore::canClose(), LLPreviewNotecard::canClose(), LLPreviewGesture::canClose(), LLFloaterBuyLandUI::canClose(), changeDisplaySettings(), LLToolDragAndDrop::commitGiveInventoryCategory(), LLConfirmationManager::confirm(), LLPanelGridTools::confirmKick(), LLPanelFriends::confirmModifyRights(), create_new_landmark(), LLToolDragAndDrop::dad3dWearCategory(), LLToolDragAndDrop::dad3dWearItem(), LLViewerParcelMgr::deedLandToGroup(), LLFloaterWindLight::deleteAlertCallback(), LLFloaterWater::deleteAlertCallback(), derez_objects(), dialog_choose_gender_first_start(), LLFloaterSellLandUI::doSellLand(), draw(), LLInventoryModel::fetchDescendentsResponder::error(), LLAssetUploadResponder::error(), LLAppViewer::forceDisconnect(), LLToolDragAndDrop::giveInventory(), LLToolDragAndDrop::giveInventoryCategory(), handle_give_money_dialog(), handle_leave_group(), handle_save_to_xml(), handle_take(), LLPanelGroupRolesSubTab::handleActionCheck(), LLPanelGroupTab::handleClickHelp(), LLToolDragAndDrop::handleCopyProtectedCategory(), LLToolDragAndDrop::handleCopyProtectedItem(), LLPanelEstateCovenant::handleDragAndDrop(), LLToolDragAndDrop::handleDropTextureProtections(), LLPromptShowFile::handleEvent(), LLPromptShowURL::handleEvent(), LLWorldCreateLandmark::handleEvent(), LLWorldSetBusy::handleEvent(), LLToolsLink::handleEvent(), LLObjectReturn::handleEvent(), LLAvatarGiveCard::handleEvent(), LLAvatarEject::handleEvent(), LLAvatarFreeze::handleEvent(), LLEmptyLostAndFound::handleEvent(), LLEmptyTrash::handleEvent(), LLPanelGroupRoles::handleNotifyCallback(), idle_startup(), LLAppViewer::init(), LLVOTree::initClass(), LLVOGrass::initClass(), join_group_callback(), LLPanelGroups::leave(), LLWLDayCycle::loadDayCycle(), LLFloaterOpenObject::moveToInventory(), LLFloaterWindLight::newPromptCallback(), LLFloaterWater::newPromptCallback(), LLFloaterURLEntry::onBtnClear(), LLPanelEditWearable::onBtnCreateNew(), LLScriptEdCore::onBtnHelp(), LLFloaterLandmark::onBtnNew(), LLFloaterAnimPreview::onBtnOK(), LLScriptEdCore::onBtnUndoChanges(), LLFloaterTOS::onCancel(), LLPanelEstateInfo::onClickAddAllowedAgent(), LLPanelEstateInfo::onClickAddAllowedGroup(), LLPanelEstateInfo::onClickAddBannedAgent(), LLPanelEstateInfo::onClickAddEstateManager(), LLPanelPlace::onClickAuction(), LLPanelRegionTerrainInfo::onClickBakeTerrain(), LLPanelLandGeneral::onClickBuyPass(), LLPanelWeb::onClickClearCache(), LLPanelNetwork::onClickClearCache(), LLPanelWeb::onClickClearCookies(), LLPanelEvent::onClickCreateEvent(), LLPanelPermissions::onClickDeedToGroup(), LLPanelAvatarPicks::onClickDelete(), LLPanelAvatarClassified::onClickDelete(), LLPanelObjectTools::onClickDeleteAllOwnedBy(), LLPanelObjectTools::onClickDeleteAllScriptedOwnedBy(), LLPanelObjectTools::onClickDeletePublicOwnedBy(), LLPanelGridTools::onClickFlushMapVisibilityCaches(), LLFloaterWindLight::onClickHelp(), LLFloaterWater::onClickHelp(), LLPanelRegionInfo::onClickHelp(), LLFloaterHardwareSettings::onClickHelp(), LLFloaterEnvSettings::onClickHelp(), LLFloaterDayCycle::onClickHelp(), LLPanelGroupGeneral::onClickJoin(), LLPanelRegionGeneralInfo::onClickKickAll(), LLWebBrowserCtrl::onClickLinkHref(), LLPanelAvatarClassified::onClickNew(), LLPanelLogin::onClickNewAccount(), LLPanelAvatarSecondLife::onClickPartnerHelp(), LLPanelAvatarSecondLife::onClickPublishHelp(), LLPanelLandOptions::onClickPublishHelp(), LLPanelFriends::onClickRemove(), LLPanelNetwork::onClickResetCache(), LLPanelMsgs::onClickResetDialogs(), LLPanelRegionDebugInfo::onClickRestart(), LLPanelLandObjects::onClickReturnGroupObjects(), LLPanelLandObjects::onClickReturnOtherObjects(), LLPanelLandObjects::onClickReturnOwnerList(), LLPanelLandObjects::onClickReturnOwnerObjects(), LLPanelRegionDebugInfo::onClickReturnScriptedAll(), LLPanelRegionDebugInfo::onClickReturnScriptedOtherLand(), LLFloaterReporter::onClickSend(), LLFloaterPostcard::onClickSend(), LLPanelGroupNotices::onClickSendMessage(), LLPanelPick::onClickSet(), LLPanelLandOptions::onClickSet(), LLPanelNetwork::onClickSetCache(), LLPanelMsgs::onClickSkipDialogs(), LLPanelLandGeneral::onClickStartAuction(), LLPanelGroupVoting::impl::onClickSubmitProposal(), LLPanelClassified::onClickUpdate(), LLPanelRegionTerrainInfo::onClickUploadRaw(), LLPanelGroupVoting::impl::onClickViewHistoryItem(), LLPanelGroupVoting::impl::onClickViewProposalItem(), LLPanelAvatarWeb::onClickWebProfileHelp(), LLPanelLandOptions::onCommitAny(), LLPanelPermissions::onCommitClickAction(), LLPanelNetwork::onCommitPort(), LLFloaterWindLight::onDeletePreset(), LLFloaterWater::onDeletePreset(), LLFloaterTopObjects::onDisableAll(), LLPreviewTexture::onFileLoadedForSave(), LLPanelEstateInfo::onKickUserCommit(), LLPanelEstateCovenant::onLoadComplete(), LLPanelDisplay::onOpenHelp(), LLLiveLSLEditor::onReset(), LLFloaterTopObjects::onReturnAll(), LLLiveLSLEditor::onRunningCheckboxClicked(), LLLiveLSLEditor::onSaveBytecodeComplete(), LLPreviewLSL::onSaveBytecodeComplete(), LLFloaterCompileQueue::onSaveBytecodeComplete(), LLPreviewLSL::onSaveComplete(), LLPreviewNotecard::onSaveComplete(), LLPreviewGesture::onSaveComplete(), LLFloaterPostProcess::onSaveEffect(), LLWearable::onSaveNewAssetComplete(), LLFloaterWindLight::onSavePreset(), LLFloaterWater::onSavePreset(), LLLiveLSLEditor::onSaveTextComplete(), LLFloaterCompileQueue::onSaveTextComplete(), LLWearableBridge::openItem(), LLPanelDirPeople::performQuery(), LLViewerRequiredVoiceVersion::post(), process_alert_core(), process_teleport_failed(), LLAvatarTracker::processChange(), LLGroupMgr::processCreateGroupReply(), LLFloaterReporter::processRegionInfo(), queue_actions(), LLTaskInvFVBridge::removeBatch(), LLTaskInvFVBridge::removeItem(), LLAgent::removeWearable(), request_friendship(), LLPanelFriends::requestFriendshipDialog(), LLPanelEstateCovenant::resetCovenantID(), rez_attachment(), LLLiveLSLEditor::saveIfNeeded(), LLPreviewGesture::saveIfNeeded(), LLWearable::saveNewAsset(), LLSnapshotLivePreview::saveTexture(), LLSelectMgr::selectDelete(), LLViewerParcelMgr::sendParcelDeed(), LLViewerParcelMgr::sendParcelGodForceOwner(), LLViewerParcelMgr::sendParcelGodForceToContent(), LLViewerParcelMgr::sendParcelRelease(), LLPanelEstateInfo::sendUpdate(), LLPanelRegionGeneralInfo::sendUpdate(), LLViewerParcelMgr::setupParcelBuy(), LLAgent::setWearable(), LLFloaterOpenObject::show(), LLFloaterHtmlHelp::show(), LLFloaterBuyContents::show(), LLFloaterBuy::show(), show_buy_currency(), show_first_run_dialog(), LLViewerTextEditor::showCopyToInvDialog(), LLFloaterReporter::showFromMenu(), LLFloaterIMPanel::showSessionEventError(), LLFloaterIMPanel::showSessionForceClose(), LLFloaterIMPanel::showSessionStartError(), LLViewerTextEditor::showUnsavedAlertDialog(), LLViewerParcelMgr::startDeedLandToGroup(), LLViewerParcelMgr::startDivideLand(), LLViewerParcelMgr::startJoinLand(), LLViewerParcelMgr::startReleaseLand(), LLPanelGroupInvite::impl::submitInvitations(), LLPanelClassified::titleIsValid(), LLViewerParcelMedia::update(), update_app(), upload_done_callback(), upload_error(), upload_new_resource(), upload_pick(), LLFloaterPostcard::uploadCallback(), LLFloaterReporter::uploadDoneCallback(), LLAssetUploadResponder::uploadFailure(), use_circuit_callback(), LLAppViewer::userQuit(), LLFloaterReporter::validateReport(), LLPanelRegionTextureInfo::validateTextureSizes(), warn_move_inventory(), wear_inventory_category_on_avatar_step2(), and LLWearableBridge::wearOnAvatar().

LLAlertDialog * LLViewerWindow::alertXml ( const std::string &  xml_filename,
const LLString::format_map_t args,
LLAlertDialog::alert_callback_t  callback = NULL,
void *  user_data = NULL 
)

Definition at line 5320 of file llviewerwindow.cpp.

References LLAgent::cameraMouselook(), LLAgent::changeCameraToDefault(), gAgent, gNoRender, llendl, llinfos, NULL, and LLAlertDialog::showXml().

Here is the call graph for this function:

LLAlertDialog * LLViewerWindow::alertXmlEditText ( const std::string &  xml_filename,
const LLString::format_map_t args,
LLAlertDialog::alert_callback_t  callback,
void *  user_data,
LLAlertDialog::alert_text_callback_t  text_callback,
void *  text_data,
const LLString::format_map_t edit_args = LLString::format_map_t(),
BOOL  draw_asterixes = FALSE 
)

bool LLViewerWindow::alertCallback ( S32  modal  )  [static]

Definition at line 5292 of file llviewerwindow.cpp.

References LLAgent::cameraMouselook(), LLAgent::changeCameraToDefault(), gAgent, and gNoRender.

Referenced by LLViewerWindow().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLViewerWindow::switchToolByMask ( MASK  mask  )  [private]

void LLViewerWindow::destroyWindow (  )  [private]

Definition at line 4641 of file llviewerwindow.cpp.

References LLWindowManager::destroyWindow(), mWindow, and NULL.

Referenced by ~LLViewerWindow().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLViewerWindow::drawMouselookInstructions (  )  [private]

void LLViewerWindow::stopGL ( BOOL  save_state = TRUE  )  [private]

void LLViewerWindow::restoreGL ( const LLString progress_message = LLString::null  )  [private]

void LLViewerWindow::initFonts ( F32  zoom_factor = 1.f  )  [private]

Definition at line 4951 of file llviewerwindow.cpp.

References LLFontGL::destroyGL(), gDirUtilp, LLDir::getAppRODataDir(), LLControlGroup::getF32(), LLControlGroup::getString(), gSavedSettings, LLFontGL::initDefaultFonts(), mDisplayScale, LLVector2::mV, VX, and VY.

Referenced by calcDisplayScale(), LLViewerWindow(), rawSnapshot(), and restoreGL().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLViewerWindow::analyzeHit ( S32  x,
S32  y_from_bot,
LLViewerObject objectp,
U32  te_offset,
LLUUID hit_object_id_p,
S32 hit_face_p,
LLVector3d hit_pos_p,
BOOL hit_land,
F32 hit_u_coord,
F32 hit_v_coord 
) [private]


Member Data Documentation

Definition at line 321 of file llviewerwindow.h.

Referenced by dumpState(), getActive(), and handleActivate().

Definition at line 323 of file llviewerwindow.h.

Referenced by changeDisplaySettings(), checkSettings(), and toggleFullscreen().

Definition at line 332 of file llviewerwindow.h.

Referenced by getMouseVelocityStat(), and handlePerFrameHover().

Definition at line 334 of file llviewerwindow.h.

Referenced by getRightMouseDown(), handleRightMouseDown(), and handleRightMouseUp().

Definition at line 339 of file llviewerwindow.h.

Referenced by handleKey(), handleMouseDown(), handleMouseMove(), and handlePerFrameHover().

Definition at line 340 of file llviewerwindow.h.

Referenced by handleMouseMove(), and handlePerFrameHover().

Definition at line 342 of file llviewerwindow.h.

Referenced by handleMouseLeave(), handleMouseMove(), and handlePerFrameHover().

Definition at line 343 of file llviewerwindow.h.

Definition at line 346 of file llviewerwindow.h.

Definition at line 347 of file llviewerwindow.h.

Definition at line 348 of file llviewerwindow.h.

Referenced by handlePerFrameHover().

Definition at line 350 of file llviewerwindow.h.

Definition at line 353 of file llviewerwindow.h.

Referenced by hitObjectOrLandGlobalAsync(), hitUIElementAsync(), and performPick().

void(* LLViewerWindow::mPickCallback)(S32 x, S32 y, MASK mask) [protected]

Definition at line 357 of file llviewerwindow.h.

Referenced by draw(), and LLViewerWindow().

Definition at line 359 of file llviewerwindow.h.

Referenced by changeDisplaySettings(), getIgnoreDestroyWindow(), and handleActivate().

Definition at line 360 of file llviewerwindow.h.

Referenced by drawPickBuffer(), LLViewerWindow(), performPick(), and ~LLViewerWindow().

Definition at line 362 of file llviewerwindow.h.

Referenced by getInitAlert(), and LLViewerWindow().

Definition at line 364 of file llviewerwindow.h.

Referenced by drawDebugText(), LLViewerWindow(), updateDebugText(), and ~LLViewerWindow().

char LLViewerWindow::sSnapshotBaseName [static, protected]

Definition at line 367 of file llviewerwindow.h.

Referenced by LLViewerWindow(), and saveImageNumbered().

char LLViewerWindow::sSnapshotDir [static, protected]

Definition at line 368 of file llviewerwindow.h.

Referenced by LLViewerWindow(), and saveImageNumbered().

char LLViewerWindow::sMovieBaseName [static, protected]

Definition at line 370 of file llviewerwindow.h.

Referenced by LLViewerWindow().


The documentation for this class was generated from the following files:

Generated on Fri May 16 09:35:07 2008 for SecondLife by  doxygen 1.5.5