Overhaul IE zoom functions to support both text and optical zoom.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -112,19 +112,11 @@ public:
|
||||
bool IsOfflineMode();
|
||||
void SetOfflineMode(bool offline);
|
||||
|
||||
/**
|
||||
* Get text zoom
|
||||
* @return text zoom from 0 to 4
|
||||
*/
|
||||
int GetIETextZoom();
|
||||
wxWebViewZoom GetIETextZoom();
|
||||
void SetIETextZoom(wxWebViewZoom level);
|
||||
|
||||
/**
|
||||
* @param level 0 to 4
|
||||
*/
|
||||
void SetIETextZoom(int level);
|
||||
|
||||
void SetIEOpticalZoom(float zoom);
|
||||
float GetIEOpticalZoom();
|
||||
wxWebViewZoom GetIEOpticalZoom();
|
||||
void SetIEOpticalZoom(wxWebViewZoom level);
|
||||
|
||||
void onActiveXEvent(wxActiveXEvent& evt);
|
||||
void onEraseBg(wxEraseEvent&) {}
|
||||
@@ -139,6 +131,9 @@ private:
|
||||
bool m_canNavigateBack;
|
||||
bool m_canNavigateForward;
|
||||
|
||||
//We store the current zoom type;
|
||||
wxWebViewZoomType m_zoomType;
|
||||
|
||||
/** The "Busy" property of IWebBrowser2 does not always return busy when
|
||||
* we'd want it to; this variable may be set to true in cases where the
|
||||
* Busy property is false but should be true.
|
||||
|
Reference in New Issue
Block a user