-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMiniDocPanel.h
More file actions
38 lines (28 loc) · 863 Bytes
/
MiniDocPanel.h
File metadata and controls
38 lines (28 loc) · 863 Bytes
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
/*
* This file is part of the Code::Blocks IDE and licensed under the GNU General Public License, version 3
* http://www.gnu.org/licenses/gpl-3.0.html
*/
#ifndef MINI_DOC_PANEL_H
#define MINI_DOC_PANEL_H
#include <wx/textctrl.h>
#include <wx/sizer.h>
#include <wx/panel.h>
#include "MiniStyledTextCtrl.h"
#include "MiniStyledTextCtrlEvent.h"
class EditorBase;
class cbEditor;
class MiniDocPanel: public wxPanel
{
public:
MiniDocPanel(wxWindow* parent,wxWindowID id=wxID_ANY);
virtual ~MiniDocPanel(){}
void ShowMiniatureOf(cbEditor *ed);
void Update(cbEditor *ed);
void UpdateConfig();
protected:
void OnMiniStcLineClick(MiniStyledTextCtrlLineClickedEvent &event);
MiniStyledTextCtrl *miniStc_;
private:
DECLARE_EVENT_TABLE()
};
#endif