Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HtmlWindow.h
Go to the documentation of this file.
1 // -*- c-basic-offset: 4 -*-
2 
12 /* This is free software; you can redistribute it and/or
13  * modify it under the terms of the GNU General Public
14  * License as published by the Free Software Foundation; either
15  * version 2 of the License, or (at your option) any later version.
16  *
17  * This software is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20  * Lesser General Public License for more details.
21  *
22  * You should have received a copy of the GNU General Public
23  * License along with this software. If not, see
24  * <http://www.gnu.org/licenses/>.
25  *
26  */
27 
28 #ifndef _HTMLWINDOW_H
29 #define _HTMLWINDOW_H
30 
31 // standard wx include
32 #include "panoinc.h"
33 #include "panoinc_WX.h"
34 #include "wx/xrc/xh_html.h"
35 
43 class HtmlWindow: public wxHtmlWindow
44 {
45  public:
46  void OnLinkClicked(const wxHtmlLinkInfo&);
47 
48  private:
49  DECLARE_DYNAMIC_CLASS(HtmlWindow)
50 };
51 
53 class HtmlWindowXmlHandler : public wxHtmlWindowXmlHandler
54 {
55  DECLARE_DYNAMIC_CLASS(HtmlWindowXmlHandler)
56 
57 public:
59  virtual wxObject *DoCreateResource();
61  virtual bool CanHandle(wxXmlNode *node);
62 };
63 
64 #endif // _HTMLWINDOW_H
include file for the hugin project
virtual wxObject * DoCreateResource()
creates the object from ressource
Definition: HtmlWindow.cpp:46
Modified wxHtmlWindow for open external links.
Definition: HtmlWindow.h:43
include file for the hugin project
virtual bool CanHandle(wxXmlNode *node)
Internal use to identify right xml handler.
Definition: HtmlWindow.cpp:87
void OnLinkClicked(const wxHtmlLinkInfo &)
Definition: HtmlWindow.cpp:36
xrc handler for HTMLWindow
Definition: HtmlWindow.h:53