diff options
author | Berk Geveci <berk.geveci@kitware.com> | 2002-05-01 15:34:27 (GMT) |
---|---|---|
committer | Berk Geveci <berk.geveci@kitware.com> | 2002-05-01 15:34:27 (GMT) |
commit | d53458de9ac298344a87d6703de78991d6770832 (patch) | |
tree | 7f8c3c274d6bda9633ce82c9ba45e8c632299323 /Source/CursesDialog/cmCursesCacheEntryComposite.h | |
parent | d0d25bb989bb0f3db290a2cb935c310aa06ec50b (diff) | |
download | CMake-d53458de9ac298344a87d6703de78991d6770832.zip CMake-d53458de9ac298344a87d6703de78991d6770832.tar.gz CMake-d53458de9ac298344a87d6703de78991d6770832.tar.bz2 |
The entry widgets are now created with what is initially available on the terminal.
Diffstat (limited to 'Source/CursesDialog/cmCursesCacheEntryComposite.h')
-rw-r--r-- | Source/CursesDialog/cmCursesCacheEntryComposite.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/CursesDialog/cmCursesCacheEntryComposite.h b/Source/CursesDialog/cmCursesCacheEntryComposite.h index 1d55433..2145d1c 100644 --- a/Source/CursesDialog/cmCursesCacheEntryComposite.h +++ b/Source/CursesDialog/cmCursesCacheEntryComposite.h @@ -23,10 +23,10 @@ class cmCursesCacheEntryComposite { public: - cmCursesCacheEntryComposite(const char* key); + cmCursesCacheEntryComposite(const char* key, int labelwidth, int entrywidth); cmCursesCacheEntryComposite(const char* key, const cmCacheManager::CacheEntry& value, - bool isNew); + bool isNew, int labelwidth, int entrywidth); ~cmCursesCacheEntryComposite(); const char* GetValue(); @@ -40,6 +40,8 @@ protected: cmCursesLabelWidget* m_IsNewLabel; cmCursesWidget* m_Entry; std::string m_Key; + int m_LabelWidth; + int m_EntryWidth; }; #endif // __cmCursesCacheEntryComposite_h |