llfloaterhtml.h

Go to the documentation of this file.
00001 
00033 #ifndef LL_LLFLOATERHTML_H
00034 #define LL_LLFLOATERHTML_H
00035 
00036 #include "llfloater.h"
00037 
00038 class LLWebBrowserCtrl;
00039 
00040 class LLFloaterHtml :
00041         public LLFloater
00042 {
00043         public:
00044                 static LLFloaterHtml* getInstance();
00045                 virtual ~LLFloaterHtml();
00046                 
00047                 virtual void draw();
00048                 virtual void onClose( bool app_quitting );
00049                 
00050                 // Pass string like "in-world_help" or "additional help"
00051                 void show( LLString content_id );
00052 
00053                 // Pass raw URL and window title
00054                 void show( std::string start_url, std::string title );
00055 
00056                 static void onClickClose( void* data );
00057                 static void onClickBack( void* data );
00058                 static void onClickHome( void* data );
00059                 static void onClickForward( void* data );
00060                 static void onCommitUrlEdit(LLUICtrl* ctrl, void* user_data);
00061                 static void onClickGo( void* data );
00062                 
00063         private:
00064                 LLFloaterHtml();
00065 #if LL_LIBXUL_ENABLED
00066                 LLWebBrowserCtrl* mWebBrowser;
00067 #endif // LL_LIBXUL_ENABLED
00068                 static LLFloaterHtml* sInstance;
00069                 LLButton* mCloseButton;
00070 };
00071 
00072 #endif

Generated on Thu Jul 1 06:08:34 2010 for Second Life Viewer by  doxygen 1.4.7