

Public Member Functions | |
| LLFloaterScriptSearch (std::string title, LLRect rect, LLScriptEdCore *editor_core) | |
| ~LLFloaterScriptSearch () | |
| void | handleBtnSearch () |
| void | handleBtnReplace () |
| void | handleBtnReplaceAll () |
| LLScriptEdCore * | getEditorCore () |
| 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 LLFloaterScriptSearch * | getInstance () |
Private Attributes | |
| LLScriptEdCore * | mEditorCore |
Static Private Attributes | |
| static LLFloaterScriptSearch * | sInstance = NULL |
Definition at line 145 of file llpreviewscript.cpp.
| LLFloaterScriptSearch::LLFloaterScriptSearch | ( | std::string | title, | |
| LLRect | rect, | |||
| LLScriptEdCore * | editor_core | |||
| ) |
Definition at line 175 of file llpreviewscript.cpp.
References LLFloater::addDependentFloater(), LLUICtrlFactory::buildFloater(), LLPanel::childSetAction(), LLPanel::childSetFocus(), LLFloater::getHost(), LLSingleton< LLUICtrlFactory >::getInstance(), LLView::getParent(), LLView::getRect(), LLRectBase< Type >::mLeft, LLRectBase< Type >::mTop, onBtnReplace(), onBtnReplaceAll(), onBtnSearch(), LLPanel::setDefaultBtn(), sInstance, LLView::translate(), and TRUE.
Referenced by show().


| LLFloaterScriptSearch::~LLFloaterScriptSearch | ( | ) |
| void LLFloaterScriptSearch::show | ( | LLScriptEdCore * | editor_core | ) | [static] |
Definition at line 212 of file llpreviewscript.cpp.
References LLFloater::close(), LLFloaterView::getNewFloaterPosition(), gFloaterView, LLFloaterScriptSearch(), mEditorCore, open(), S32, SCRIPT_SEARCH_HEIGHT, SCRIPT_SEARCH_WIDTH, and sInstance.
Referenced by LLScriptEdCore::onSearchMenu(), LLLiveLSLEditor::onSearchReplace(), and LLPreviewLSL::onSearchReplace().


| void LLFloaterScriptSearch::onBtnSearch | ( | void * | userdata | ) | [static] |
Definition at line 239 of file llpreviewscript.cpp.
Referenced by LLFloaterScriptSearch().

| void LLFloaterScriptSearch::handleBtnSearch | ( | ) |
Definition at line 245 of file llpreviewscript.cpp.
References LLPanel::childGetText(), LLCheckBoxCtrl::get(), LLScriptEdCore::mEditor, mEditorCore, and LLTextEditor::selectNext().

| void LLFloaterScriptSearch::onBtnReplace | ( | void * | userdata | ) | [static] |
Definition at line 252 of file llpreviewscript.cpp.
Referenced by LLFloaterScriptSearch().

| void LLFloaterScriptSearch::handleBtnReplace | ( | ) |
Definition at line 258 of file llpreviewscript.cpp.
References LLPanel::childGetText(), LLCheckBoxCtrl::get(), LLScriptEdCore::mEditor, mEditorCore, and LLTextEditor::replaceText().

| void LLFloaterScriptSearch::onBtnReplaceAll | ( | void * | userdata | ) | [static] |
Definition at line 265 of file llpreviewscript.cpp.
Referenced by LLFloaterScriptSearch().

| void LLFloaterScriptSearch::handleBtnReplaceAll | ( | ) |
Definition at line 271 of file llpreviewscript.cpp.
References LLPanel::childGetText(), LLCheckBoxCtrl::get(), LLScriptEdCore::mEditor, mEditorCore, and LLTextEditor::replaceTextAll().

| 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::open | ( | void | ) | [virtual] |
Reimplemented from LLFloater.
Definition at line 277 of file llpreviewscript.cpp.
References LLPanel::childSetFocus(), LLFloater::open(), and TRUE.
Referenced by show().


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().
1.5.5