diff options
author | Jacek Antonelli | 2008-08-15 23:45:27 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:27 -0500 |
commit | a8a62201ba762e98dff92cf49033e577fc34d8d4 (patch) | |
tree | 11f8513c5cdc222f2fac0c93eb724c089803c200 /linden/indra/newview/lloverlaybar.h | |
parent | Second Life viewer sources 1.18.6.4-RC (diff) | |
download | meta-impy-a8a62201ba762e98dff92cf49033e577fc34d8d4.zip meta-impy-a8a62201ba762e98dff92cf49033e577fc34d8d4.tar.gz meta-impy-a8a62201ba762e98dff92cf49033e577fc34d8d4.tar.bz2 meta-impy-a8a62201ba762e98dff92cf49033e577fc34d8d4.tar.xz |
Second Life viewer sources 1.19.0.0
Diffstat (limited to 'linden/indra/newview/lloverlaybar.h')
-rw-r--r-- | linden/indra/newview/lloverlaybar.h | 25 |
1 files changed, 7 insertions, 18 deletions
diff --git a/linden/indra/newview/lloverlaybar.h b/linden/indra/newview/lloverlaybar.h index 9475bbb..46dbfef 100644 --- a/linden/indra/newview/lloverlaybar.h +++ b/linden/indra/newview/lloverlaybar.h | |||
@@ -12,12 +12,12 @@ | |||
12 | * ("GPL"), unless you have obtained a separate licensing agreement | 12 | * ("GPL"), unless you have obtained a separate licensing agreement |
13 | * ("Other License"), formally executed by you and Linden Lab. Terms of | 13 | * ("Other License"), formally executed by you and Linden Lab. Terms of |
14 | * the GPL can be found in doc/GPL-license.txt in this distribution, or | 14 | * the GPL can be found in doc/GPL-license.txt in this distribution, or |
15 | * online at http://secondlife.com/developers/opensource/gplv2 | 15 | * online at http://secondlifegrid.net/programs/open_source/licensing/gplv2 |
16 | * | 16 | * |
17 | * There are special exceptions to the terms and conditions of the GPL as | 17 | * There are special exceptions to the terms and conditions of the GPL as |
18 | * it is applied to this Source Code. View the full text of the exception | 18 | * it is applied to this Source Code. View the full text of the exception |
19 | * in the file doc/FLOSS-exception.txt in this software distribution, or | 19 | * in the file doc/FLOSS-exception.txt in this software distribution, or |
20 | * online at http://secondlife.com/developers/opensource/flossexception | 20 | * online at http://secondlifegrid.net/programs/open_source/licensing/flossexception |
21 | * | 21 | * |
22 | * By copying, modifying or distributing this software, you acknowledge | 22 | * By copying, modifying or distributing this software, you acknowledge |
23 | * that you have read and understood your obligations described above, | 23 | * that you have read and understood your obligations described above, |
@@ -54,15 +54,15 @@ class LLOverlayBar | |||
54 | : public LLPanel | 54 | : public LLPanel |
55 | { | 55 | { |
56 | public: | 56 | public: |
57 | LLOverlayBar(const std::string& name, const LLRect& rect ); | 57 | LLOverlayBar(); |
58 | ~LLOverlayBar(); | 58 | ~LLOverlayBar(); |
59 | 59 | ||
60 | virtual EWidgetType getWidgetType() const; | 60 | virtual EWidgetType getWidgetType() const; |
61 | virtual LLString getWidgetTag() const; | 61 | virtual LLString getWidgetTag() const; |
62 | 62 | ||
63 | /*virtual*/ void refresh(); | 63 | /*virtual*/ void refresh(); |
64 | /*virtual*/ void draw(); | ||
65 | /*virtual*/ void reshape(S32 width, S32 height, BOOL called_from_parent); | 64 | /*virtual*/ void reshape(S32 width, S32 height, BOOL called_from_parent); |
65 | /*virtual*/ BOOL postBuild(); | ||
66 | 66 | ||
67 | void layoutButtons(); | 67 | void layoutButtons(); |
68 | 68 | ||
@@ -79,27 +79,16 @@ public: | |||
79 | 79 | ||
80 | //static media helper functions | 80 | //static media helper functions |
81 | static void mediaPlay(void*); | 81 | static void mediaPlay(void*); |
82 | static void mediaPause(void*); | ||
83 | static void mediaStop(void*); | ||
84 | |||
85 | static void musicPlay(void*); | 82 | static void musicPlay(void*); |
86 | static void musicPause(void*); | ||
87 | static void musicStop(void*); | ||
88 | 83 | ||
89 | static void toggleAudioVolumeFloater(void*); | ||
90 | |||
91 | static void enableMediaButtons(LLPanel* panel); | ||
92 | static void enableMusicButtons(LLPanel* panel); | ||
93 | |||
94 | protected: | 84 | protected: |
95 | static void* createMasterRemote(void* userdata); | ||
96 | static void* createMusicRemote(void* userdata); | ||
97 | static void* createMediaRemote(void* userdata); | 85 | static void* createMediaRemote(void* userdata); |
98 | static void* createVoiceRemote(void* userdata); | 86 | static void* createVoiceRemote(void* userdata); |
87 | static void* createChatBar(void* userdata); | ||
88 | |||
89 | void enableMediaButtons(); | ||
99 | 90 | ||
100 | protected: | 91 | protected: |
101 | LLMediaRemoteCtrl* mMasterRemote; | ||
102 | LLMediaRemoteCtrl* mMusicRemote; | ||
103 | LLMediaRemoteCtrl* mMediaRemote; | 92 | LLMediaRemoteCtrl* mMediaRemote; |
104 | LLVoiceRemoteCtrl* mVoiceRemote; | 93 | LLVoiceRemoteCtrl* mVoiceRemote; |
105 | bool mBuilt; // dialog constructed yet? | 94 | bool mBuilt; // dialog constructed yet? |