~ubuntu-branches/ubuntu/trusty/codeblocks/trusty-proposed

« back to all changes in this revision

Viewing changes to src/plugins/defaultmimehandler/EmbeddedHtmlPanel.h

  • Committer: Package Import Robot
  • Author(s): Vincent Cheng
  • Date: 2013-05-06 00:20:02 UTC
  • mfrom: (6.1.2 experimental)
  • Revision ID: package-import@ubuntu.com-20130506002002-ngc7bwkewnak8fja
Tags: 12.11-3
* Upload to unstable.
* Update watch file, thanks to Bart Martens.

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
#define EMBEDDEDHTMLPANEL_H
8
8
 
9
9
#ifndef CB_PRECOMP
10
 
        //(*HeadersPCH(EmbeddedHtmlPanel)
11
 
        #include <wx/panel.h>
12
 
        class wxStaticText;
13
 
        class wxBitmapButton;
14
 
        class wxBoxSizer;
15
 
        //*)
 
10
    //(*HeadersPCH(EmbeddedHtmlPanel)
 
11
    #include <wx/panel.h>
 
12
    class wxStaticText;
 
13
    class wxBitmapButton;
 
14
    class wxBoxSizer;
 
15
    //*)
16
16
#endif
17
17
//(*Headers(EmbeddedHtmlPanel)
18
18
class wxHtmlWindow;
22
22
 
23
23
class EmbeddedHtmlPanel: public wxPanel
24
24
{
25
 
        public:
26
 
 
27
 
                EmbeddedHtmlPanel(wxWindow* parent);
28
 
                virtual ~EmbeddedHtmlPanel();
29
 
 
30
 
                void Open(const wxString& url);
31
 
 
32
 
                //(*Declarations(EmbeddedHtmlPanel)
33
 
                wxBitmapButton* btnBack;
34
 
                wxPanel* Panel1;
35
 
                wxHtmlWindow* winHtml;
36
 
                wxStaticText* lblStatus;
37
 
                wxBitmapButton* btnForward;
38
 
                //*)
39
 
 
40
 
        protected:
41
 
 
42
 
                //(*Identifiers(EmbeddedHtmlPanel)
43
 
                static const long ID_BITMAPBUTTON2;
44
 
                static const long ID_BITMAPBUTTON3;
45
 
                static const long ID_STATICTEXT1;
46
 
                static const long ID_PANEL1;
47
 
                static const long ID_HTMLWINDOW1;
48
 
                //*)
49
 
 
50
 
        private:
 
25
    public:
 
26
 
 
27
        EmbeddedHtmlPanel(wxWindow* parent);
 
28
        virtual ~EmbeddedHtmlPanel();
 
29
 
 
30
        void Open(const wxString& url);
 
31
 
 
32
        //(*Declarations(EmbeddedHtmlPanel)
 
33
        wxBitmapButton* btnBack;
 
34
        wxPanel* Panel1;
 
35
        wxHtmlWindow* winHtml;
 
36
        wxStaticText* lblStatus;
 
37
        wxBitmapButton* btnForward;
 
38
        //*)
 
39
 
 
40
    protected:
 
41
 
 
42
        //(*Identifiers(EmbeddedHtmlPanel)
 
43
        static const long ID_BITMAPBUTTON2;
 
44
        static const long ID_BITMAPBUTTON3;
 
45
        static const long ID_STATICTEXT1;
 
46
        static const long ID_PANEL1;
 
47
        static const long ID_HTMLWINDOW1;
 
48
        //*)
 
49
 
 
50
    private:
51
51
        void OnUpdateUI(wxUpdateUIEvent& event);
52
52
        void OnLinkClicked(wxHtmlLinkEvent &event);
53
53
 
54
 
                //(*Handlers(EmbeddedHtmlPanel)
55
 
                void OnbtnBackClick(wxCommandEvent& event);
56
 
                void OnbtnForwardClick(wxCommandEvent& event);
57
 
                //*)
 
54
        //(*Handlers(EmbeddedHtmlPanel)
 
55
        void OnbtnBackClick(wxCommandEvent& event);
 
56
        void OnbtnForwardClick(wxCommandEvent& event);
 
57
        //*)
58
58
 
59
 
                DECLARE_EVENT_TABLE()
 
59
        DECLARE_EVENT_TABLE()
60
60
};
61
61
 
62
62
#endif