| 1 |
#ifndef GRIDWRAPPER_H |
| 2 |
#define GRIDWRAPPER_H |
| 3 |
|
| 4 |
#include "grid_column_wrapper.h" |
| 5 |
#include "grid_row_wrapper.h" |
| 6 |
#include "wxc_widget.h" // Base class: WrapperBase |
| 7 |
|
| 8 |
class GridWrapper : public wxcWidget |
| 9 |
{ |
| 10 |
public: |
| 11 |
GridWrapper(); |
| 12 |
virtual ~GridWrapper(); |
| 13 |
|
| 14 |
// Since version 1.2 we want to change the columns/lines management |
| 15 |
virtual void UnSerialize(const JSONElement& json); |
| 16 |
|
| 17 |
protected: |
| 18 |
void GetRowsCols(GridRowWrapper::Vector_t& rows, GridColumnWrapper::Vector_t& cols) const; |
| 19 |
|
| 20 |
public: |
| 21 |
virtual wxcWidget* Clone() const; |
| 22 |
virtual wxString CppCtorCode() const; |
| 23 |
virtual void GetIncludeFile(wxArrayString& headers) const; |
| 24 |
virtual wxString GetWxClassName() const; |
| 25 |
virtual void ToXRC(wxString& text, XRC_TYPE type) const; |
| 26 |
}; |
| 27 |
|
| 28 |
#endif // GRIDWRAPPER_H |