mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-20 03:25:47 +00:00
plot: remove unused windowbase field
This commit is contained in:
parent
bdfcdf4086
commit
cfdd8c4c5c
@ -156,8 +156,9 @@ typedef struct ncplot {
|
||||
uint64_t minchannel;
|
||||
bool vertical_indep;
|
||||
ncgridgeom_e gridtype;
|
||||
int64_t windowbase; // first valid x value
|
||||
uint64_t rangex; // windowbase + rangex - 1 -> last valid x
|
||||
// requested number of slots. 0 for automatically setting the number of slots
|
||||
// to span the horizontal area.
|
||||
uint64_t rangex;
|
||||
// domain minimum and maximum. if detectdomain is true, these are
|
||||
// progressively enlarged/shrunk to fit the sample set. if not, samples
|
||||
// outside these bounds are counted, but the displayed range covers only this.
|
||||
|
@ -124,7 +124,6 @@ ncplot* ncplot_create(ncplane* n, const ncplot_options* opts){
|
||||
ret->maxy = 0;
|
||||
ret->miny = ~(uint64_t)0ull;
|
||||
}
|
||||
ret->windowbase = 0;
|
||||
ret->slotstart = 0;
|
||||
ret->slotx = 0;
|
||||
redraw_plot(ret);
|
||||
|
Loading…
Reference in New Issue
Block a user