Notcurses 3.0.13
a blingful library for TUIs and character graphics
Loading...
Searching...
No Matches
NCBox.hh
Go to the documentation of this file.
1#ifndef __NCPP_NCBOX_HH
2#define __NCPP_NCBOX_HH
3
5
6namespace ncpp
7{
8 struct NCBox
9 {
10 static constexpr unsigned MaskTop = NCBOXMASK_TOP;
11 static constexpr unsigned MaskRight = NCBOXMASK_RIGHT;
12 static constexpr unsigned MaskBottom = NCBOXMASK_BOTTOM;
13 static constexpr unsigned MaskLeft = NCBOXMASK_LEFT;
14
15 static constexpr unsigned GradTop = NCBOXGRAD_TOP;
16 static constexpr unsigned GradRight = NCBOXGRAD_RIGHT;
17 static constexpr unsigned GradBottom = NCBOXGRAD_BOTTOM;
18 static constexpr unsigned GradLeft = NCBOXGRAD_LEFT;
19
20 static constexpr unsigned CornerMask = NCBOXCORNER_MASK;
21 static constexpr unsigned CornerShift = NCBOXCORNER_SHIFT;
22 };
23}
24#endif
#define NCBOXMASK_TOP
Definition notcurses.h:2601
#define NCBOXGRAD_RIGHT
Definition notcurses.h:2606
#define NCBOXCORNER_SHIFT
Definition notcurses.h:2610
#define NCBOXMASK_LEFT
Definition notcurses.h:2604
#define NCBOXGRAD_BOTTOM
Definition notcurses.h:2607
#define NCBOXGRAD_LEFT
Definition notcurses.h:2608
#define NCBOXMASK_BOTTOM
Definition notcurses.h:2603
#define NCBOXCORNER_MASK
Definition notcurses.h:2609
#define NCBOXMASK_RIGHT
Definition notcurses.h:2602
#define NCBOXGRAD_TOP
Definition notcurses.h:2605
static constexpr unsigned MaskTop
Definition NCBox.hh:10
static constexpr unsigned GradTop
Definition NCBox.hh:15
static constexpr unsigned MaskRight
Definition NCBox.hh:11
static constexpr unsigned CornerShift
Definition NCBox.hh:21
static constexpr unsigned GradLeft
Definition NCBox.hh:18
static constexpr unsigned GradBottom
Definition NCBox.hh:17
static constexpr unsigned GradRight
Definition NCBox.hh:16
static constexpr unsigned CornerMask
Definition NCBox.hh:20
static constexpr unsigned MaskLeft
Definition NCBox.hh:13
static constexpr unsigned MaskBottom
Definition NCBox.hh:12