llfolderview.cpp File Reference

Implementation of the folder view collection of classes. More...

#include "llviewerprecompiledheaders.h"
#include "llfolderview.h"
#include <algorithm>
#include "llviewercontrol.h"
#include "lldbstrings.h"
#include "llfocusmgr.h"
#include "llfontgl.h"
#include "llgl.h"
#include "llglimmediate.h"
#include "llinventory.h"
#include "llcallbacklist.h"
#include "llinventoryclipboard.h"
#include "llinventoryview.h"
#include "llkeyboard.h"
#include "lllineeditor.h"
#include "llmenugl.h"
#include "llresmgr.h"
#include "llpreview.h"
#include "llscrollcontainer.h"
#include "lltooldraganddrop.h"
#include "llui.h"
#include "llviewerimage.h"
#include "llviewerimagelist.h"
#include "llviewerjointattachment.h"
#include "llviewermenu.h"
#include "lluictrlfactory.h"
#include "llviewerwindow.h"
#include "llvoavatar.h"
#include "llfloaterproperties.h"
#include "llagent.h"
#include "llappviewer.h"

Include dependency graph for llfolderview.cpp:

Go to the source code of this file.

Classes

class  LLSetItemSortFunction
class  LLCloseAllFoldersFunctor

Enumerations

enum  { SIGNAL_NO_KEYBOARD_FOCUS = 1, SIGNAL_KEYBOARD_FOCUS = 2 }

Functions

void delete_selected_item (void *user_data)
void copy_selected_item (void *user_data)
void open_selected_items (void *user_data)
void properties_selected_items (void *user_data)
void paste_items (void *user_data)
void renamer_focus_lost (LLFocusableElement *handler, void *user_data)

Variables

const S32 LEFT_PAD = 5
const S32 LEFT_INDENTATION = 13
const S32 ICON_PAD = 2
const S32 ICON_WIDTH = 16
const S32 TEXT_PAD = 1
const S32 ARROW_SIZE = 12
const S32 RENAME_WIDTH_PAD = 4
const S32 RENAME_HEIGHT_PAD = 6
const S32 AUTO_OPEN_STACK_DEPTH = 16
const S32 MIN_ITEM_WIDTH_VISIBLE = ICON_WIDTH + ICON_PAD + ARROW_SIZE + TEXT_PAD + 40
const S32 MINIMUM_RENAMER_WIDTH = 80
const F32 FOLDER_CLOSE_TIME_CONSTANT = 0.02f
const F32 FOLDER_OPEN_TIME_CONSTANT = 0.03f
const S32 MAX_FOLDER_ITEM_OVERLAP = 2


Detailed Description

Implementation of the folder view collection of classes.

LicenseInfo
firstyear=2001&license=viewergpl

Copyright (c) 2001-2008, Linden Research, Inc.

Second Life Viewer Source Code The source code in this file ("Source Code") is provided by Linden Lab to you under the terms of the GNU General Public License, version 2.0 ("GPL"), unless you have obtained a separate licensing agreement ("Other License"), formally executed by you and Linden Lab. Terms of the GPL can be found in doc/GPL-license.txt in this distribution, or online at http://secondlifegrid.net/programs/open_source/licensing/gplv2

There are special exceptions to the terms and conditions of the GPL as it is applied to this Source Code. View the full text of the exception in the file doc/FLOSS-exception.txt in this software distribution, or online at http://secondlifegrid.net/programs/open_source/licensing/flossexception

By copying, modifying or distributing this software, you acknowledge that you have read and understood your obligations described above, and agree to abide by those obligations.

ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, COMPLETENESS OR PERFORMANCE. $/LicenseInfo$

Definition in file llfolderview.cpp.


Enumeration Type Documentation

anonymous enum

Enumerator:
SIGNAL_NO_KEYBOARD_FOCUS 
SIGNAL_KEYBOARD_FOCUS 

Definition at line 91 of file llfolderview.cpp.


Function Documentation

void copy_selected_item ( void *  user_data  ) 

Definition at line 4431 of file llfolderview.cpp.

References LLFolderView::copy().

Here is the call graph for this function:

void delete_selected_item ( void *  user_data  ) 

Definition at line 4422 of file llfolderview.cpp.

References LLFolderView::removeSelectedItems().

Here is the call graph for this function:

void open_selected_items ( void *  user_data  ) 

Definition at line 4449 of file llfolderview.cpp.

References LLFolderView::openSelectedItems().

Here is the call graph for this function:

void paste_items ( void *  user_data  ) 

Definition at line 4440 of file llfolderview.cpp.

References LLFolderView::paste().

Here is the call graph for this function:

void properties_selected_items ( void *  user_data  ) 

Definition at line 4458 of file llfolderview.cpp.

References LLFolderView::propertiesSelectedItems().

Here is the call graph for this function:

void renamer_focus_lost ( LLFocusableElement handler,
void *  user_data 
)


Variable Documentation

const S32 ARROW_SIZE = 12

Definition at line 84 of file llfolderview.cpp.

Referenced by LLFolderView::autoOpenItem(), and LLFolderView::LLFolderView().

Definition at line 87 of file llfolderview.cpp.

Referenced by LLFolderViewFolder::arrange().

Definition at line 88 of file llfolderview.cpp.

Referenced by LLFolderViewFolder::arrange().

const S32 ICON_PAD = 2

const S32 ICON_WIDTH = 16

const S32 LEFT_INDENTATION = 13

Definition at line 77 of file llfolderview.cpp.

Referenced by LLFolderViewItem::arrange(), and LLFolderView::LLFolderView().

const S32 LEFT_PAD = 5

---------------------------------------------------------------------------- Local function declarations, constants, enums, and typedefs ----------------------------------------------------------------------------

Definition at line 76 of file llfolderview.cpp.

Definition at line 89 of file llfolderview.cpp.

Referenced by LLFolderViewFolder::arrange().

Definition at line 85 of file llfolderview.cpp.

Referenced by LLFolderView::scrollToShowItem().

Definition at line 86 of file llfolderview.cpp.

Referenced by LLFolderView::startRenamingSelectedItem().

Definition at line 83 of file llfolderview.cpp.

Referenced by LLFolderView::startRenamingSelectedItem().

const S32 RENAME_WIDTH_PAD = 4

Definition at line 82 of file llfolderview.cpp.

const S32 TEXT_PAD = 1


Generated on Fri May 16 08:36:39 2008 for SecondLife by  doxygen 1.5.5