notcurses/include/ncpp/NCBox.hh
Nick Black e6637e81cc
Prep for serious rusting #101 (#354)
* 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
2020-02-18 12:36:16 -05:00

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