LLWindow Class Reference

#include <llwindow.h>

Inheritance diagram for LLWindow:

Inheritance graph
[legend]
Collaboration diagram for LLWindow:

Collaboration graph
[legend]
List of all members.

Public Types

 SWAP_METHOD_UNDEFINED
 SWAP_METHOD_EXCHANGE
 SWAP_METHOD_COPY
enum  ESwapMethod { SWAP_METHOD_UNDEFINED, SWAP_METHOD_EXCHANGE, SWAP_METHOD_COPY }
enum  EFlags

Public Member Functions

virtual void show ()=0
virtual void hide ()=0
virtual void close ()=0
virtual BOOL getVisible ()=0
virtual BOOL getMinimized ()=0
virtual BOOL getMaximized ()=0
virtual BOOL maximize ()=0
BOOL getFullscreen ()
virtual BOOL getPosition (LLCoordScreen *position)=0
virtual BOOL getSize (LLCoordScreen *size)=0
virtual BOOL getSize (LLCoordWindow *size)=0
virtual BOOL setPosition (LLCoordScreen position)=0
virtual BOOL setSize (LLCoordScreen size)=0
virtual BOOL switchContext (BOOL fullscreen, LLCoordScreen size, BOOL disable_vsync)=0
virtual BOOL setCursorPosition (LLCoordWindow position)=0
virtual BOOL getCursorPosition (LLCoordWindow *position)=0
virtual void showCursor ()=0
virtual void hideCursor ()=0
virtual BOOL isCursorHidden ()=0
virtual void showCursorFromMouseMove ()=0
virtual void hideCursorUntilMouseMove ()=0
virtual void incBusyCount ()
virtual void decBusyCount ()
virtual void resetBusyCount ()
virtual S32 getBusyCount () const
virtual void setCursor (ECursorType cursor)=0
virtual ECursorType getCursor () const
virtual void captureMouse ()=0
virtual void releaseMouse ()=0
virtual void setMouseClipping (BOOL b)=0
virtual BOOL isClipboardTextAvailable ()=0
virtual BOOL pasteTextFromClipboard (LLWString &dst)=0
virtual BOOL copyTextToClipboard (const LLWString &src)=0
virtual void flashIcon (F32 seconds)=0
virtual F32 getGamma ()=0
virtual BOOL setGamma (const F32 gamma)=0
virtual BOOL restoreGamma ()=0
virtual ESwapMethod getSwapMethod ()
virtual void gatherInput ()=0
virtual void delayInputProcessing ()=0
virtual void swapBuffers ()=0
virtual void bringToFront ()=0
virtual void focusClient ()
virtual S32 stat (const char *file_name, struct stat *stat_info)=0
virtual BOOL sendEmail (const char *address, const char *subject, const char *body_text, const char *attachment=NULL, const char *attachment_displayed_name=NULL)=0
virtual BOOL convertCoords (LLCoordScreen from, LLCoordWindow *to)=0
virtual BOOL convertCoords (LLCoordWindow from, LLCoordScreen *to)=0
virtual BOOL convertCoords (LLCoordWindow from, LLCoordGL *to)=0
virtual BOOL convertCoords (LLCoordGL from, LLCoordWindow *to)=0
virtual BOOL convertCoords (LLCoordScreen from, LLCoordGL *to)=0
virtual BOOL convertCoords (LLCoordGL from, LLCoordScreen *to)=0
virtual LLWindowResolutiongetSupportedResolutions (S32 &num_resolutions)=0
virtual F32 getNativeAspectRatio ()=0
virtual F32 getPixelAspectRatio ()=0
virtual void setNativeAspectRatio (F32 aspect)=0
F32 getJoystickAxis (U32 axis)
U8 getJoystickButton (U32 button)
void setCallbacks (LLWindowCallbacks *callbacks)
virtual void beforeDialog ()
virtual void afterDialog ()
virtual BOOL dialog_color_picker (F32 *r, F32 *g, F32 *b)
virtual voidgetPlatformWindow ()=0
virtual void allowLanguageTextInput (BOOL b)
virtual void setLanguageTextInput (const LLCoordGL &pos)
virtual void setStereoMode (S32 mode)
virtual S32 getStereoMode () const

