diff options
author | Jacek Antonelli | 2008-09-06 18:24:57 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-09-06 18:25:07 -0500 |
commit | 798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch) | |
tree | 1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/llui/lltabcontainer.h | |
parent | Second Life viewer sources 1.20.15 (diff) | |
download | meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.zip meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.gz meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.bz2 meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.xz |
Second Life viewer sources 1.21.0-RC
Diffstat (limited to 'linden/indra/llui/lltabcontainer.h')
-rw-r--r-- | linden/indra/llui/lltabcontainer.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/linden/indra/llui/lltabcontainer.h b/linden/indra/llui/lltabcontainer.h index 16f8be5..8d4218a 100644 --- a/linden/indra/llui/lltabcontainer.h +++ b/linden/indra/llui/lltabcontainer.h | |||
@@ -55,7 +55,7 @@ public: | |||
55 | RIGHT_OF_CURRENT | 55 | RIGHT_OF_CURRENT |
56 | } eInsertionPoint; | 56 | } eInsertionPoint; |
57 | 57 | ||
58 | LLTabContainer( const LLString& name, const LLRect& rect, TabPosition pos, | 58 | LLTabContainer( const std::string& name, const LLRect& rect, TabPosition pos, |
59 | BOOL bordered, BOOL is_vertical); | 59 | BOOL bordered, BOOL is_vertical); |
60 | 60 | ||
61 | /*virtual*/ ~LLTabContainer(); | 61 | /*virtual*/ ~LLTabContainer(); |
@@ -68,23 +68,23 @@ public: | |||
68 | /*virtual*/ BOOL handleMouseDown( S32 x, S32 y, MASK mask ); | 68 | /*virtual*/ BOOL handleMouseDown( S32 x, S32 y, MASK mask ); |
69 | /*virtual*/ BOOL handleHover( S32 x, S32 y, MASK mask ); | 69 | /*virtual*/ BOOL handleHover( S32 x, S32 y, MASK mask ); |
70 | /*virtual*/ BOOL handleMouseUp( S32 x, S32 y, MASK mask ); | 70 | /*virtual*/ BOOL handleMouseUp( S32 x, S32 y, MASK mask ); |
71 | /*virtual*/ BOOL handleToolTip(S32 x, S32 y, LLString& msg, LLRect* sticky_rect ); | 71 | /*virtual*/ BOOL handleToolTip(S32 x, S32 y, std::string& msg, LLRect* sticky_rect ); |
72 | /*virtual*/ BOOL handleKeyHere(KEY key, MASK mask); | 72 | /*virtual*/ BOOL handleKeyHere(KEY key, MASK mask); |
73 | /*virtual*/ BOOL handleDragAndDrop(S32 x, S32 y, MASK mask, BOOL drop, | 73 | /*virtual*/ BOOL handleDragAndDrop(S32 x, S32 y, MASK mask, BOOL drop, |
74 | EDragAndDropType type, void* cargo_data, | 74 | EDragAndDropType type, void* cargo_data, |
75 | EAcceptance* accept, LLString& tooltip); | 75 | EAcceptance* accept, std::string& tooltip); |
76 | /*virtual*/ LLXMLNodePtr getXML(bool save_children = true) const; | 76 | /*virtual*/ LLXMLNodePtr getXML(bool save_children = true) const; |
77 | /*virtual*/ LLView* getChildView(const LLString& name, BOOL recurse = TRUE, BOOL create_if_missing = TRUE) const; | 77 | /*virtual*/ LLView* getChildView(const std::string& name, BOOL recurse = TRUE, BOOL create_if_missing = TRUE) const; |
78 | 78 | ||
79 | void addTabPanel(LLPanel* child, | 79 | void addTabPanel(LLPanel* child, |
80 | const LLString& label, | 80 | const std::string& label, |
81 | BOOL select = FALSE, | 81 | BOOL select = FALSE, |
82 | void (*on_tab_clicked)(void*, bool) = NULL, | 82 | void (*on_tab_clicked)(void*, bool) = NULL, |
83 | void* userdata = NULL, | 83 | void* userdata = NULL, |
84 | S32 indent = 0, | 84 | S32 indent = 0, |
85 | BOOL placeholder = FALSE, | 85 | BOOL placeholder = FALSE, |
86 | eInsertionPoint insertion_point = END); | 86 | eInsertionPoint insertion_point = END); |
87 | void addPlaceholder(LLPanel* child, const LLString& label); | 87 | void addPlaceholder(LLPanel* child, const std::string& label); |
88 | void removeTabPanel( LLPanel* child ); | 88 | void removeTabPanel( LLPanel* child ); |
89 | void lockTabs(S32 num_tabs = 0); | 89 | void lockTabs(S32 num_tabs = 0); |
90 | void unlockTabs(); | 90 | void unlockTabs(); |
@@ -96,9 +96,9 @@ public: | |||
96 | S32 getTabCount(); | 96 | S32 getTabCount(); |
97 | LLPanel* getPanelByIndex(S32 index); | 97 | LLPanel* getPanelByIndex(S32 index); |
98 | S32 getIndexForPanel(LLPanel* panel); | 98 | S32 getIndexForPanel(LLPanel* panel); |
99 | S32 getPanelIndexByTitle(const LLString& title); | 99 | S32 getPanelIndexByTitle(const std::string& title); |
100 | LLPanel* getPanelByName(const LLString& name); | 100 | LLPanel* getPanelByName(const std::string& name); |
101 | void setCurrentTabName(const LLString& name); | 101 | void setCurrentTabName(const std::string& name); |
102 | 102 | ||
103 | void selectFirstTab(); | 103 | void selectFirstTab(); |
104 | void selectLastTab(); | 104 | void selectLastTab(); |
@@ -106,13 +106,13 @@ public: | |||
106 | void selectPrevTab(); | 106 | void selectPrevTab(); |
107 | BOOL selectTabPanel( LLPanel* child ); | 107 | BOOL selectTabPanel( LLPanel* child ); |
108 | BOOL selectTab(S32 which); | 108 | BOOL selectTab(S32 which); |
109 | BOOL selectTabByName(const LLString& title); | 109 | BOOL selectTabByName(const std::string& title); |
110 | 110 | ||
111 | BOOL getTabPanelFlashing(LLPanel* child); | 111 | BOOL getTabPanelFlashing(LLPanel* child); |
112 | void setTabPanelFlashing(LLPanel* child, BOOL state); | 112 | void setTabPanelFlashing(LLPanel* child, BOOL state); |
113 | void setTabImage(LLPanel* child, std::string img_name, const LLColor4& color = LLColor4::white); | 113 | void setTabImage(LLPanel* child, std::string img_name, const LLColor4& color = LLColor4::white); |
114 | void setTitle( const LLString& title ); | 114 | void setTitle( const std::string& title ); |
115 | const LLString getPanelTitle(S32 index); | 115 | const std::string getPanelTitle(S32 index); |
116 | 116 | ||
117 | void setTopBorderHeight(S32 height); | 117 | void setTopBorderHeight(S32 height); |
118 | S32 getTopBorderHeight() const; | 118 | S32 getTopBorderHeight() const; |
@@ -121,7 +121,7 @@ public: | |||
121 | void setTabUserData(LLPanel* tab, void* userdata); | 121 | void setTabUserData(LLPanel* tab, void* userdata); |
122 | 122 | ||
123 | void setRightTabBtnOffset( S32 offset ); | 123 | void setRightTabBtnOffset( S32 offset ); |
124 | void setPanelTitle(S32 index, const LLString& title); | 124 | void setPanelTitle(S32 index, const std::string& title); |
125 | 125 | ||
126 | TabPosition getTabPosition() const { return mTabPosition; } | 126 | TabPosition getTabPosition() const { return mTabPosition; } |
127 | void setMinTabWidth(S32 width) { mMinTabWidth = width; } | 127 | void setMinTabWidth(S32 width) { mMinTabWidth = width; } |