Notcurses
3.0.13
a blingful library for TUIs and character graphics
Loading...
Searching...
No Matches
CellStyle.hh
Go to the documentation of this file.
1
#ifndef __NCPP_NCSTYLE_HH
2
#define __NCPP_NCSTYLE_HH
3
4
#include <cstdint>
5
6
#include <
notcurses/notcurses.h
>
7
8
#include "
_flag_enum_operator_helpers.hh
"
9
10
namespace
ncpp
11
{
12
enum class
CellStyle
: uint32_t
13
{
14
None
= 0,
15
Underline
=
NCSTYLE_UNDERLINE
,
16
Bold
=
NCSTYLE_BOLD
,
17
Italic
=
NCSTYLE_ITALIC
,
18
Struck
=
NCSTYLE_STRUCK
,
19
Undercurl
=
NCSTYLE_UNDERCURL
,
20
};
21
22
DECLARE_ENUM_FLAG_OPERATORS
(
CellStyle
)
23
}
24
#endif
_flag_enum_operator_helpers.hh
DECLARE_ENUM_FLAG_OPERATORS
#define DECLARE_ENUM_FLAG_OPERATORS(__enum_name__)
Definition
_flag_enum_operator_helpers.hh:10
ncpp
Definition
_exceptions.hh:9
ncpp::CellStyle
CellStyle
Definition
CellStyle.hh:13
ncpp::CellStyle::Undercurl
@ Undercurl
ncpp::CellStyle::Bold
@ Bold
ncpp::CellStyle::Italic
@ Italic
ncpp::CellStyle::Struck
@ Struck
ncpp::CellStyle::None
@ None
ncpp::CellStyle::Underline
@ Underline
notcurses.h
NCSTYLE_UNDERCURL
#define NCSTYLE_UNDERCURL
Definition
notcurses.h:772
NCSTYLE_UNDERLINE
#define NCSTYLE_UNDERLINE
Definition
notcurses.h:771
NCSTYLE_ITALIC
#define NCSTYLE_ITALIC
Definition
notcurses.h:770
NCSTYLE_BOLD
#define NCSTYLE_BOLD
Definition
notcurses.h:773
NCSTYLE_STRUCK
#define NCSTYLE_STRUCK
Definition
notcurses.h:774
include
ncpp
CellStyle.hh
Generated by
1.9.8