Protected Member Functions

 LLWindow (BOOL fullscreen, U32 flags)
virtual ~LLWindow ()
virtual BOOL isValid ()
virtual BOOL canDelete ()
void handleUnicodeUTF16 (U16 utf16, MASK mask)

Protected Attributes

LLWindowCallbacksmCallbacks
BOOL mPostQuit
BOOL mFullscreen
S32 mFullscreenWidth
S32 mFullscreenHeight
S32 mFullscreenBits
S32 mFullscreenRefresh
LLWindowResolutionmSupportedResolutions
S32 mNumSupportedResolutions
ECursorType mCurrentCursor
BOOL mCursorHidden
S32 mBusyCount
BOOL mIsMouseClipping
ESwapMethod mSwapMethod
BOOL mHideCursorPermanent
U32 mFlags
F32 mJoyAxis [6]
U8 mJoyButtonState [16]
U16 mHighSurrogate
S32 mStereoMode

Static Protected Attributes

static LLWindowCallbacks sDefaultCallbacks

Friends

class LLWindowManager

Classes

struct  LLWindowResolution

Detailed Description

Definition at line 129 of file llwindow.h.


Member Enumeration Documentation

enum LLWindow::EFlags

Definition at line 143 of file llwindow.h.

enum LLWindow::ESwapMethod

Enumerator:
SWAP_METHOD_UNDEFINED 
SWAP_METHOD_EXCHANGE 
SWAP_METHOD_COPY 

Definition at line 137 of file llwindow.h.


Constructor & Destructor Documentation

LLWindow::LLWindow ( BOOL  fullscreen,
U32  flags 
) [protected]

Definition at line 231 of file llwindow.cpp.

References i, mJoyAxis, and mJoyButtonState.

virtual LLWindow::~LLWindow (  )  [inline, protected, virtual]

Definition at line 242 of file llwindow.h.


Member Function Documentation

virtual void LLWindow::afterDialog (  )  [inline, virtual]

Reimplemented in LLWindowMacOSX, and LLWindowSDL.

Definition at line 226 of file llwindow.h.

virtual void LLWindow::allowLanguageTextInput ( BOOL  b  )  [inline, virtual]

Reimplemented in LLWindowMacOSX, and LLWindowWin32.

Definition at line 235 of file llwindow.h.

Referenced by LLTextEditor::onFocusLost(), LLLineEditor::onFocusLost(), LLTextEditor::setFocus(), and LLLineEditor::setFocus().

virtual void LLWindow::beforeDialog (  )  [inline, virtual]

Reimplemented in LLWindowMacOSX, and LLWindowSDL.

Definition at line 225 of file llwindow.h.

virtual void LLWindow::bringToFront (  )  [pure virtual]

Implemented in LLWindowHeadless, LLWindowMacOSX, LLWindowSDL, and LLWindowWin32.

Referenced by LLViewerWindow::handleDataCopy().

virtual BOOL LLWindow::canDelete (  )  [inline, protected, virtual]

Definition at line 244 of file llwindow.h.

References TRUE.

virtual void LLWindow::captureMouse (  )  [pure virtual]

Implemented in LLWindowHeadless, LLWindowLinux, LLWindowMacOSX, LLWindowSDL, LLWindowSolaris, and LLWindowWin32.

Referenced by LLViewerWindow::handleMouseDown(), and LLViewerWindow::handleRightMouseDown().

virtual void LLWindow::close (  )  [pure virtual]

Implemented in LLWindowHeadless, LLWindowLinux, LLWindowMacOSX, LLWindowSDL, LLWindowSolaris, and LLWindowWin32.

Referenced by LLWindowManager::destroyWindow().

virtual BOOL LLWindow::convertCoords ( LLCoordGL  from,
LLCoordScreen to 
) [pure virtual]

Implemented in LLWindowHeadless, LLWindowLinux, LLWindowMacOSX, LLWindowSDL, LLWindowSolaris, and LLWindowWin32.

virtual BOOL LLWindow::convertCoords ( LLCoordScreen  from,
LLCoordGL to 
) [pure virtual]

Implemented in LLWindowHeadless, LLWindowLinux, LLWindowMacOSX, LLWindowSDL, LLWindowSolaris, and LLWindowWin32.

