Files
CMake/Source/CursesDialog/cmCursesColor.h
Sylvain Joubert 93b66735ac ccmake: Use type-based colors to display cache values
The colors are based on the entry type (or value for booleans),
paths and filepaths sharing the same color.
2019-11-04 18:59:20 +01:00

25 lines
430 B
C++

/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
file Copyright.txt or https://cmake.org/licensing for details. */
#ifndef cmCursesColor_h
#define cmCursesColor_h
class cmCursesColor
{
public:
enum Color
{
// Default color is pair 0
BoolOff = 1,
BoolOn,
String,
Path,
Options
};
static bool HasColors();
static void InitColors();
};
#endif // cmCursesColor_h