diff options
author | Richard Linden <none@none> | 2010-09-23 14:08:50 -0700 |
---|---|---|
committer | Richard Linden <none@none> | 2010-09-23 14:08:50 -0700 |
commit | 58ac85223e976556b060ca0ff345f1a96d8f7848 (patch) | |
tree | 1e8901e1a47304829d67e5e71b178a5f47142c7c /indra/test_apps/llplugintest/llmediaplugintest.h | |
parent | 92195c479f597538a55dfa8b2e02c1b4908a2259 (diff) | |
parent | fbcbfb88059b0d669592407205dd4167257a2395 (diff) |
merge
Diffstat (limited to 'indra/test_apps/llplugintest/llmediaplugintest.h')
-rw-r--r-- | indra/test_apps/llplugintest/llmediaplugintest.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/indra/test_apps/llplugintest/llmediaplugintest.h b/indra/test_apps/llplugintest/llmediaplugintest.h index 8fa20b8d72..1f6f18e43c 100644 --- a/indra/test_apps/llplugintest/llmediaplugintest.h +++ b/indra/test_apps/llplugintest/llmediaplugintest.h @@ -51,6 +51,7 @@ struct mediaPanel int mId; std::string mStartUrl; std::string mMimeType; + std::string mTarget; LLPluginClassMedia *mMediaSource; int mMediaWidth; int mMediaHeight; @@ -91,16 +92,17 @@ class LLMediaPluginTest : public LLPluginClassMediaOwner void draw( int draw_type ); void windowPosToTexturePos( int window_x, int window_y, int& media_x, int& media_y, int& id ); - void addMediaPanel( std::string url ); + mediaPanel* addMediaPanel( std::string url ); void updateMediaPanel( mediaPanel* panel ); void remMediaPanel( mediaPanel* panel ); - void replaceMediaPanel( mediaPanel* panel, std::string url ); + mediaPanel* replaceMediaPanel( mediaPanel* panel, std::string url ); void getRandomMediaSize( int& width, int& height, std::string mime_type ); void navigateToNewURI( std::string uri ); void initUrlHistory( std::string uri ); void selectPanelById( int id ); void selectPanel( mediaPanel* panel ); mediaPanel* findMediaPanel( LLPluginClassMedia* panel ); + mediaPanel* findMediaPanel( const std::string &target_name ); void makePickTexture( int id, GLuint* texture_handle, unsigned char** texture_pixels ); void makeChrome(); void resetView(); |