virtual BOOL LLWindow::convertCoords ( LLCoordGL  from,
LLCoordWindow to 
) [pure virtual]

Implemented in LLWindowHeadless, LLWindowLinux, LLWindowMacOSX, LLWindowSDL, LLWindowSolaris, and LLWindowWin32.

virtual BOOL LLWindow::convertCoords ( LLCoordWindow  from,
LLCoordGL to 
) [pure virtual]

Implemented in LLWindowHeadless, LLWindowLinux, LLWindowMacOSX, LLWindowSDL, LLWindowSolaris, and LLWindowWin32.

virtual BOOL LLWindow::convertCoords ( LLCoordWindow  from,
LLCoordScreen to 
) [pure virtual]

Implemented in LLWindowHeadless, LLWindowLinux, LLWindowMacOSX, LLWindowSDL, LLWindowSolaris, and LLWindowWin32.

virtual BOOL LLWindow::convertCoords ( LLCoordScreen  from,
LLCoordWindow to 
) [pure virtual]

Implemented in LLWindowHeadless, LLWindowLinux, LLWindowMacOSX, LLWindowSDL, LLWindowSolaris, and LLWindowWin32.

Referenced by LLScrollbar::draw(), LLButton::draw(), and LLUI::setCursorPositionScreen().

virtual BOOL LLWindow::copyTextToClipboard ( const LLWString src  )  [pure virtual]

Implemented in LLWindowHeadless, LLWindowLinux, LLWindowMacOSX, LLWindowSDL, LLWindowSolaris, and LLWindowWin32.

Referenced by cmd_get_key(), LLClipboard::copyFromSubstring(), LLFloaterAvatarList::onClickGetKey(), LLFloaterWorldMap::onCopySLURL(), LLItemBridge::performAction(), and LLFloaterAvatarList::processTrustNetReply().

void LLWindow::decBusyCount (  )  [virtual]

Definition at line 269 of file llwindow.cpp.

References mBusyCount.

Referenced by auction_j2c_upload_done(), auction_tga_upload_done(), LLLiveLSLEditor::closeIfNeeded(), LLPreviewLSL::closeIfNeeded(), LLInventoryModel::messageUpdateCore(), LLSnapshotLivePreview::onIdle(), LLPreviewLSL::onSaveComplete(), LLLiveLSLEditor::onSaveTextComplete(), process_derez_ack(), LLInventoryModel::processSaveAssetIntoInventory(), LLViewerObjectList::processUpdateCore(), and LLPreviewTexture::~LLPreviewTexture().

virtual void LLWindow::delayInputProcessing (  )  [pure virtual]

Implemented in LLWindowHeadless, LLWindowLinux, LLWindowMacOSX, LLWindowSDL, LLWindowSolaris, and LLWindowWin32.

Referenced by LLViewerWindow::hitObjectOrLandGlobalAsync().

virtual BOOL LLWindow::dialog_color_picker ( F32 r,
F32 g,
F32 b 
) [inline, virtual]

Reimplemented in LLWindowMacOSX, LLWindowSDL, and LLWindowWin32.

Definition at line 229 of file llwindow.h.

References FALSE.

Referenced by LLFloaterColorPicker::showUI().

virtual void LLWindow::flashIcon ( F32  seconds  )  [pure virtual]

Implemented in LLWindowHeadless, LLWindowLinux, LLWindowMacOSX, LLWindowSDL, LLWindowSolaris, and LLWindowWin32.

Referenced by process_improved_im().

virtual void LLWindow::focusClient (  )  [inline, virtual]

Reimplemented in LLWindowWin32.

Definition at line 198 of file llwindow.h.

Referenced by LLViewerWindow::focusClient().

virtual void LLWindow::gatherInput (  )  [pure virtual]

Implemented in LLWindowHeadless, LLWindowLinux, LLWindowMacOSX, LLWindowSDL, LLWindowSolaris, and LLWindowWin32.

Referenced by check_for_events().

virtual S32 LLWindow::getBusyCount (  )  const [inline, virtual]

Definition at line 177 of file llwindow.h.

References mBusyCount.

virtual ECursorType LLWindow::getCursor (  )  const [inline, virtual]

