mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-09 17:19:03 -04:00
ncplot: swap NCPLOT_2x1 and NCPLOT_1x1x4
This commit is contained in:
parent
58b7d39b7d
commit
4917603478
@ -13,8 +13,8 @@ notcurses_plot - high level widget for plotting
|
||||
```c
|
||||
typedef enum {
|
||||
NCPLOT_1x1, // full block █
|
||||
NCPLOT_1x1x4, // shaded full blocks █▓▒░
|
||||
NCPLOT_2x1, // full/lower blocks █▄
|
||||
NCPLOT_1x1x4, // shaded full blocks █▓▒░
|
||||
NCPLOT_4x1, // four vert levels █▆▄▂
|
||||
NCPLOT_8x1, // eight vert levels █▇▆▅▄▃▂▁
|
||||
} ncgridgeom_e;
|
||||
|
@ -2472,8 +2472,8 @@ API int ncmenu_destroy(struct ncmenu* n);
|
||||
// states: empty, the three shaded blocks, and the full block.
|
||||
typedef enum {
|
||||
NCPLOT_1x1, // full block █
|
||||
NCPLOT_1x1x4, // shaded full blocks █▓▒░
|
||||
NCPLOT_2x1, // full/(upper|left) blocks █▀
|
||||
NCPLOT_1x1x4, // shaded full blocks █▓▒░
|
||||
//NCPLOT_2x2, // quadrants ▖▘▝▗ ▛ ▜ ▟ ▙ ▘▗ ▖▝
|
||||
NCPLOT_4x1, // four vert/horz levels █▆▄▂ / ▎▌▊█
|
||||
NCPLOT_8x1, // eight vert/horz levels █▇▆▅▄▃▂▁ / ▏▎▍▌▋▊▉█
|
||||
|
@ -412,8 +412,8 @@ void ncplane_translate(const struct ncplane* src, const struct ncplane* dst, int
|
||||
bool ncplane_translate_abs(const struct ncplane* n, int* y, int* x);
|
||||
typedef enum {
|
||||
NCPLOT_1x1, // full block █
|
||||
NCPLOT_1x1x4, // shaded full blocks █▓▒░
|
||||
NCPLOT_2x1, // full/(upper|left) blocks █▀
|
||||
NCPLOT_1x1x4, // shaded full blocks █▓▒░
|
||||
NCPLOT_4x1, // four vert/horz levels █▆▄▂ / ▎▌▊█
|
||||
NCPLOT_8x1, // eight vert/horz levels █▇▆▅▄▃▂▁ / ▏▎▍▌▋▊▉█
|
||||
} ncgridgeom_e;
|
||||
|
@ -5,8 +5,8 @@ static const struct {
|
||||
const wchar_t* egcs;
|
||||
} geomdata[] = {
|
||||
{ .geom = NCPLOT_1x1, .egcs = L"█", },
|
||||
{ .geom = NCPLOT_1x1x4, .egcs = L"▒░▓█", },
|
||||
{ .geom = NCPLOT_2x1, .egcs = L"▄█", },
|
||||
{ .geom = NCPLOT_1x1x4, .egcs = L"▒░▓█", },
|
||||
{ .geom = NCPLOT_4x1, .egcs = L"▂▄▆█", },
|
||||
{ .geom = NCPLOT_8x1, .egcs = L"▁▂▃▄▅▆▇█", },
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user