1/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying 2 file LICENSE.rst or https://cmake.org/licensing for details. */ 3#pragma once 4 5class cmCursesColor 6{ 7public: 8 enum Color 9 { 10 // Default color is pair 0 11 BoolOff = 1, 12 BoolOn, 13 String, 14 Path, 15 Choice 16 }; 17 18 static bool HasColors(); 19 20 static void InitColors(); 21 22protected: 23 static short GetColor(char id, short fallback); 24}; 25 26