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>
|
|
|
|
|
2020-02-18 17:36:16 +00:00
|
|
|
#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-01-07 22:51:34 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
DECLARE_ENUM_FLAG_OPERATORS (CellStyle)
|
|
|
|
}
|
|
|
|
#endif
|