diff options
author | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:19:14 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:19:14 +0200 |
commit | 01eb8253196672c969a39587e90b49321a182428 (patch) | |
tree | 4a3b71d7913de519744466c9227fda6461c4f0b5 /ui/custom_grid.h | |
parent | 5.0 (diff) | |
download | FreeFileSync-01eb8253196672c969a39587e90b49321a182428.tar.gz FreeFileSync-01eb8253196672c969a39587e90b49321a182428.tar.bz2 FreeFileSync-01eb8253196672c969a39587e90b49321a182428.zip |
5.1
Diffstat (limited to 'ui/custom_grid.h')
-rw-r--r-- | ui/custom_grid.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ui/custom_grid.h b/ui/custom_grid.h index 4c07c150..8993777b 100644 --- a/ui/custom_grid.h +++ b/ui/custom_grid.h @@ -28,7 +28,7 @@ std::vector<ColumnAttributeRim> convertConfig(const std::vector<Grid::ColumnA void setSyncPreviewActive(Grid& grid, bool value); -void setIconSize(Grid& grid, IconBuffer::IconSize sz); +void setupIcons(Grid& grid, bool show, IconBuffer::IconSize sz); void clearSelection(Grid& grid); //clear all components @@ -51,22 +51,22 @@ extern const wxEventType EVENT_GRID_SYNC_DIRECTION; struct CheckRowsEvent : public wxCommandEvent { - CheckRowsEvent(int rowFrom, int rowTo, bool setIncluded) : wxCommandEvent(EVENT_GRID_CHECK_ROWS), rowFrom_(rowFrom), rowTo_(rowTo), setIncluded_(setIncluded) {} + CheckRowsEvent(ptrdiff_t rowFrom, ptrdiff_t rowTo, bool setIncluded) : wxCommandEvent(EVENT_GRID_CHECK_ROWS), rowFrom_(rowFrom), rowTo_(rowTo), setIncluded_(setIncluded) {} virtual wxEvent* Clone() const { return new CheckRowsEvent(*this); } - const int rowFrom_; - const int rowTo_; + const ptrdiff_t rowFrom_; + const ptrdiff_t rowTo_; const bool setIncluded_; }; struct SyncDirectionEvent : public wxCommandEvent { - SyncDirectionEvent(int rowFrom, int rowTo, SyncDirection direction) : wxCommandEvent(EVENT_GRID_SYNC_DIRECTION), rowFrom_(rowFrom), rowTo_(rowTo), direction_(direction) {} + SyncDirectionEvent(ptrdiff_t rowFrom, ptrdiff_t rowTo, SyncDirection direction) : wxCommandEvent(EVENT_GRID_SYNC_DIRECTION), rowFrom_(rowFrom), rowTo_(rowTo), direction_(direction) {} virtual wxEvent* Clone() const { return new SyncDirectionEvent(*this); } - const int rowFrom_; - const int rowTo_; + const ptrdiff_t rowFrom_; + const ptrdiff_t rowTo_; const SyncDirection direction_; }; |