Question
How to change needle as image file instead of shape point?
Hello,
I tested Gauge widget.
So, I modified source code to change needle shape in Gauge.hpp.
// triangle
original : ShapePoint<float> points[3] = { { -2.5f, 0}, {0.0f, -70}, {2.5f, 0} };
// rectangle
modify : ShapePoint<float> points[4] = { { -1.0f, 0}, {-1.0f, -90}, {1.0f, -90}, {1.0f, 0} };
It was good.
But, I want to apply image file instead of shape point.
How to change needle as image file?
Let me know it!
Best regards,
Thanks.
