aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llwebbrowserctrl.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:44:50 -0500
committerJacek Antonelli2008-08-15 23:44:50 -0500
commit89fe5dab825a62a0e3fd8d248cbc91c65eb2a426 (patch)
treebcff14b7888d04a2fec799c59369f6095224bd08 /linden/indra/newview/llwebbrowserctrl.h
parentSecond Life viewer sources 1.13.3.2 (diff)
downloadmeta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.zip
meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.gz
meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.bz2
meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.xz
Second Life viewer sources 1.14.0.0
Diffstat (limited to 'linden/indra/newview/llwebbrowserctrl.h')
-rw-r--r--linden/indra/newview/llwebbrowserctrl.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/linden/indra/newview/llwebbrowserctrl.h b/linden/indra/newview/llwebbrowserctrl.h
index bad6e88..e6f9005 100644
--- a/linden/indra/newview/llwebbrowserctrl.h
+++ b/linden/indra/newview/llwebbrowserctrl.h
@@ -192,8 +192,12 @@ class LLWebBrowserCtrl :
192 bool getFrequentUpdates() { return mFrequentUpdates; }; 192 bool getFrequentUpdates() { return mFrequentUpdates; };
193 void setFrequentUpdates( bool frequentUpdatesIn ) { mFrequentUpdates = frequentUpdatesIn; }; 193 void setFrequentUpdates( bool frequentUpdatesIn ) { mFrequentUpdates = frequentUpdatesIn; };
194 194
195 void setIgnoreUIScale(bool ignore) { mIgnoreUIScale = ignore; }
196 bool getIgnoreUIScale() { return mIgnoreUIScale; }
197
195 // over-rides 198 // over-rides
196 virtual BOOL handleKey( KEY key, MASK mask, BOOL called_from_parent ); 199 virtual BOOL handleKey( KEY key, MASK mask, BOOL called_from_parent );
200 virtual BOOL handleUnicodeChar(llwchar uni_char, BOOL called_from_parent);
197 virtual void reshape( S32 width, S32 height, BOOL called_from_parent ); 201 virtual void reshape( S32 width, S32 height, BOOL called_from_parent );
198 virtual void draw(); 202 virtual void draw();
199 virtual void onVisibilityChange ( BOOL curVisibilityIn ); 203 virtual void onVisibilityChange ( BOOL curVisibilityIn );
@@ -214,6 +218,9 @@ class LLWebBrowserCtrl :
214 virtual void onLocationChange( const EventType& eventIn ); 218 virtual void onLocationChange( const EventType& eventIn );
215 virtual void onClickLinkHref( const EventType& eventIn ); 219 virtual void onClickLinkHref( const EventType& eventIn );
216 virtual void onClickLinkSecondLife( const EventType& eventIn ); 220 virtual void onClickLinkSecondLife( const EventType& eventIn );
221
222 protected:
223 void convertInputCoords(S32& x, S32& y);
217 224
218 private: 225 private:
219 LLWebBrowserCtrlEventEmitter< LLWebBrowserCtrlObserver > mEventEmitter; 226 LLWebBrowserCtrlEventEmitter< LLWebBrowserCtrlObserver > mEventEmitter;
@@ -224,6 +231,7 @@ class LLWebBrowserCtrl :
224 bool mFrequentUpdates; 231 bool mFrequentUpdates;
225 bool mOpenLinksInExternalBrowser; 232 bool mOpenLinksInExternalBrowser;
226 std::string mHomePageUrl; 233 std::string mHomePageUrl;
234 bool mIgnoreUIScale;
227}; 235};
228 236
229//////////////////////////////////////////////////////////////////////////////// 237////////////////////////////////////////////////////////////////////////////////