diff options
| author | John Schoenick <[email protected]> | 2015-09-09 18:35:41 -0700 |
|---|---|---|
| committer | John Schoenick <[email protected]> | 2015-09-09 18:35:41 -0700 |
| commit | 0d8dceea4310fde5706b3ce1c70609d72a38efdf (patch) | |
| tree | c831ef32c2c801a5c5a80401736b52c7b5a528ec /mp/src/public/vgui_controls/HTML.h | |
| parent | Updated the SDK with the latest code from the TF and HL2 branches. (diff) | |
| download | source-sdk-2013-0d8dceea4310fde5706b3ce1c70609d72a38efdf.tar.xz source-sdk-2013-0d8dceea4310fde5706b3ce1c70609d72a38efdf.zip | |
Diffstat (limited to 'mp/src/public/vgui_controls/HTML.h')
| -rw-r--r-- | mp/src/public/vgui_controls/HTML.h | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/mp/src/public/vgui_controls/HTML.h b/mp/src/public/vgui_controls/HTML.h index 59e76770..ad786d20 100644 --- a/mp/src/public/vgui_controls/HTML.h +++ b/mp/src/public/vgui_controls/HTML.h @@ -24,7 +24,6 @@ #endif #include "steam/steam_api.h" -class HTMLComboBoxHost; namespace vgui { @@ -80,7 +79,7 @@ public: // overridden to paint our special web browser texture virtual void Paint(); - + // pass messages to the texture component to tell it about resizes virtual void OnSizeChanged(int wide,int tall); @@ -124,7 +123,7 @@ public: void AddHeader( const char *pchHeader, const char *pchValue ); void OnKillFocus(); void OnSetFocus(); - + void Find( const char *pchSubStr ); void StopFind(); void FindNext(); @@ -147,7 +146,6 @@ public: } #endif // DBGFLAG_VALIDATE - void PaintComboBox(); ISteamHTMLSurface *SteamHTMLSurface() { return m_SteamAPIContext.SteamHTMLSurface(); } void OnHTMLMouseMoved( int x, int y ) @@ -159,20 +157,13 @@ public: protected: virtual void ApplySchemeSettings( IScheme *pScheme ); - friend class HTMLComboBoxHost; vgui::Menu *m_pContextMenu; - private: STEAM_CALLBACK( HTML, BrowserNeedsPaint, HTML_NeedsPaint_t, m_NeedsPaint ); - STEAM_CALLBACK( HTML, BrowserComboNeedsPaint, HTML_ComboNeedsPaint_t, m_ComboNeedsPaint ); STEAM_CALLBACK( HTML, BrowserStartRequest, HTML_StartRequest_t, m_StartRequest ); STEAM_CALLBACK( HTML, BrowserURLChanged, HTML_URLChanged_t, m_URLChanged ); STEAM_CALLBACK( HTML, BrowserFinishedRequest, HTML_FinishedRequest_t, m_FinishedRequest ); - STEAM_CALLBACK( HTML, BrowserShowPopup, HTML_ShowPopup_t, m_ShowPopup ); - STEAM_CALLBACK( HTML, BrowserHidePopup, HTML_HidePopup_t, m_HidePopup ); - STEAM_CALLBACK( HTML, BrowserSizePopup, HTML_SizePopup_t, m_SizePopup ); - STEAM_CALLBACK( HTML, BrowserOpenNewTab, HTML_OpenLinkInNewTab_t, m_LinkInNewTab ); STEAM_CALLBACK( HTML, BrowserSetHTMLTitle, HTML_ChangedTitle_t, m_ChangeTitle ); STEAM_CALLBACK( HTML, BrowserPopupHTMLWindow, HTML_NewWindow_t, m_NewWindow ); @@ -227,7 +218,6 @@ private: }; CHTMLFindBar *m_pFindBar; - HTMLComboBoxHost *m_pComboBoxHost; int m_iMouseX,m_iMouseY; // where the mouse is on the control @@ -255,10 +245,7 @@ private: // when the size has changed and reallocate the texture. int m_allocedTextureWidth; int m_allocedTextureHeight; - int m_iComboBoxTextureID; // vgui texture id of the combo box - bool m_bNeedsFullTextureUpload; - int m_allocedComboBoxWidth; - int m_allocedComboBoxHeight; + bool m_bNeedsFullTextureUpload; CUtlString m_sCurrentURL; // the url of our current page // find in page state bool m_bInFind; |