summaryrefslogtreecommitdiff
path: root/Source/CursesDialog/cmCursesMainForm.h
diff options
context:
space:
mode:
authorBerk Geveci <berk.geveci@kitware.com>2001-11-30 10:51:30 -0500
committerBerk Geveci <berk.geveci@kitware.com>2001-11-30 10:51:30 -0500
commitd6e0f7da0cccef416ef2e31b8c5f225d4b429f11 (patch)
treeecc4341edeefefc5835589ab41ad5ce76b384d38 /Source/CursesDialog/cmCursesMainForm.h
parent906ebb5547e93a173017a987d5bceb417503b640 (diff)
downloadcmake-d6e0f7da0cccef416ef2e31b8c5f225d4b429f11.tar.gz
Since it is being used as an array size in another file, it is not possible to initialize MAX_WIDTH in a .cxx file.
Diffstat (limited to 'Source/CursesDialog/cmCursesMainForm.h')
-rw-r--r--Source/CursesDialog/cmCursesMainForm.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/Source/CursesDialog/cmCursesMainForm.h b/Source/CursesDialog/cmCursesMainForm.h
index 38be712fd1..aa6c0ed2f3 100644
--- a/Source/CursesDialog/cmCursesMainForm.h
+++ b/Source/CursesDialog/cmCursesMainForm.h
@@ -31,10 +31,12 @@ public:
// list of current composites.
bool LookForCacheEntry(const char* key);
- static const int MIN_WIDTH;
- static const int MIN_HEIGHT;
- static const int IDEAL_WIDTH;
- static const int MAX_WIDTH;
+ enum {
+ MIN_WIDTH = 65,
+ MIN_HEIGHT = 6,
+ IDEAL_WIDTH = 80,
+ MAX_WIDTH = 512
+ };
// Description:
// This method should normally called only by the form.