File: CellStyle.hh

package info (click to toggle)
notcurses 3.0.17%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 18,780 kB
  • sloc: ansic: 50,375; cpp: 17,808; python: 1,123; sh: 230; makefile: 35
file content (24 lines) | stat: -rw-r--r-- 429 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef __NCPP_NCSTYLE_HH
#define __NCPP_NCSTYLE_HH

#include <cstdint>

#include <notcurses/notcurses.h>

#include "_flag_enum_operator_helpers.hh"

namespace ncpp
{
	enum class CellStyle : uint32_t
	{
		None      = 0,
		Underline = NCSTYLE_UNDERLINE,
		Bold      = NCSTYLE_BOLD,
		Italic    = NCSTYLE_ITALIC,
		Struck    = NCSTYLE_STRUCK,
		Undercurl = NCSTYLE_UNDERCURL,
	};

	DECLARE_ENUM_FLAG_OPERATORS (CellStyle)
}
#endif