Skip to content

Commit a6bcf4e

Browse files
committed
Remove unused constant defines of graph meter code
Specifically 'PIXPERROW_*' and 'GraphMeterMode_dots*' constants. They were commented out rather than removed in the previous commit (for ease of code reviewing). Now this commit removes the constant defines for good.
1 parent cafdd6e commit a6bcf4e

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

Meter.c

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -230,28 +230,6 @@ static void BarMeterMode_draw(Meter* this, int x, int y, int w) {
230230

231231
/* ---------- GraphMeterMode ---------- */
232232

233-
#if 0 /* Used in old graph meter drawing code; to be removed */
234-
#ifdef HAVE_LIBNCURSESW
235-
236-
#define PIXPERROW_UTF8 4
237-
static const char* const GraphMeterMode_dotsUtf8[] = {
238-
/*00*/" ", /*01*/"⢀", /*02*/"⢠", /*03*/"⢰", /*04*/ "⢸",
239-
/*10*/"⡀", /*11*/"⣀", /*12*/"⣠", /*13*/"⣰", /*14*/ "⣸",
240-
/*20*/"⡄", /*21*/"⣄", /*22*/"⣤", /*23*/"⣴", /*24*/ "⣼",
241-
/*30*/"⡆", /*31*/"⣆", /*32*/"⣦", /*33*/"⣶", /*34*/ "⣾",
242-
/*40*/"⡇", /*41*/"⣇", /*42*/"⣧", /*43*/"⣷", /*44*/ "⣿"
243-
};
244-
245-
#endif
246-
247-
#define PIXPERROW_ASCII 2
248-
static const char* const GraphMeterMode_dotsAscii[] = {
249-
/*00*/" ", /*01*/".", /*02*/":",
250-
/*10*/".", /*11*/".", /*12*/":",
251-
/*20*/":", /*21*/":", /*22*/":"
252-
};
253-
#endif
254-
255233
static void GraphMeterMode_reallocateGraphBuffer(Meter* this, const GraphDrawContext* context, size_t nValues) {
256234
GraphData* data = &this->drawData;
257235

0 commit comments

Comments
 (0)