X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/90f011dc6c50fe58172d90833d94e3b375ad0a08..36a0190ebd5bd9a7302f60f6dcd608b80574e21c:/interface/wx/html/htmlcell.h?ds=inline diff --git a/interface/wx/html/htmlcell.h b/interface/wx/html/htmlcell.h index 4f23a89c14..aa542d657b 100644 --- a/interface/wx/html/htmlcell.h +++ b/interface/wx/html/htmlcell.h @@ -2,7 +2,6 @@ // Name: html/htmlcell.h // Purpose: interface of wxHtml*Cell // Author: wxWidgets team -// RCS-ID: $Id$ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -319,9 +318,26 @@ public: @param window interface to the parent HTML window + + @see GetMouseCursorAt() */ virtual wxCursor GetMouseCursor(wxHtmlWindowInterface* window) const; + /** + Returns cursor to show when mouse pointer is over the specified point. + + This function should be overridden instead of GetMouseCursorAt() if + the cursor should depend on the exact position of the mouse in the + window. + + @param window + interface to the parent HTML window + + @since 3.0 + */ + virtual wxCursor GetMouseCursorAt(wxHtmlWindowInterface* window, + const wxPoint& rePos) const; + /** Returns pointer to the next cell in list (see htmlcell.h if you're interested in details). @@ -713,3 +729,53 @@ public: */ wxHtmlWidgetCell(wxWindow* wnd, int w = 0); }; + + + +/** + @class wxHtmlWordCell + + This html cell represents a single word or text fragment in the document stream. + + @library{wxhtml} + @category{html} +*/ +class wxHtmlWordCell : public wxHtmlCell +{ +public: + wxHtmlWordCell(const wxString& word, const wxDC& dc); +}; + + +/** + @class wxHtmlWordWithTabsCell + + wxHtmlWordCell is a specialization for storing text fragments with + embedded tab characters. + + @library{wxhtml} + @category{html} +*/ +class wxHtmlWordWithTabsCell : public wxHtmlWordCell +{ +public: + wxHtmlWordWithTabsCell(const wxString& word, + const wxString& wordOrig, + size_t linepos, + const wxDC& dc); +}; + + +/** + @class wxHtmlFontCell + + This cell represents a font change in the document stream. + + @library{wxhtml} + @category{html} +*/ +class wxHtmlFontCell : public wxHtmlCell +{ +public: + wxHtmlFontCell(wxFont *font); +};