LLFloaterScriptSearch Class Reference

Inheritance diagram for LLFloaterScriptSearch:

Inheritance graph
[legend]
Collaboration diagram for LLFloaterScriptSearch:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLFloaterScriptSearch (std::string title, LLRect rect, LLScriptEdCore *editor_core)
 ~LLFloaterScriptSearch ()
void handleBtnSearch ()
void handleBtnReplace ()
void handleBtnReplaceAll ()
LLScriptEdCoregetEditorCore ()
void open ()

Static Public Member Functions

static void show (LLScriptEdCore *editor_core)
static void onBtnSearch (void *userdata)
static void onBtnReplace (void *userdata)
static void onBtnReplaceAll (void *userdata)
static LLFloaterScriptSearchgetInstance ()

Private Attributes

LLScriptEdCoremEditorCore

Static Private Attributes

static LLFloaterScriptSearchsInstance = NULL

Detailed Description

--------------------------------------------------------------------------- LLFloaterScriptSearch ---------------------------------------------------------------------------

Definition at line 145 of file llpreviewscript.cpp.


Constructor & Destructor Documentation

LLFloaterScriptSearch::LLFloaterScriptSearch ( std::string  title,
LLRect  rect,
LLScriptEdCore editor_core 
)

Definition at line 175 of file llpreviewscript.cpp.

References LLUICtrlFactory::buildFloater(), LLPanel::childSetAction(), LLPanel::childSetFocus(), LLFloater::getHost(), LLView::getParent(), LLView::getRect(), gUICtrlFactory, LLRectBase< Type >::mLeft, LLRectBase< Type >::mTop, onBtnReplace(), onBtnReplaceAll(), onBtnSearch(), LLPanel::setDefaultBtn(), sInstance, LLView::translate(), TRUE, and WIDGET_TYPE_FLOATER.

Referenced by show().

LLFloaterScriptSearch::~LLFloaterScriptSearch (  ) 

Definition at line 232 of file llpreviewscript.cpp.

References NULL, and sInstance.


Member Function Documentation

LLScriptEdCore* LLFloaterScriptSearch::getEditorCore (  )  [inline]

Definition at line 161 of file llpreviewscript.cpp.

References mEditorCore.

Referenced by LLScriptEdCore::~LLScriptEdCore().

static LLFloaterScriptSearch* LLFloaterScriptSearch::getInstance (  )  [inline, static]

Definition at line 162 of file llpreviewscript.cpp.

References sInstance.

Referenced by LLScriptEdCore::~LLScriptEdCore().

void LLFloaterScriptSearch::handleBtnReplace (  ) 

Definition at line 257 of file llpreviewscript.cpp.

References LLPanel::childGetText(), LLCheckBoxCtrl::get(), LLUICtrlFactory::getCheckBoxByName(), LLScriptEdCore::mEditor, mEditorCore, and LLTextEditor::replaceText().

void LLFloaterScriptSearch::handleBtnReplaceAll (  ) 

Definition at line 270 of file llpreviewscript.cpp.

References LLPanel::childGetText(), LLCheckBoxCtrl::get(), LLUICtrlFactory::getCheckBoxByName(), LLScriptEdCore::mEditor, mEditorCore, and LLTextEditor::replaceTextAll().

void LLFloaterScriptSearch::handleBtnSearch (  ) 

Definition at line 244 of file llpreviewscript.cpp.

References LLPanel::childGetText(), LLCheckBoxCtrl::get(), LLUICtrlFactory::getCheckBoxByName(), LLScriptEdCore::mEditor, mEditorCore, and LLTextEditor::selectNext().

void LLFloaterScriptSearch::onBtnReplace ( void userdata  )  [static]

Definition at line 251 of file llpreviewscript.cpp.

Referenced by LLFloaterScriptSearch().

void LLFloaterScriptSearch::onBtnReplaceAll ( void userdata  )  [static]

Definition at line 264 of file llpreviewscript.cpp.

Referenced by LLFloaterScriptSearch().

void LLFloaterScriptSearch::onBtnSearch ( void userdata  )  [static]

Definition at line 238 of file llpreviewscript.cpp.

Referenced by LLFloaterScriptSearch().

void LLFloaterScriptSearch::open (  )  [virtual]

Reimplemented from LLFloater.

Definition at line 276 of file llpreviewscript.cpp.

References LLPanel::childSetFocus(), LLFloater::open(), and TRUE.

Referenced by show().

void LLFloaterScriptSearch::show ( LLScriptEdCore editor_core  )  [static]

Definition at line 211 of file llpreviewscript.cpp.

References LLFloater::close(), LLFloaterView::getNewFloaterPosition(), gFloaterView, left, LLFloaterScriptSearch(), mEditorCore, open(), S32, SCRIPT_SEARCH_HEIGHT, SCRIPT_SEARCH_WIDTH, sInstance, and top.

Referenced by LLScriptEdCore::onSearchMenu(), LLLiveLSLEditor::onSearchReplace(), and LLPreviewLSL::onSearchReplace().


Member Data Documentation

LLScriptEdCore* LLFloaterScriptSearch::mEditorCore [private]

Definition at line 168 of file llpreviewscript.cpp.

Referenced by getEditorCore(), handleBtnReplace(), handleBtnReplaceAll(), handleBtnSearch(), and show().

LLFloaterScriptSearch * LLFloaterScriptSearch::sInstance = NULL [static, private]

Definition at line 170 of file llpreviewscript.cpp.

Referenced by getInstance(), LLFloaterScriptSearch(), show(), and ~LLFloaterScriptSearch().


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