diff options
author | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:19:49 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:19:49 +0200 |
commit | c8e0e909b4a8d18319fc65434a10dc446434817c (patch) | |
tree | eee91e7d2ce229dd043811eae8f1e2bd78061916 /ui/small_dlgs.h | |
parent | 5.2 (diff) | |
download | FreeFileSync-c8e0e909b4a8d18319fc65434a10dc446434817c.tar.gz FreeFileSync-c8e0e909b4a8d18319fc65434a10dc446434817c.tar.bz2 FreeFileSync-c8e0e909b4a8d18319fc65434a10dc446434817c.zip |
5.3
Diffstat (limited to 'ui/small_dlgs.h')
-rw-r--r-- | ui/small_dlgs.h | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/ui/small_dlgs.h b/ui/small_dlgs.h index b42f56eb..98a072cf 100644 --- a/ui/small_dlgs.h +++ b/ui/small_dlgs.h @@ -13,6 +13,8 @@ namespace zen { +//parent window, optional: support correct dialog placement above parent on multiple monitor systems + struct ReturnSmallDlg { enum ButtonPressed @@ -22,27 +24,26 @@ struct ReturnSmallDlg }; }; +void showAboutDialog(wxWindow* parent); -void showAboutDialog(); - -ReturnSmallDlg::ButtonPressed showFilterDialog(bool isGlobalFilter, FilterConfig& filter); +ReturnSmallDlg::ButtonPressed showFilterDialog(wxWindow* parent, bool isGlobalFilter, FilterConfig& filter); -ReturnSmallDlg::ButtonPressed showDeleteDialog( - const std::vector<FileSystemObject*>& rowsOnLeft, - const std::vector<FileSystemObject*>& rowsOnRight, - bool& deleteOnBothSides, - bool& useRecycleBin); +ReturnSmallDlg::ButtonPressed showDeleteDialog(wxWindow* parent, + const std::vector<FileSystemObject*>& rowsOnLeft, + const std::vector<FileSystemObject*>& rowsOnRight, + bool& deleteOnBothSides, + bool& useRecycleBin); -ReturnSmallDlg::ButtonPressed showSyncPreviewDlg( - const wxString& variantName, - const SyncStatistics& statistics, - bool& dontShowAgain); +ReturnSmallDlg::ButtonPressed showSyncPreviewDlg(wxWindow* parent, + const wxString& variantName, + const SyncStatistics& statistics, + bool& dontShowAgain); -ReturnSmallDlg::ButtonPressed showCompareCfgDialog(CompConfig& cmpConfig); +ReturnSmallDlg::ButtonPressed showCompareCfgDialog(wxWindow* parent, CompConfig& cmpConfig); -ReturnSmallDlg::ButtonPressed showGlobalSettingsDlg(xmlAccess::XmlGlobalSettings& globalSettings); +ReturnSmallDlg::ButtonPressed showGlobalSettingsDlg(wxWindow* parent, xmlAccess::XmlGlobalSettings& globalSettings); -ReturnSmallDlg::ButtonPressed showSelectTimespanDlg(Int64& timeFrom, Int64& timeTo); +ReturnSmallDlg::ButtonPressed showSelectTimespanDlg(wxWindow* parent, Int64& timeFrom, Int64& timeTo); } #endif // SMALLDIALOGS_H_INCLUDED |