mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-01 11:22:21 -06:00
The colors are based on the entry type (or value for booleans), paths and filepaths sharing the same color.
25 lines
430 B
C++
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
|