llpreviewscript.cpp File Reference

LLPreviewScript class implementation. More...

#include "llviewerprecompiledheaders.h"
#include "llpreviewscript.h"
#include "llassetstorage.h"
#include "llassetuploadresponders.h"
#include "llbutton.h"
#include "llcheckboxctrl.h"
#include "llcombobox.h"
#include "lldir.h"
#include "llinventorymodel.h"
#include "llkeyboard.h"
#include "lllineeditor.h"
#include "llresmgr.h"
#include "llscrollbar.h"
#include "llscrollcontainer.h"
#include "llscrolllistctrl.h"
#include "llslider.h"
#include "lscript_rt_interface.h"
#include "lscript_export.h"
#include "lltextbox.h"
#include "lltooldraganddrop.h"
#include "llvfile.h"
#include "llagent.h"
#include "llnotify.h"
#include "llmenugl.h"
#include "roles_constants.h"
#include "llselectmgr.h"
#include "llviewerinventory.h"
#include "llviewermenu.h"
#include "llviewerobject.h"
#include "llviewerobjectlist.h"
#include "llviewerregion.h"
#include "viewer.h"
#include "llviewerstats.h"
#include "llviewertexteditor.h"
#include "llviewerwindow.h"
#include "llvieweruictrlfactory.h"
#include "llwebbrowserctrl.h"
#include "lluictrlfactory.h"
#include "llpanelinventory.h"

Include dependency graph for llpreviewscript.cpp:

Go to the source code of this file.

Classes

class  LLFloaterScriptSearch
struct  LLEntryAndEdCore
struct  LLScriptSaveInfo
struct  LLLiveLSLSaveData

Variables

const char HELLO_LSL []
const char HELP_LSL [] = "lsl_guide.html"
const char DEFAULT_SCRIPT_NAME [] = "New Script"
const char DEFAULT_SCRIPT_DESC [] = "(No Description)"
const S32 SCRIPT_BORDER = 4
const S32 SCRIPT_PAD = 5
const S32 SCRIPT_BUTTON_WIDTH = 128
const S32 SCRIPT_BUTTON_HEIGHT = 24
const S32 LINE_COLUMN_HEIGHT = 14
const S32 BTN_PAD = 8
const S32 SCRIPT_EDITOR_MIN_HEIGHT = 2 * SCROLLBAR_SIZE + 2 * LLPANEL_BORDER_WIDTH + 128
const S32 SCRIPT_MIN_WIDTH
const S32 SCRIPT_MIN_HEIGHT
const S32 MAX_EXPORT_SIZE = 1000
const S32 SCRIPT_SEARCH_WIDTH = 300
const S32 SCRIPT_SEARCH_HEIGHT = 120
const S32 SCRIPT_SEARCH_LABEL_WIDTH = 50
const S32 SCRIPT_SEARCH_BUTTON_WIDTH = 80
const S32 TEXT_EDIT_COLUMN_HEIGHT = 16
const S32 MAX_HISTORY_COUNT = 10
const F32 LIVE_HELP_REFRESH_TIME = 1.f


Detailed Description

LLPreviewScript class implementation.

LicenseInfo
firstyear=2002&license=viewergpl

Copyright (c) 2002-2007, 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://secondlife.com/developers/opensource/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://secondlife.com/developers/opensource/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 llpreviewscript.cpp.


Variable Documentation

const S32 BTN_PAD = 8

Definition at line 116 of file llpreviewscript.cpp.

const char DEFAULT_SCRIPT_DESC[] = "(No Description)"

Definition at line 107 of file llpreviewscript.cpp.

Referenced by LLLiveLSLEditor::loadAsset().

const char DEFAULT_SCRIPT_NAME[] = "New Script"

Definition at line 106 of file llpreviewscript.cpp.

Referenced by LLLiveLSLEditor::loadAsset().

const char HELLO_LSL[]

Initial value:

        "default\n"
        "{\n"
        "    state_entry()\n"
    "    {\n"
    "        llSay(0, \"Hello, Avatar!\");\n"
    "    }\n"
        "\n"
        "    touch_start(integer total_number)\n"
        "    {\n"
        "        llSay(0, \"Touched.\");\n"
        "    }\n"
        "}\n"

Definition at line 91 of file llpreviewscript.cpp.

Referenced by LLLiveLSLEditor::createScriptEdPanel(), LLPreviewLSL::createScriptEdPanel(), LLLiveLSLEditor::loadAsset(), and LLPreviewLSL::loadAsset().

const char HELP_LSL[] = "lsl_guide.html"

Definition at line 104 of file llpreviewscript.cpp.

Referenced by LLLiveLSLEditor::createScriptEdPanel(), and LLPreviewLSL::createScriptEdPanel().

const S32 LINE_COLUMN_HEIGHT = 14

Definition at line 115 of file llpreviewscript.cpp.

const F32 LIVE_HELP_REFRESH_TIME = 1.f

Definition at line 140 of file llpreviewscript.cpp.

Referenced by LLScriptEdCore::updateDynamicHelp().

const S32 MAX_EXPORT_SIZE = 1000

Definition at line 132 of file llpreviewscript.cpp.

const S32 MAX_HISTORY_COUNT = 10

Definition at line 139 of file llpreviewscript.cpp.

Referenced by LLScriptEdCore::addHelpItemToHistory().

const S32 SCRIPT_BORDER = 4

Definition at line 111 of file llpreviewscript.cpp.

const S32 SCRIPT_BUTTON_HEIGHT = 24

Definition at line 114 of file llpreviewscript.cpp.

const S32 SCRIPT_BUTTON_WIDTH = 128

Definition at line 113 of file llpreviewscript.cpp.

const S32 SCRIPT_EDITOR_MIN_HEIGHT = 2 * SCROLLBAR_SIZE + 2 * LLPANEL_BORDER_WIDTH + 128

Definition at line 118 of file llpreviewscript.cpp.

const S32 SCRIPT_MIN_HEIGHT

Initial value:

Definition at line 126 of file llpreviewscript.cpp.

const S32 SCRIPT_MIN_WIDTH

Initial value:

Definition at line 120 of file llpreviewscript.cpp.

const S32 SCRIPT_PAD = 5

Definition at line 112 of file llpreviewscript.cpp.

const S32 SCRIPT_SEARCH_BUTTON_WIDTH = 80

Definition at line 137 of file llpreviewscript.cpp.

const S32 SCRIPT_SEARCH_HEIGHT = 120

Definition at line 135 of file llpreviewscript.cpp.

Referenced by LLFloaterScriptSearch::show().

const S32 SCRIPT_SEARCH_LABEL_WIDTH = 50

Definition at line 136 of file llpreviewscript.cpp.

const S32 SCRIPT_SEARCH_WIDTH = 300

Definition at line 134 of file llpreviewscript.cpp.

Referenced by LLFloaterScriptSearch::show().

const S32 TEXT_EDIT_COLUMN_HEIGHT = 16

Definition at line 138 of file llpreviewscript.cpp.


Generated on Thu Jul 1 06:10:37 2010 for Second Life Viewer by  doxygen 1.4.7