notcurses/include/ncpp/CellStyle.hh

30 lines
575 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
Standout = NCSTYLE_STANDOUT,
Underline = NCSTYLE_UNDERLINE,
Reverse = NCSTYLE_REVERSE,
Blink = NCSTYLE_BLINK,
Dim = NCSTYLE_DIM,
Bold = NCSTYLE_BOLD,
Invis = NCSTYLE_INVIS,
Protect = NCSTYLE_PROTECT,
Italic = NCSTYLE_ITALIC,
2020-11-26 00:58:53 +00:00
Struck = NCSTYLE_STRUCK,
2020-01-07 22:51:34 +00:00
};
DECLARE_ENUM_FLAG_OPERATORS (CellStyle)
}
#endif