Reimplemented in LLWindowWin32.

Definition at line 181 of file llwindow.h.

References mCurrentCursor.

Referenced by LLInventoryPanel::handleHover().

virtual BOOL LLWindow::getCursorPosition ( LLCoordWindow position  )  [pure virtual]

Implemented in LLWindowHeadless, LLWindowLinux, LLWindowMacOSX, LLWindowSDL, LLWindowSolaris, and LLWindowWin32.

Referenced by LLScrollbar::draw(), LLButton::draw(), and LLViewerWindow::handlePerFrameHover().

BOOL LLWindow::getFullscreen (  )  [inline]

Reimplemented in LLWindowHeadless, LLWindowLinux, LLWindowMacOSX, LLWindowSDL, LLWindowSolaris, and LLWindowWin32.

Definition at line 156 of file llwindow.h.

References mFullscreen.

Referenced by LLViewerWindow::calcDisplayScale(), LLViewerWindow::changeDisplaySettings(), LLViewerWindow::checkSettings(), cleanup_saved_settings(), LLViewerWindow::getDisplayAspectRatio(), LLViewerWindow::getTargetWindow(), LLViewerWindow::handleActivate(), idle_startup(), LLToolBar::layoutButtons(), load_url_local_file(), LLViewerWindow::movieSize(), LLViewerWindow::reshape(), and LLViewerWindow::toggleFullscreen().

virtual F32 LLWindow::getGamma (  )  [pure virtual]

Implemented in LLWindowHeadless, LLWindowLinux, LLWindowMacOSX, LLWindowSDL, LLWindowSolaris, and LLWindowWin32.

Referenced by LLGammaListener::handleEvent().

F32 LLWindow::getJoystickAxis ( U32  axis  ) 

Definition at line 277 of file llwindow.cpp.

References mJoyAxis.

Referenced by LLFloaterJoystick::draw(), LLViewerJoystick::scanJoystick(), and LLViewerJoystick::updateCamera().

U8 LLWindow::getJoystickButton ( U32  button  ) 

Definition at line 286 of file llwindow.cpp.

References mJoyButtonState.

Referenced by LLViewerJoystick::scanJoystick().

virtual BOOL LLWindow::getMaximized (  )  [pure virtual]

Implemented in LLWindowHeadless, LLWindowLinux, LLWindowMacOSX, LLWindowSDL, LLWindowSolaris, and LLWindowWin32.

Referenced by LLViewerWindow::changeDisplaySettings(), cleanup_saved_settings(), and LLViewerWindow::reshape().

virtual BOOL LLWindow::getMinimized (  )  [pure virtual]

Implemented in LLWindowHeadless, LLWindowLinux, LLWindowMacOSX, LLWindowSDL, LLWindowSolaris, and LLWindowWin32.

Referenced by display(), display_startup(), LLViewerWindow::dumpState(), main_loop(), process_improved_im(), and process_keystrokes_async().

virtual F32 LLWindow::getNativeAspectRatio (  )  [pure virtual]

Implemented in LLWindowHeadless, LLWindowLinux, LLWindowMacOSX, LLWindowSDL, LLWindowSolaris, and LLWindowWin32.

Referenced by LLViewerWindow::getDisplayAspectRatio(), and LLPanelDisplay::onCommitAutoDetectAspect().

virtual F32 LLWindow::getPixelAspectRatio (  )  [pure virtual]

Implemented in LLWindowHeadless, LLWindowLinux, LLWindowMacOSX, LLWindowSDL, LLWindowSolaris, and LLWindowWin32.

Referenced by LLViewerWindow::calcDisplayScale(), LLViewerCamera::getPixelVectors(), and LLViewerWindow::LLViewerWindow().

virtual void* LLWindow::getPlatformWindow (  )  [pure virtual]

Implemented in LLWindowHeadless, LLWindowLinux, LLWindowMacOSX, LLWindowSDL, LLWindowSolaris, and LLWindowWin32.

Referenced by LLViewerWindow::getPlatformWindow(), and LLViewerWindow::handlePaint().

virtual BOOL LLWindow::getPosition ( LLCoordScreen position  )  [pure virtual]

