mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-06 03:20:26 +00:00
29 lines
535 B
C++
29 lines
535 B
C++
#ifndef __NCPP_NCSTYLE_HH
|
|
#define __NCPP_NCSTYLE_HH
|
|
|
|
#include <cstdint>
|
|
|
|
#include <notcurses.h>
|
|
|
|
#include "_flag_enum_operator_helpers.hh"
|
|
|
|
namespace ncpp
|
|
{
|
|
enum class CellStyle : uint32_t
|
|
{
|
|
None = 0,
|
|
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,
|
|
};
|
|
|
|
DECLARE_ENUM_FLAG_OPERATORS (CellStyle)
|
|
}
|
|
#endif
|