mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-18 03:25:55 +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
25 lines
715 B
C++
25 lines
715 B
C++
#ifndef __NCPP_NCBOX_HH
|
|
#define __NCPP_NCBOX_HH
|
|
|
|
#include <notcurses/notcurses.h>
|
|
|
|
namespace ncpp
|
|
{
|
|
struct NCBox
|
|
{
|
|
static constexpr unsigned MaskTop = NCBOXMASK_TOP;
|
|
static constexpr unsigned MaskRight = NCBOXMASK_RIGHT;
|
|
static constexpr unsigned MaskBottom = NCBOXMASK_BOTTOM;
|
|
static constexpr unsigned MaskLeft = NCBOXMASK_LEFT;
|
|
|
|
static constexpr unsigned GradTop = NCBOXGRAD_TOP;
|
|
static constexpr unsigned GradRight = NCBOXGRAD_RIGHT;
|
|
static constexpr unsigned GradBottom = NCBOXGRAD_BOTTOM;
|
|
static constexpr unsigned GradLeft = NCBOXGRAD_LEFT;
|
|
|
|
static constexpr unsigned CornerMask = NCBOXCORNER_MASK;
|
|
static constexpr unsigned CornerShift = NCBOXCORNER_SHIFT;
|
|
};
|
|
}
|
|
#endif
|