-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathXPMHelpPanel.h
62 lines (46 loc) · 1.49 KB
/
XPMHelpPanel.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
/***************************************************************
* Plugin: XPMEditor for Code::Blocks
* Name: XPMHelpPanel.h
* Purpose: A panel containing basic help - definition
* Author: Seb (seb_seb0@lycos.com)
* Created: 2010-05-19
* Copyright: Seb ()
* License: GPL 3.0
**************************************************************/
#ifndef XPMHELPPANEL_H
#define XPMHELPPANEL_H
//(*Headers(XPMHelpPanel)
#include <wx/sizer.h>
#include <wx/textctrl.h>
#include <wx/panel.h>
#include <wx/button.h>
//*)
class XPMEditorPanel;
class XPMHelpPanel: public wxPanel
{
public:
XPMHelpPanel(wxWindow* parent,wxWindowID id=wxID_ANY,const wxPoint& pos=wxDefaultPosition,const wxSize& size=wxDefaultSize);
virtual ~XPMHelpPanel();
void SetParentPanel(XPMEditorPanel *p); ///< \brief set the parent panel for this tool panel
//(*Declarations(XPMHelpPanel)
wxButton* Button1;
wxTextCtrl* TextCtrl1;
//*)
protected:
//(*Identifiers(XPMHelpPanel)
static const long ID_BUTTON1;
static const long ID_TEXTCTRL1;
//*)
//(*Handlers(XPMHelpPanel)
void OnHelpButtonClick(wxCommandEvent& event);
//*)
//help handlers
void OnWidgetsMouseLeave(wxMouseEvent& event);
void OnHelpButtonMouseEnter(wxMouseEvent& event);
void OnHelpDisplayMouseEnter(wxMouseEvent& event);
protected:
void BuildContent(wxWindow* parent,wxWindowID id,const wxPoint& pos,const wxSize& size);
XPMEditorPanel *m_parent;
DECLARE_EVENT_TABLE()
};
#endif