mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-06 03:20:26 +00:00
e6637e81cc
* CMake: add USE_PANDOC, USE_DOXYGEN options #101 * README: mention rust * start integrating rust into build #101 * CMake: add USE_NETWORK option for cargo * Debian: build-dep on doxygen * rust: colloquy checks in Cargo.lock * extract NCKEY defines into their own include * colloquy: use clap to parse CLI args * CMake: unify option namespace * Python: update include path * Rust: fix up --frozen workings for -DUSE_NETWORK=off * CMake: abstract out colloquy a little * Sync direct.hh to the New Way
29 lines
545 B
C++
29 lines
545 B
C++
#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,
|
|
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
|