Implemented in LLWindowHeadless, LLWindowLinux, LLWindowMacOSX, LLWindowSDL, LLWindowSolaris, and LLWindowWin32.

Referenced by LLViewerWindow::changeDisplaySettings(), cleanup_saved_settings(), and LLDynamicTexture::preRender().

virtual BOOL LLWindow::getSize ( LLCoordWindow size  )  [pure virtual]

Implemented in LLWindowHeadless, LLWindowLinux, LLWindowMacOSX, LLWindowSDL, LLWindowSolaris, and LLWindowWin32.

virtual BOOL LLWindow::getSize ( LLCoordScreen size  )  [pure virtual]

Implemented in LLWindowHeadless, LLWindowLinux, LLWindowMacOSX, LLWindowSDL, LLWindowSolaris, and LLWindowWin32.

Referenced by LLViewerWindow::changeDisplaySettings(), LLFloaterView::getNewFloaterPosition(), LLUI::getWindowSize(), LLViewerWindow::LLViewerWindow(), LLViewerWindow::movieSize(), LLMenuItemBranchDownGL::openMenu(), LLFloaterView::resetStartingFloaterPosition(), LLViewerWindow::reshape(), and LLComboBox::showList().

virtual S32 LLWindow::getStereoMode (  )  const [inline, virtual]

Definition at line 238 of file llwindow.h.

References mStereoMode.

virtual LLWindowResolution* LLWindow::getSupportedResolutions ( S32 num_resolutions  )  [pure virtual]

Implemented in LLWindowHeadless, LLWindowLinux, LLWindowMacOSX, LLWindowSDL, LLWindowSolaris, and LLWindowWin32.

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

virtual ESwapMethod LLWindow::getSwapMethod (  )  [inline, virtual]

Reimplemented in LLWindowMacOSX, LLWindowSDL, and LLWindowWin32.

Definition at line 193 of file llwindow.h.

References mSwapMethod.

virtual BOOL LLWindow::getVisible (  )  [pure virtual]

Implemented in LLWindowHeadless, LLWindowLinux, LLWindowMacOSX, LLWindowSDL, LLWindowSolaris, and LLWindowWin32.

Referenced by display(), display_startup(), LLViewerWindow::dumpState(), main_loop(), and process_keystrokes_async().

void LLWindow::handleUnicodeUTF16 ( U16  utf16,
MASK  mask 
) [protected]

Definition at line 308 of file llwindow.cpp.

References LLWindowCallbacks::handleUnicodeChar(), mCallbacks, mHighSurrogate, UTF16_IS_HIGH_SURROGATE, UTF16_IS_LOW_SURROGATE, and UTF16_SURROGATE_PAIR_TO_UTF32.

virtual void LLWindow::hide (  )  [pure virtual]

Implemented in LLWindowHeadless, LLWindowLinux, LLWindowMacOSX, LLWindowSDL, LLWindowSolaris, and LLWindowWin32.

virtual void LLWindow::hideCursor (  )  [pure virtual]

Implemented in LLWindowHeadless, LLWindowLinux, LLWindowMacOSX, LLWindowSDL, LLWindowSolaris, and LLWindowWin32.

Referenced by LLViewerWindow::hideCursor().

virtual void LLWindow::hideCursorUntilMouseMove (  )  [pure virtual]

Implemented in LLWindowHeadless, LLWindowLinux, LLWindowMacOSX, LLWindowSDL, LLWindowSolaris, and LLWindowWin32.

Referenced by LLLineEditor::addChar(), and LLTextEditor::handleUnicodeCharHere().

void LLWindow::incBusyCount (  )  [virtual]

Definition at line 263 of file llwindow.cpp.

References mBusyCount.

Referenced by add_object(), derez_objects(), LLToolDragAndDrop::dropObject(), LLSnapshotLivePreview::onIdle(), LLPreviewTexture::saveAs(), LLLiveLSLEditor::saveIfNeeded(), LLPreviewLSL::saveIfNeeded(), LLLiveLSLEditor::uploadAssetLegacy(), and LLPreviewLSL::uploadAssetLegacy().

virtual BOOL LLWindow::isClipboardTextAvailable (  )  [pure virtual]

