summaryrefslogtreecommitdiff
path: root/src/fios.h
diff options
context:
space:
mode:
authordamfr <damfr@users.noreply.github.com>2018-11-25 20:54:25 +0100
committerMichael Lutz <michi@icosahedron.de>2018-11-25 20:54:25 +0100
commit868c6f924a035779316c4875bc407c0290a0ebc6 (patch)
tree36010e9ac6383dd4fafbceef3192f1082ca540f4 /src/fios.h
parentaf4a21bd827b1baf05cdb53973b4701464f6e2f0 (diff)
downloadopenttd-868c6f924a035779316c4875bc407c0290a0ebc6.tar.xz
Add: Filter box to the save and load windows (#6974)
Save and heightmap names can be filtered.
Diffstat (limited to 'src/fios.h')
-rw-r--r--src/fios.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/fios.h b/src/fios.h
index 5e17e8ee1..24c9f370e 100644
--- a/src/fios.h
+++ b/src/fios.h
@@ -18,6 +18,13 @@
#include "network/core/tcp_content.h"
+/** Special values for save-load window for the data parameter of #InvalidateWindowData. */
+enum SaveLoadInvalidateWindowData {
+ SLIWD_RESCAN_FILES, ///< Rescan all files (when changed directory, ...)
+ SLIWD_SELECTION_CHANGES, ///< File selection has changed (user click, ...)
+ SLIWD_FILTER_CHANGES, ///< The filename filter has changed (via the editbox)
+};
+
typedef SmallMap<uint, CompanyProperties *> CompanyPropertiesMap;
/**