summaryrefslogtreecommitdiff
path: root/library/CustomGrid.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 16:50:14 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 16:50:14 +0200
commitad0ea7798b82cc3a4dfed4c2fce6f2cb1b6805e4 (patch)
treedcc7dd2ed76fd0900944c07776fcbdbcd665c020 /library/CustomGrid.h
parent1.5 (diff)
downloadFreeFileSync-ad0ea7798b82cc3a4dfed4c2fce6f2cb1b6805e4.tar.gz
FreeFileSync-ad0ea7798b82cc3a4dfed4c2fce6f2cb1b6805e4.tar.bz2
FreeFileSync-ad0ea7798b82cc3a4dfed4c2fce6f2cb1b6805e4.zip
1.6
Diffstat (limited to 'library/CustomGrid.h')
-rw-r--r--library/CustomGrid.h22
1 files changed, 12 insertions, 10 deletions
diff --git a/library/CustomGrid.h b/library/CustomGrid.h
index 951aadc3..0679c6c7 100644
--- a/library/CustomGrid.h
+++ b/library/CustomGrid.h
@@ -1,27 +1,27 @@
#ifndef CUSTOMGRID_H_INCLUDED
#define CUSTOMGRID_H_INCLUDED
-#include "../ui/mainDialog.h"
#include <vector>
#include <wx/grid.h>
+#include "../FreeFileSync.h"
using namespace std;
-extern int leadingPanel;
-
class CustomGridTableBase;
//##################################################################################
+extern int leadingPanel;
+
class CustomGrid : public wxGrid
{
public:
- CustomGrid( wxWindow *parent,
- wxWindowID id,
- const wxPoint& pos = wxDefaultPosition,
- const wxSize& size = wxDefaultSize,
- long style = wxWANTS_CHARS,
- const wxString& name = wxGridNameStr );
+ CustomGrid(wxWindow *parent,
+ wxWindowID id,
+ const wxPoint& pos = wxDefaultPosition,
+ const wxSize& size = wxDefaultSize,
+ long style = wxWANTS_CHARS,
+ const wxString& name = wxGridNameStr);
~CustomGrid();
@@ -37,7 +37,7 @@ public:
void setScrollFriends(CustomGrid* grid1, CustomGrid* grid2, CustomGrid* grid3);
- void setGridDataTable(UI_Grid* currentUI_ViewPtr);
+ void setGridDataTable(GridView* gridRefUI, FileCompareResult* gridData);
void updateGridSizes();
@@ -47,6 +47,8 @@ public:
void DrawColLabel( wxDC& dc, int col );
private:
+ void adjustGridHeights();
+
bool scrollbarsEnabled;
CustomGrid* m_grid1;
bgstack15