Comment-out unused code.
This commit is contained in:
@@ -43,7 +43,7 @@ static void _reservePosition(int m1, int m2, uint8_t *pMask, int maxLen);
|
|||||||
static void _probablyDrawGridLineForXTick(const AQDG_GRAPH *gr, int x, uint8_t tickDrawFlags);
|
static void _probablyDrawGridLineForXTick(const AQDG_GRAPH *gr, int x, uint8_t tickDrawFlags);
|
||||||
static void _probablyDrawMarkForXTick(const AQDG_GRAPH *gr, int x, int y, uint8_t tickDrawFlags, int level);
|
static void _probablyDrawMarkForXTick(const AQDG_GRAPH *gr, int x, int y, uint8_t tickDrawFlags, int level);
|
||||||
|
|
||||||
static int _getMaxTickLabelWidthForLevel(const AQDG_GRAPH *gr, const AQDG_GRAPH_TICK_LIST *tl, int level);
|
/*static int _getMaxTickLabelWidthForLevel(const AQDG_GRAPH *gr, const AQDG_GRAPH_TICK_LIST *tl, int level);*/
|
||||||
static int _calcDistBetweenFirstTwoTicksOfLevel(const AQDG_GRAPH *gr, const AQDG_GRAPH_TICK_LIST *tl, int level);
|
static int _calcDistBetweenFirstTwoTicksOfLevel(const AQDG_GRAPH *gr, const AQDG_GRAPH_TICK_LIST *tl, int level);
|
||||||
|
|
||||||
|
|
||||||
@@ -143,11 +143,11 @@ void _drawXTicks(AQDG_GRAPH *gr)
|
|||||||
/* handle each level */
|
/* handle each level */
|
||||||
for (level=1; level<MAX_TICK_LEVELS+1; level++) {
|
for (level=1; level<MAX_TICK_LEVELS+1; level++) {
|
||||||
uint8_t tickDrawFlags=0;
|
uint8_t tickDrawFlags=0;
|
||||||
int maxWidth=0;
|
//int maxWidth=0;
|
||||||
int dist;
|
int dist;
|
||||||
int every=1;
|
int every=1;
|
||||||
|
|
||||||
maxWidth=_getMaxTickLabelWidthForLevel(gr, tl, level);
|
//maxWidth=_getMaxTickLabelWidthForLevel(gr, tl, level);
|
||||||
|
|
||||||
/* check medium width for the current level */
|
/* check medium width for the current level */
|
||||||
dist=_calcDistBetweenFirstTwoTicksOfLevel(gr, tl, level);
|
dist=_calcDistBetweenFirstTwoTicksOfLevel(gr, tl, level);
|
||||||
@@ -307,6 +307,7 @@ void _probablyDrawMarkForXTick(const AQDG_GRAPH *gr, int x, int y, uint8_t tickD
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#if 0
|
||||||
int _getMaxTickLabelWidthForLevel(const AQDG_GRAPH *gr, const AQDG_GRAPH_TICK_LIST *tl, int level)
|
int _getMaxTickLabelWidthForLevel(const AQDG_GRAPH *gr, const AQDG_GRAPH_TICK_LIST *tl, int level)
|
||||||
{
|
{
|
||||||
AQDG_GRAPH_TICK *t;
|
AQDG_GRAPH_TICK *t;
|
||||||
@@ -341,6 +342,7 @@ int _getMaxTickLabelWidthForLevel(const AQDG_GRAPH *gr, const AQDG_GRAPH_TICK_LI
|
|||||||
|
|
||||||
return maxWidth;
|
return maxWidth;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user