diff options
Diffstat (limited to 'linden/indra/llui/lluictrlfactory.h')
-rw-r--r-- | linden/indra/llui/lluictrlfactory.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/linden/indra/llui/lluictrlfactory.h b/linden/indra/llui/lluictrlfactory.h index 16170ac..559c8e5 100644 --- a/linden/indra/llui/lluictrlfactory.h +++ b/linden/indra/llui/lluictrlfactory.h | |||
@@ -50,44 +50,44 @@ public: | |||
50 | 50 | ||
51 | void setupPaths(); | 51 | void setupPaths(); |
52 | 52 | ||
53 | void buildFloater(LLFloater* floaterp, const LLString &filename, | 53 | void buildFloater(LLFloater* floaterp, const std::string &filename, |
54 | const LLCallbackMap::map_t* factory_map = NULL, BOOL open = TRUE); | 54 | const LLCallbackMap::map_t* factory_map = NULL, BOOL open = TRUE); |
55 | BOOL buildPanel(LLPanel* panelp, const LLString &filename, | 55 | BOOL buildPanel(LLPanel* panelp, const std::string &filename, |
56 | const LLCallbackMap::map_t* factory_map = NULL); | 56 | const LLCallbackMap::map_t* factory_map = NULL); |
57 | 57 | ||
58 | void removePanel(LLPanel* panelp) { mBuiltPanels.erase(panelp->getHandle()); } | 58 | void removePanel(LLPanel* panelp) { mBuiltPanels.erase(panelp->getHandle()); } |
59 | void removeFloater(LLFloater* floaterp) { mBuiltFloaters.erase(floaterp->getHandle()); } | 59 | void removeFloater(LLFloater* floaterp) { mBuiltFloaters.erase(floaterp->getHandle()); } |
60 | 60 | ||
61 | class LLMenuGL *buildMenu(const LLString &filename, LLView* parentp); | 61 | class LLMenuGL *buildMenu(const std::string &filename, LLView* parentp); |
62 | class LLPieMenu *buildPieMenu(const LLString &filename, LLView* parentp); | 62 | class LLPieMenu *buildPieMenu(const std::string &filename, LLView* parentp); |
63 | 63 | ||
64 | // Does what you want for LLFloaters and LLPanels | 64 | // Does what you want for LLFloaters and LLPanels |
65 | // Returns 0 on success | 65 | // Returns 0 on success |
66 | S32 saveToXML(LLView* viewp, const LLString& filename); | 66 | S32 saveToXML(LLView* viewp, const std::string& filename); |
67 | 67 | ||
68 | // Rebuilds all currently built panels. | 68 | // Rebuilds all currently built panels. |
69 | void rebuild(); | 69 | void rebuild(); |
70 | 70 | ||
71 | static BOOL getAttributeColor(LLXMLNodePtr node, const LLString& name, LLColor4& color); | 71 | static BOOL getAttributeColor(LLXMLNodePtr node, const std::string& name, LLColor4& color); |
72 | 72 | ||
73 | LLPanel* createFactoryPanel(LLString name); | 73 | LLPanel* createFactoryPanel(const std::string& name); |
74 | 74 | ||
75 | virtual LLView* createCtrlWidget(LLPanel *parent, LLXMLNodePtr node); | 75 | virtual LLView* createCtrlWidget(LLPanel *parent, LLXMLNodePtr node); |
76 | virtual LLView* createWidget(LLPanel *parent, LLXMLNodePtr node); | 76 | virtual LLView* createWidget(LLPanel *parent, LLXMLNodePtr node); |
77 | 77 | ||
78 | static bool getLayeredXMLNode(const LLString &filename, LLXMLNodePtr& root); | 78 | static bool getLayeredXMLNode(const std::string &filename, LLXMLNodePtr& root); |
79 | 79 | ||
80 | private: | 80 | private: |
81 | 81 | ||
82 | typedef std::map<LLHandle<LLPanel>, LLString> built_panel_t; | 82 | typedef std::map<LLHandle<LLPanel>, std::string> built_panel_t; |
83 | built_panel_t mBuiltPanels; | 83 | built_panel_t mBuiltPanels; |
84 | 84 | ||
85 | typedef std::map<LLHandle<LLFloater>, LLString> built_floater_t; | 85 | typedef std::map<LLHandle<LLFloater>, std::string> built_floater_t; |
86 | built_floater_t mBuiltFloaters; | 86 | built_floater_t mBuiltFloaters; |
87 | 87 | ||
88 | std::deque<const LLCallbackMap::map_t*> mFactoryStack; | 88 | std::deque<const LLCallbackMap::map_t*> mFactoryStack; |
89 | 89 | ||
90 | static std::vector<LLString> sXUIPaths; | 90 | static std::vector<std::string> sXUIPaths; |
91 | 91 | ||
92 | LLPanel* mDummyPanel; | 92 | LLPanel* mDummyPanel; |
93 | }; | 93 | }; |