wxHTML src code indentation now conforms (more) to wxWin coding style

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2000-11-05 14:59:59 +00:00
parent 1da7aa8c4a
commit 4f9297b0ee
23 changed files with 1437 additions and 1115 deletions

View File

@@ -81,12 +81,12 @@ class WXDLLEXPORT wxHtmlCell : public wxObject
// This method returns pointer to the FIRST cell for that
// the condition
// is true. It first checks if the condition is true for this
// cell and then calls m_Next -> Find(). (Note: it checks
// cell and then calls m_Next->Find(). (Note: it checks
// all subcells if the cell is container)
// Condition is unique condition identifier (see htmldefs.h)
// (user-defined condition IDs should start from 10000)
// and param is optional parameter
// Example : m_Cell -> Find(wxHTML_COND_ISANCHOR, "news");
// Example : m_Cell->Find(wxHTML_COND_ISANCHOR, "news");
// returns pointer to anchor news
virtual void OnMouseClick(wxWindow *parent, int x, int y, const wxMouseEvent& event);
@@ -289,7 +289,7 @@ class WXDLLEXPORT wxHtmlWidgetCell : public wxHtmlCell
// if w != 0 then the m_Wnd has 'floating' width - it adjust
// it's width according to parent container's width
// (w is percent of parent's width)
~wxHtmlWidgetCell() { m_Wnd -> Destroy(); }
~wxHtmlWidgetCell() { m_Wnd->Destroy(); }
virtual void Draw(wxDC& dc, int x, int y, int view_y1, int view_y2);
virtual void DrawInvisible(wxDC& dc, int x, int y);
virtual void Layout(int w);

View File

@@ -174,7 +174,7 @@ class WXDLLEXPORT wxHtmlTagHandler : public wxObject
// FALSE etherwise
protected:
void ParseInner(const wxHtmlTag& tag) {m_Parser -> DoParsing(tag.GetBeginPos(), tag.GetEndPos1());}
void ParseInner(const wxHtmlTag& tag) {m_Parser->DoParsing(tag.GetBeginPos(), tag.GetEndPos1());}
// parses input between beginning and ending tag.
// m_Parser must be set.
};

View File

@@ -87,7 +87,7 @@ I STRONGLY recommend reading and understanding these macros!!
#define TAGS_MODULE_ADD(handler) \
parser -> AddTagHandler(new HTML_Handler_##handler);
parser->AddTagHandler(new HTML_Handler_##handler);

View File

@@ -57,7 +57,7 @@ class WXDLLEXPORT wxHtmlWinParser : public wxHtmlParser
// NOTE : these functions do _not_ return _actual_
// height/width. They return h/w of default font
// for this DC. If you want actual values, call
// GetDC() -> GetChar...()
// GetDC()->GetChar...()
wxWindow *GetWindow() {return m_Window;}
// returns associated wxWindow
@@ -71,7 +71,7 @@ class WXDLLEXPORT wxHtmlWinParser : public wxHtmlParser
// parsing-related methods. These methods are called by tag handlers:
wxHtmlContainerCell *GetContainer() const {return m_Container;}
// Returns pointer to actual container. Common use in tag handler is :
// m_WParser -> GetContainer() -> InsertCell(new ...);
// m_WParser->GetContainer()->InsertCell(new ...);
wxHtmlContainerCell *OpenContainer();
// opens new container. This container is sub-container of opened
// container. Sets GetContainer to newly created container