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
|
|
|
Underline = NCSTYLE_UNDERLINE,
|
|
|
|
Bold = NCSTYLE_BOLD,
|
|
|
|
Italic = NCSTYLE_ITALIC,
|
2020-11-26 00:58:53 +00:00
|
|
|
Struck = NCSTYLE_STRUCK,
|
2021-06-24 06:13:57 +00:00
|
|
|
Undercurl = NCSTYLE_UNDERCURL,
|
2020-01-07 22:51:34 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
DECLARE_ENUM_FLAG_OPERATORS (CellStyle)
|
|
|
|
}
|
|
|
|
#endif
|