| 1 |
#ifndef STYLEDTEXTCTRLWRAPPER_H |
| 2 |
#define STYLEDTEXTCTRLWRAPPER_H |
| 3 |
|
| 4 |
#include "wxc_widget.h" // Base class: WrapperBase |
| 5 |
#include <map> |
| 6 |
|
| 7 |
class StyledTextCtrlWrapper : public wxcWidget |
| 8 |
{ |
| 9 |
public: |
| 10 |
typedef std::map<wxString, int> LexersMap_t; |
| 11 |
|
| 12 |
protected: |
| 13 |
static LexersMap_t m_lexers; |
| 14 |
wxArrayString m_wrapOptions; |
| 15 |
wxArrayString m_eolMode; |
| 16 |
wxArrayString m_indentGuides; |
| 17 |
|
| 18 |
protected: |
| 19 |
wxArrayString GetLexers() const; |
| 20 |
|
| 21 |
public: |
| 22 |
StyledTextCtrlWrapper(); |
| 23 |
virtual ~StyledTextCtrlWrapper(); |
| 24 |
|
| 25 |
public: |
| 26 |
virtual wxcWidget* Clone() const; |
| 27 |
virtual wxString CppCtorCode() const; |
| 28 |
void GetIncludeFile(wxArrayString& headers) const; |
| 29 |
wxString GetWxClassName() const; |
| 30 |
void ToXRC(wxString& text, XRC_TYPE type) const; |
| 31 |
}; |
| 32 |
|
| 33 |
#endif // STYLEDTEXTCTRLWRAPPER_H |