Implemented in LLWindowHeadless, LLWindowLinux, LLWindowMacOSX, LLWindowSDL, LLWindowSolaris, and LLWindowWin32.

Referenced by LLClipboard::canPasteString().

virtual BOOL LLWindow::isCursorHidden (  )  [pure virtual]

Implemented in LLWindowHeadless, LLWindowLinux, LLWindowMacOSX, LLWindowSDL, LLWindowSolaris, and LLWindowWin32.

Referenced by LLViewerWindow::handlePerFrameHover().

virtual BOOL LLWindow::isValid (  )  [inline, protected, virtual]

Reimplemented in LLWindowMacOSX, LLWindowSDL, and LLWindowWin32.

Definition at line 243 of file llwindow.h.

References TRUE.

Referenced by LLWindowManager::createWindow().

virtual BOOL LLWindow::maximize (  )  [pure virtual]

Implemented in LLWindowHeadless, LLWindowLinux, LLWindowMacOSX, LLWindowSDL, LLWindowSolaris, and LLWindowWin32.

Referenced by LLViewerWindow::changeDisplaySettings().

virtual BOOL LLWindow::pasteTextFromClipboard ( LLWString dst  )  [pure virtual]

Implemented in LLWindowHeadless, LLWindowLinux, LLWindowMacOSX, LLWindowSDL, LLWindowSolaris, and LLWindowWin32.

Referenced by LLClipboard::getPasteWString().

virtual void LLWindow::releaseMouse (  )  [pure virtual]

Implemented in LLWindowHeadless, LLWindowLinux, LLWindowMacOSX, LLWindowSDL, LLWindowSolaris, and LLWindowWin32.

Referenced by LLViewerWindow::handleMouseUp(), and LLViewerWindow::handleRightMouseUp().

virtual void LLWindow::resetBusyCount (  )  [inline, virtual]

Definition at line 176 of file llwindow.h.

References mBusyCount.

Referenced by LLAgent::changeCameraToCustomizeAvatar(), LLAgent::changeCameraToMouselook(), LLAgent::changeCameraToThirdPerson(), idle_startup(), process_alert_core(), process_frozen_message(), and process_mean_collision_alert_message().

virtual BOOL LLWindow::restoreGamma (  )  [pure virtual]

Implemented in LLWindowHeadless, LLWindowLinux, LLWindowMacOSX, LLWindowSDL, LLWindowSolaris, and LLWindowWin32.

virtual BOOL LLWindow::sendEmail ( const char *  address,
const char *  subject,
const char *  body_text,
const char *  attachment = NULL,
const char *  attachment_displayed_name = NULL 
) [pure virtual]

Implemented in LLWindowHeadless, LLWindowLinux, LLWindowMacOSX, LLWindowSDL, LLWindowSolaris, and LLWindowWin32.

void LLWindow::setCallbacks ( LLWindowCallbacks callbacks  ) 

Definition at line 295 of file llwindow.cpp.

References gKeyboard, mCallbacks, and LLKeyboard::setCallbacks().

Referenced by LLViewerWindow::LLViewerWindow().

virtual void LLWindow::setCursor ( ECursorType  cursor  )  [pure virtual]

Implemented in LLWindowHeadless, LLWindowLinux, LLWindowMacOSX, LLWindowSDL, LLWindowSolaris, and LLWindowWin32.

Referenced by LLViewerTextEditor::handleHover(), LLView::handleHover(), LLToolSelectRect::handleHover(), LLToolSelectLand::handleHover(), LLToolPlacer::handleHover(), LLToolPie::handleHover(), LLToolObjPicker::handleHover(), LLToolDragAndDrop::handleHover(), LLToolBrushLand::handleHover(), LLTool::handleHover(), LLToolTexEyedropper::handleHover(), LLTextureCtrl::handleHover(), LLTextEditor::handleHover(), LLSlider::handleHover(), LLScrollbar::handleHover(), LLResizeHandle::handleHover(), LLResizeBar::handleHover(), LLModalDialog::handleHover(), LLMenuBarGL::handleHover(), LLPieMenu::handleHover(), LLMenuGL::handleHover(), LLMenuItemGL::handleHover(), LLManipScale::handleHover(), LLLineEditor::handleHover(), LLInventoryPanel::handleHover(), LLFloaterColorPicker::handleHover(), LLDragHandle::handleHover(), LLColorSwatchCtrl::handleHover(), LLButton::handleHover(), LLToolPie::handleMouseUp(), LLFloaterColorPicker::handleMouseUp(), idle_startup(), LLToolDragAndDrop::pickCallback(), LLViewerObjectList::processUpdateCore(), and LLViewerWindow::setCursor().

