summaryrefslogtreecommitdiff
path: root/LiteEditor/editorsettingsfoldingbase.h
blob: de006394b31b71e464c72c03e84420b70c8d30a9 (plain)
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
//////////////////////////////////////////////////////////////////////
// This file was auto-generated by codelite's wxCrafter Plugin
// wxCrafter project file: editor_options_folding.wxcp
// Do not modify this file by hand!
//////////////////////////////////////////////////////////////////////

#ifndef CODELITE_LITEEDITOR_EDITOR_OPTIONS_FOLDING_BASE_CLASSES_H
#define CODELITE_LITEEDITOR_EDITOR_OPTIONS_FOLDING_BASE_CLASSES_H

#include <wx/settings.h>
#include <wx/xrc/xmlres.h>
#include <wx/xrc/xh_bmp.h>
#include <wx/panel.h>
#include <wx/artprov.h>
#include <wx/sizer.h>
#include <wx/checkbox.h>
#include <wx/statbox.h>
#include <wx/choice.h>
#include <wx/arrstr.h>
#if wxVERSION_NUMBER >= 2900
#include <wx/persist.h>
#include <wx/persist/toplevel.h>
#include <wx/persist/bookctrl.h>
#include <wx/persist/treebook.h>
#endif

class EditorSettingsFoldingBase : public wxPanel
{
protected:
    wxCheckBox* m_displayMargin;
    wxChoice* m_foldStyle;
    wxCheckBox* m_underlineFolded;
    wxCheckBox* m_foldElse;
    wxCheckBox* m_foldPreprocessors;
    wxCheckBox* m_foldCompact;
    wxCheckBox* m_checkBoxHighlightFolding;

protected:
    virtual void OnFoldingMarginUI(wxUpdateUIEvent& event) { event.Skip(); }

public:
    wxCheckBox* GetDisplayMargin() { return m_displayMargin; }
    wxChoice* GetFoldStyle() { return m_foldStyle; }
    wxCheckBox* GetUnderlineFolded() { return m_underlineFolded; }
    wxCheckBox* GetFoldElse() { return m_foldElse; }
    wxCheckBox* GetFoldPreprocessors() { return m_foldPreprocessors; }
    wxCheckBox* GetFoldCompact() { return m_foldCompact; }
    wxCheckBox* GetCheckBoxHighlightFolding() { return m_checkBoxHighlightFolding; }
    EditorSettingsFoldingBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(-1,-1), long style = wxTAB_TRAVERSAL);
    virtual ~EditorSettingsFoldingBase();
};

#endif