2020-01-07 22:51:34 +00:00
|
|
|
#ifndef __NCPP_NCBOX_HH
|
|
|
|
#define __NCPP_NCBOX_HH
|
|
|
|
|
2020-02-18 17:36:16 +00:00
|
|
|
#include <notcurses/notcurses.h>
|
2020-01-07 22:51:34 +00:00
|
|
|
|
|
|
|
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
|