virtual BOOL LLWindow::setCursorPosition ( LLCoordWindow  position  )  [pure virtual]

Implemented in LLWindowHeadless, LLWindowLinux, LLWindowMacOSX, LLWindowSDL, LLWindowSolaris, and LLWindowWin32.

Referenced by LLUI::setCursorPositionScreen().

virtual BOOL LLWindow::setGamma ( const F32  gamma  )  [pure virtual]

Implemented in LLWindowHeadless, LLWindowLinux, LLWindowMacOSX, LLWindowSDL, LLWindowSolaris, and LLWindowWin32.

Referenced by LLGammaListener::handleEvent(), and LLViewerWindow::initBase().

virtual void LLWindow::setLanguageTextInput ( const LLCoordGL pos  )  [inline, virtual]

Reimplemented in LLWindowWin32.

Definition at line 236 of file llwindow.h.

Referenced by LLLineEditor::draw(), and LLTextEditor::drawCursor().

virtual void LLWindow::setMouseClipping ( BOOL  b  )  [pure virtual]

Implemented in LLWindowHeadless, LLWindowLinux, LLWindowMacOSX, LLWindowSDL, LLWindowSolaris, and LLWindowWin32.

Referenced by LLToolGun::handleDeselect(), LLViewerWindow::handleFocusLost(), LLViewerWindow::handleMouseDown(), LLViewerWindow::handleMouseUp(), LLViewerWindow::handleRightMouseDown(), LLViewerWindow::handleRightMouseUp(), and LLToolGun::handleSelect().

virtual void LLWindow::setNativeAspectRatio ( F32  aspect  )  [pure virtual]

Implemented in LLWindowHeadless, LLWindowLinux, LLWindowMacOSX, LLWindowSDL, LLWindowSolaris, and LLWindowWin32.

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

virtual BOOL LLWindow::setPosition ( LLCoordScreen  position  )  [pure virtual]

Implemented in LLWindowHeadless, LLWindowLinux, LLWindowMacOSX, LLWindowSDL, LLWindowSolaris, and LLWindowWin32.

Referenced by LLViewerWindow::changeDisplaySettings().

virtual BOOL LLWindow::setSize ( LLCoordScreen  size  )  [pure virtual]

Implemented in LLWindowHeadless, LLWindowLinux, LLWindowMacOSX, LLWindowSDL, LLWindowSolaris, and LLWindowWin32.

Referenced by LLViewerWindow::changeDisplaySettings(), and LLViewerWindow::movieSize().

virtual void LLWindow::setStereoMode ( S32  mode  )  [inline, virtual]

Definition at line 237 of file llwindow.h.

References mStereoMode.

virtual void LLWindow::show (  )  [pure virtual]

Implemented in LLWindowHeadless, LLWindowLinux, LLWindowMacOSX, LLWindowSDL, LLWindowSolaris, and LLWindowWin32.

Referenced by idle_startup().

virtual void LLWindow::showCursor (  )  [pure virtual]

Implemented in LLWindowHeadless, LLWindowLinux, LLWindowMacOSX, LLWindowSDL, LLWindowSolaris, and LLWindowWin32.

Referenced by LLViewerWindow::showCursor().

virtual void LLWindow::showCursorFromMouseMove (  )  [pure virtual]

Implemented in LLWindowHeadless, LLWindowLinux, LLWindowMacOSX, LLWindowSDL, LLWindowSolaris, and LLWindowWin32.

Referenced by LLViewerWindow::handleMouseMove(), LLTextEditor::onFocusLost(), and LLLineEditor::onFocusLost().

virtual S32 LLWindow::stat ( const char *  file_name,
struct stat *  stat_info 
) [pure virtual]

