Skip to content

ImageSpeedometer can't call drawDefMinMaxSpeedPosition without overriding class #246

@agronick

Description

@agronick

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bug reportParticipants report a bug

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions