summaryrefslogtreecommitdiffstats
path: root/Source/CursesDialog/cmCursesMainForm.h
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2003-03-07 16:27:28 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2003-03-07 16:27:28 (GMT)
commit7a18dd8edd5362f90e5f44c4885e58bf65f78546 (patch)
tree871ad2e063805b7a9b198b57a1d867f2492df8a7 /Source/CursesDialog/cmCursesMainForm.h
parent2c676d05878ef7cc9fba06800c0d55996b76dd0a (diff)
downloadCMake-7a18dd8edd5362f90e5f44c4885e58bf65f78546.zip
CMake-7a18dd8edd5362f90e5f44c4885e58bf65f78546.tar.gz
CMake-7a18dd8edd5362f90e5f44c4885e58bf65f78546.tar.bz2
Add searching of variables
Diffstat (limited to 'Source/CursesDialog/cmCursesMainForm.h')
-rw-r--r--Source/CursesDialog/cmCursesMainForm.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/CursesDialog/cmCursesMainForm.h b/Source/CursesDialog/cmCursesMainForm.h
index 08d8f7e..4932f5c 100644
--- a/Source/CursesDialog/cmCursesMainForm.h
+++ b/Source/CursesDialog/cmCursesMainForm.h
@@ -123,6 +123,10 @@ protected:
// Remove an entry from the interface and the cache.
void RemoveEntry(const char* value);
+ // Jump to the cache value with index idx. If string str is
+ // specified, it will stop on widget that contain that string.
+ void JumpToCacheEntry(int idx, const char* str);
+
// Copies of cache entries stored in the user interface
std::vector<cmCursesCacheEntryComposite*>* m_Entries;
// Errors produced during last run of cmake
@@ -153,6 +157,10 @@ protected:
int m_InitialWidth;
cmake *m_CMakeInstance;
+
+ std::string m_SearchString;
+ std::string m_OldSearchString;
+ bool m_SearchMode;
};
#endif // __cmCursesMainForm_h