Implemented in LLWindowHeadless, LLWindowLinux, LLWindowMacOSX, LLWindowSDL, LLWindowSolaris, and LLWindowWin32.

Referenced by LLViewerWindow::saveImageNumbered(), and LLViewerWindow::saveMovieNumbered().

virtual void LLWindow::swapBuffers (  )  [pure virtual]

Implemented in LLWindowHeadless, LLWindowLinux, LLWindowMacOSX, LLWindowSDL, LLWindowSolaris, and LLWindowWin32.

Referenced by display_startup(), and render_ui_and_swap().

virtual BOOL LLWindow::switchContext ( BOOL  fullscreen,
LLCoordScreen  size,
BOOL  disable_vsync 
) [pure virtual]

Implemented in LLWindowHeadless, LLWindowLinux, LLWindowMacOSX, LLWindowSDL, LLWindowSolaris, and LLWindowWin32.

Referenced by LLViewerWindow::changeDisplaySettings().


Friends And Related Function Documentation

friend class LLWindowManager [friend]

Reimplemented in LLWindowMacOSX, LLWindowSDL, and LLWindowWin32.

Definition at line 279 of file llwindow.h.


Member Data Documentation

S32 LLWindow::mBusyCount [protected]

Definition at line 261 of file llwindow.h.

Referenced by decBusyCount(), getBusyCount(), incBusyCount(), and resetBusyCount().

LLWindowCallbacks* LLWindow::mCallbacks [protected]

Definition at line 249 of file llwindow.h.

Referenced by handleUnicodeUTF16(), and setCallbacks().

ECursorType LLWindow::mCurrentCursor [protected]

Definition at line 259 of file llwindow.h.

Referenced by getCursor().

BOOL LLWindow::mCursorHidden [protected]

Definition at line 260 of file llwindow.h.

U32 LLWindow::mFlags [protected]

Definition at line 265 of file llwindow.h.

BOOL LLWindow::mFullscreen [protected]

Definition at line 252 of file llwindow.h.

Referenced by getFullscreen().

S32 LLWindow::mFullscreenBits [protected]

Definition at line 255 of file llwindow.h.

S32 LLWindow::mFullscreenHeight [protected]

Definition at line 254 of file llwindow.h.

S32 LLWindow::mFullscreenRefresh [protected]

Definition at line 256 of file llwindow.h.

S32 LLWindow::mFullscreenWidth [protected]

Definition at line 253 of file llwindow.h.

BOOL LLWindow::mHideCursorPermanent [protected]

Definition at line 264 of file llwindow.h.

U16 LLWindow::mHighSurrogate [protected]

Definition at line 268 of file llwindow.h.

Referenced by handleUnicodeUTF16().

BOOL LLWindow::mIsMouseClipping [protected]

Definition at line 262 of file llwindow.h.

F32 LLWindow::mJoyAxis[6] [protected]

Definition at line 266 of file llwindow.h.

Referenced by getJoystickAxis(), and LLWindow().

U8 LLWindow::mJoyButtonState[16] [protected]

Definition at line 267 of file llwindow.h.

Referenced by getJoystickButton(), and LLWindow().

S32 LLWindow::mNumSupportedResolutions [protected]

Definition at line 258 of file llwindow.h.

BOOL LLWindow::mPostQuit [protected]

Definition at line 251 of file llwindow.h.

Referenced by LLWindowWin32::shouldPostQuit(), LLWindowSDL::shouldPostQuit(), and LLWindowMacOSX::shouldPostQuit().

S32 LLWindow::mStereoMode [protected]

Definition at line 269 of file llwindow.h.

Referenced by getStereoMode(), and setStereoMode().

LLWindowResolution* LLWindow::mSupportedResolutions [protected]

Definition at line 257 of file llwindow.h.

ESwapMethod LLWindow::mSwapMethod [protected]

Definition at line 263 of file llwindow.h.

Referenced by LLWindowWin32::getSwapMethod(), LLWindowSDL::getSwapMethod(), LLWindowMacOSX::getSwapMethod(), and getSwapMethod().

LLWindowCallbacks LLWindow::sDefaultCallbacks [static, protected]

Definition at line 246 of file llwindow.h.


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:12:03 2010 for Second Life Viewer by  doxygen 1.4.7