SpeedView icon indicating copy to clipboard operation
SpeedView copied to clipboard

ImageSpeedometer can't call drawDefMinMaxSpeedPosition without overriding class

Open agronick opened this issue 2 years ago • 1 comments

Describe the bug This seems like an oversight. There is no way to set min and max on an image speedometer without overriding the class. SpeedView has this code in updateBackgroundBitmap.

        if (tickNumber > 0)
            drawTicks(c)
        else
            drawDefMinMaxSpeedPosition(c)

ImageSpeedometer just has

        drawMarks(c)
        drawTicks(c)

drawDefMinMaxSpeedPosition is protected so you can't call it without overriding the class.

agronick avatar Oct 16 '23 15:10 agronick

ImageSpeedometer doesn't have this functionality

anastr avatar Oct 16 '23 20:10 anastr