diff options
author | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:07:43 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:07:43 +0200 |
commit | 4226e548662339ea1ca37b45385a7cf9b237ff1e (patch) | |
tree | 9a3fa54b85d97f05164e41bdb96b82f748a37342 /library/CustomGrid.h | |
parent | 3.7 (diff) | |
download | FreeFileSync-4226e548662339ea1ca37b45385a7cf9b237ff1e.tar.gz FreeFileSync-4226e548662339ea1ca37b45385a7cf9b237ff1e.tar.bz2 FreeFileSync-4226e548662339ea1ca37b45385a7cf9b237ff1e.zip |
3.8
Diffstat (limited to 'library/CustomGrid.h')
-rw-r--r-- | library/CustomGrid.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/library/CustomGrid.h b/library/CustomGrid.h index 5f1823c0..0cace1a9 100644 --- a/library/CustomGrid.h +++ b/library/CustomGrid.h @@ -60,11 +60,13 @@ public: virtual ~CustomGrid() {} - void initSettings(CustomGridLeft* gridLeft, + void initSettings(CustomGridLeft* gridLeft, //create connection with FreeFileSync::GridView CustomGridMiddle* gridMiddle, CustomGridRight* gridRight, const FreeFileSync::GridView* gridDataView); + void release(); //release connection to FreeFileSync::GridView + std::set<size_t> getAllSelectedRows() const; //set sort direction indicator on UI @@ -112,7 +114,6 @@ class GridCellRenderer; //----------------------------------------------------------- -#ifdef FFS_WIN class IconUpdater : private wxEvtHandler //update file icons periodically: use SINGLE instance to coordinate left and right grid at once { public: @@ -127,7 +128,6 @@ private: std::auto_ptr<wxTimer> m_timer; //user timer event to periodically update icons: better than idle event because also active when scrolling! :) }; -#endif //############## SPECIALIZATIONS ################### @@ -159,15 +159,12 @@ public: void autoSizeColumns(); //performance optimized column resizer void autoSizeColumns(int col, bool doRefresh = true); // -#ifdef FFS_WIN void enableFileIcons(const bool value); -#endif private: CustomGridTableRim* getGridDataTable(); virtual const CustomGridTableRim* getGridDataTable() const = 0; -#ifdef FFS_WIN //asynchronous icon loading void getIconsToBeLoaded(std::vector<Zstring>& newLoad); //loads all (not yet) drawn icons @@ -183,7 +180,6 @@ private: LoadSuccess loadIconSuccess; //save status of last icon load when drawing on GUI bool fileIconsAreEnabled; -#endif xmlAccess::ColumnAttributes columnSettings; //set visibility, position and width of columns }; |