Clean up old Experience UI port code

This commit is contained in:
Liru Færs
2020-03-28 16:38:14 -04:00
parent 45f4f601bf
commit b21cc835b2
2 changed files with 3 additions and 5 deletions

View File

@@ -62,13 +62,12 @@ const static std::string columnSpace = " ";
/* Singu Note: We do not have injectors, so we'll have to call this function instead /* Singu Note: We do not have injectors, so we'll have to call this function instead
static LLPanelInjector<LLPanelExperiencePicker> t_panel_status("llpanelexperiencepicker"); static LLPanelInjector<LLPanelExperiencePicker> t_panel_status("llpanelexperiencepicker");
*/ */
void* create_xp_picker(void* data) { return new LLPanelExperiencePicker(false); }
LLPanelExperiencePicker::LLPanelExperiencePicker(bool build) LLPanelExperiencePicker::LLPanelExperiencePicker()
:LLPanel() :LLPanel()
{ {
//buildFromFile("panel_experience_search.xml"); //buildFromFile("panel_experience_search.xml");
if (build) LLUICtrlFactory::getInstance()->buildPanel(this, "panel_experience_search.xml"); // Singu Note: Use filename in xml LLUICtrlFactory::getInstance()->buildPanel(this, "panel_experience_search.xml"); // Singu Note: Use filename in xml
setDefaultFilters(); setDefaultFilters();
} }

View File

@@ -32,7 +32,6 @@
class LLScrollListCtrl; class LLScrollListCtrl;
class LLLineEditor; class LLLineEditor;
void* create_xp_picker(void* data);
class LLPanelExperiencePicker final : public LLPanel class LLPanelExperiencePicker final : public LLPanel
{ {
public: public:
@@ -44,7 +43,7 @@ public:
typedef std::function<bool (const LLSD&)> filter_function; typedef std::function<bool (const LLSD&)> filter_function;
typedef std::vector<filter_function> filter_list; typedef std::vector<filter_function> filter_list;
LLPanelExperiencePicker(bool build = true); LLPanelExperiencePicker();
virtual ~LLPanelExperiencePicker(); virtual ~LLPanelExperiencePicker();
BOOL postBuild() override; BOOL postBuild() override;