notcurses/include/ncpp/CellStyle.hh

25 lines
429 B
C++
Raw Normal View History

2020-02-02 08:14:45 +00:00
#ifndef __NCPP_NCSTYLE_HH
#define __NCPP_NCSTYLE_HH
2020-01-07 22:51:34 +00:00
#include <cstdint>
#include <notcurses/notcurses.h>
2020-01-07 22:51:34 +00:00
#include "_flag_enum_operator_helpers.hh"
namespace ncpp
{
enum class CellStyle : uint32_t
{
None = 0,
2020-02-02 08:14:45 +00:00
Underline = NCSTYLE_UNDERLINE,
Bold = NCSTYLE_BOLD,
Italic = NCSTYLE_ITALIC,
2020-11-26 00:58:53 +00:00
Struck = NCSTYLE_STRUCK,
Undercurl = NCSTYLE_UNDERCURL,
2020-01-07 22:51:34 +00:00
};
DECLARE_ENUM_FLAG_OPERATORS (CellStyle)
}
#endif